[arch-commits] Commit in python-txaio/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun May 21 06:49:12 UTC 2017
Date: Sunday, May 21, 2017 @ 06:49:11
Author: felixonmars
Revision: 228872
archrelease: copy trunk to community-any
Added:
python-txaio/repos/community-any/PKGBUILD
(from rev 228871, python-txaio/trunk/PKGBUILD)
Deleted:
python-txaio/repos/community-any/PKGBUILD
----------+
PKGBUILD | 106 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 56 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-05-21 06:48:38 UTC (rev 228871)
+++ PKGBUILD 2017-05-21 06:49:11 UTC (rev 228872)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: Anatol Pomozov
-
-pkgbase=python-txaio
-pkgname=(python-txaio python2-txaio)
-pkgver=2.6.1
-pkgrel=1
-pkgdesc='Utilities to support code that runs unmodified on Twisted and asyncio'
-arch=(any)
-url='https://github.com/tavendo/txaio'
-license=(MIT)
-makedepends=(python-setuptools python2-setuptools python-twisted python2-twisted)
-source=(https://pypi.io/packages/source/t/txaio/txaio-$pkgver.tar.gz)
-sha1sums=('791d5ce2f4f0ab7188881c5eb7aedcb763b3afd1')
-
-prepare() {
- cp -a txaio-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir/txaio-$pkgver"
- python setup.py build
-
- cd "$srcdir/txaio-$pkgver-py2"
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir/txaio-$pkgver"
- python setup.py test
-
- cd "$srcdir/txaio-$pkgver-py2"
- python2 setup.py test
-}
-
-package_python-txaio() {
- depends=(python python-six python-twisted)
-
- cd "$srcdir/txaio-$pkgver"
- python setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_python2-txaio() {
- depends=(python2 python2-six python2-twisted)
-
- cd "$srcdir/txaio-$pkgver-py2"
- python2 setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
Copied: python-txaio/repos/community-any/PKGBUILD (from rev 228871, python-txaio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-05-21 06:49:11 UTC (rev 228872)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Anatol Pomozov
+
+pkgbase=python-txaio
+pkgname=(python-txaio python2-txaio)
+pkgver=2.7.1
+pkgrel=1
+pkgdesc='Compatibility API between asyncio/Twisted/Trollius'
+arch=('any')
+url='https://github.com/tavendo/txaio'
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-twisted' 'python2-twisted')
+source=("https://pypi.io/packages/source/t/txaio/txaio-$pkgver.tar.gz")
+sha512sums=('d77a8b5e8fc21be0bef43f2a6795229456a351abc1a5eb6d2b7de0da0a58e67a228cb06d1a7962efcc760099ef5df94e9421875ea5628985260911efc7deb85e')
+
+prepare() {
+ cp -a txaio-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/txaio-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/txaio-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/txaio-$pkgver
+ python setup.py test
+
+ cd "$srcdir"/txaio-$pkgver-py2
+ python2 setup.py test
+}
+
+package_python-txaio() {
+ depends=('python-six')
+
+ cd txaio-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+ rm "$pkgdir"/usr/LICENSE
+}
+
+package_python2-txaio() {
+ depends=('python2-six')
+
+ cd txaio-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+ rm "$pkgdir"/usr/LICENSE
+}
More information about the arch-commits
mailing list