Date: Saturday, September 16, 2017 @ 09:07:31 Author: arojas Revision: 257754
archrelease: copy trunk to community-any Added: python-autobahn/repos/community-any/PKGBUILD (from rev 257753, python-autobahn/trunk/PKGBUILD) Deleted: python-autobahn/repos/community-any/PKGBUILD ----------+ PKGBUILD | 102 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 51 insertions(+), 51 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-09-16 09:07:07 UTC (rev 257753) +++ PKGBUILD 2017-09-16 09:07:31 UTC (rev 257754) @@ -1,51 +0,0 @@ -# $Id$ -# Maintainer: Anatol Pomozov - -pkgbase=python-autobahn -pkgname=(python-autobahn python2-autobahn) -pkgver=17.9.1 -pkgrel=1 -pkgdesc='Real-time framework for Web, Mobile & Internet of Things' -arch=(any) -url='http://autobahn.ws/python/' -license=(MIT) -makedepends=(python-setuptools python2-setuptools python-twisted python-six python-txaio python2-twisted python2-six python2-txaio) -source=(https://pypi.io/packages/source/a/autobahn/autobahn-$pkgver.tar.gz) -sha256sums=('01378f51a9ff0c99e64482dbb69a39e617f9b520bfeb5f708edd5e36f5899df4') - -prepare() { - cp -a autobahn-$pkgver{,-py2} -} - -build() { - cd "$srcdir/autobahn-$pkgver" - python setup.py build - - cd "$srcdir/autobahn-$pkgver-py2" - python2 setup.py build -} - -check() { - cd "$srcdir/autobahn-$pkgver" - #It requires python-unittest2 in [community] - #python setup.py test - - cd "$srcdir/autobahn-$pkgver-py2" - #python2 setup.py test -} - -package_python-autobahn() { - depends=(python python-twisted python-six python-txaio) - - cd "$srcdir/autobahn-$pkgver" - python setup.py install --root="$pkgdir" --optimize=1 - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} - -package_python2-autobahn() { - depends=(python2 python2-twisted python2-six python2-txaio) - - cd "$srcdir/autobahn-$pkgver-py2" - python2 setup.py install --root="$pkgdir" --optimize=1 - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: python-autobahn/repos/community-any/PKGBUILD (from rev 257753, python-autobahn/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-09-16 09:07:31 UTC (rev 257754) @@ -0,0 +1,51 @@ +# $Id$ +# Maintainer: Anatol Pomozov + +pkgbase=python-autobahn +pkgname=(python-autobahn python2-autobahn) +pkgver=17.9.2 +pkgrel=1 +pkgdesc='Real-time framework for Web, Mobile & Internet of Things' +arch=(any) +url='http://autobahn.ws/python/' +license=(MIT) +makedepends=(python-setuptools python2-setuptools python-twisted python-six python-txaio python2-twisted python2-six python2-txaio) +source=(https://pypi.io/packages/source/a/autobahn/autobahn-$pkgver.tar.gz) +sha256sums=('15758e1f507d191a0b56dca911eba780d12e603e0a4567bd2ec0ec08bf08cd4c') + +prepare() { + cp -a autobahn-$pkgver{,-py2} +} + +build() { + cd "$srcdir/autobahn-$pkgver" + python setup.py build + + cd "$srcdir/autobahn-$pkgver-py2" + python2 setup.py build +} + +check() { + cd "$srcdir/autobahn-$pkgver" + #It requires python-unittest2 in [community] + #python setup.py test + + cd "$srcdir/autobahn-$pkgver-py2" + #python2 setup.py test +} + +package_python-autobahn() { + depends=(python python-twisted python-six python-txaio) + + cd "$srcdir/autobahn-$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +package_python2-autobahn() { + depends=(python2 python2-twisted python2-six python2-txaio) + + cd "$srcdir/autobahn-$pkgver-py2" + python2 setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}