Date: Friday, October 19, 2018 @ 21:49:24 Author: foxboron Revision: 397952
archrelease: copy trunk to community-any Added: python-autobahn/repos/community-any/PKGBUILD (from rev 397951, python-autobahn/trunk/PKGBUILD) Deleted: python-autobahn/repos/community-any/PKGBUILD ----------+ PKGBUILD | 104 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 52 insertions(+), 52 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-10-19 21:49:14 UTC (rev 397951) +++ PKGBUILD 2018-10-19 21:49:24 UTC (rev 397952) @@ -1,52 +0,0 @@ -# Maintainer: Morten Linderud <foxbo...@archlinux.org> -# Maintainer: Anatol Pomozov - -pkgbase=python-autobahn -pkgname=(python-autobahn python2-autobahn) -pkgver=18.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) -checkdepends=(python2-unittest2) -source=(https://pypi.io/packages/source/a/autobahn/autobahn-$pkgver.tar.gz) -sha256sums=('829fbeb08b7e0f7e8cd14d9d169043a861075c3f6e5e2739d564dc985b5e7015') - -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 --skip-build - 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 --skip-build - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: python-autobahn/repos/community-any/PKGBUILD (from rev 397951, python-autobahn/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-10-19 21:49:24 UTC (rev 397952) @@ -0,0 +1,52 @@ +# Maintainer: Morten Linderud <foxbo...@archlinux.org> +# Maintainer: Anatol Pomozov + +pkgbase=python-autobahn +pkgname=(python-autobahn python2-autobahn) +pkgver=18.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) +checkdepends=(python2-unittest2) +source=(https://pypi.io/packages/source/a/autobahn/autobahn-$pkgver.tar.gz) +sha256sums=('d98b924f06865700116ee616027e4a6d678004a7b44e0d01cb262eab333112d6') + +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 --skip-build + 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 --skip-build + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}