Date: Tuesday, May 29, 2018 @ 22:36:46 Author: foxboron Revision: 333214
archrelease: copy trunk to community-any Added: python-autobahn/repos/community-any/PKGBUILD (from rev 333213, python-autobahn/trunk/PKGBUILD) Deleted: python-autobahn/repos/community-any/PKGBUILD ----------+ PKGBUILD | 104 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 53 insertions(+), 51 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-05-29 22:36:31 UTC (rev 333213) +++ PKGBUILD 2018-05-29 22:36:46 UTC (rev 333214) @@ -1,51 +0,0 @@ -# $Id$ -# Maintainer: Anatol Pomozov - -pkgbase=python-autobahn -pkgname=(python-autobahn python2-autobahn) -pkgver=18.5.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=('f027887715628d82ba83af218eb0483ed70cc1e9a277df318be3b5346f2c115c') - -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 333213, python-autobahn/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-05-29 22:36:46 UTC (rev 333214) @@ -0,0 +1,53 @@ +# $Id$ +# Maintainer: Morten Linderud +# Maintainer: Anatol Pomozov + +pkgbase=python-autobahn +pkgname=(python-autobahn python2-autobahn) +pkgver=18.5.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=('fc88885b44fd2f42d962d7ea6a1c9baf3d1551adddb92acc861be17418183fa0') + +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" +}