diff options
author | Jose Riha | 2020-01-25 23:45:36 +0100 |
---|---|---|
committer | Jose Riha | 2020-01-25 23:45:36 +0100 |
commit | b4b4b16dc11ce4d00c7bafdd7599c91a81b05886 (patch) | |
tree | 571b3a1b4e734302c5b216ed636e1c742c122199 /PKGBUILD | |
parent | 90d300d386b8ff41066cc1e3459b91ceed3cb234 (diff) | |
download | aur-python2-autobahn.tar.gz |
Update
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 20 |
1 files changed, 4 insertions, 16 deletions
@@ -6,8 +6,8 @@ # Contributor: Anatol Pomozov pkgname=python2-autobahn -pkgver=19.6.2 -pkgrel=3 +pkgver=19.11.2 +pkgrel=1 pkgdesc='Real-time framework for Web, Mobile & Internet of Things' arch=(any) url='https://crossbar.io/autobahn/' @@ -19,27 +19,15 @@ optdepends=( 'python2-msgpack: MsgPack serializer support' 'python2-pynacl: WAMP-cryptosign support' ) -source=(https://pypi.io/packages/source/a/autobahn/autobahn-$pkgver.tar.gz - skip-test-missing-serializers.patch) -sha256sums=('48c2d737d33cfe1d37124db984577c5d4f44e116d05a9f8b6505721413ff9b22' - '2d4ec4300f98cddd13c3a4d70e6ae4934a98f17b04628cadfd18654172d04f92') +source=(https://pypi.io/packages/source/a/autobahn/autobahn-$pkgver.tar.gz) +sha256sums=('64fa063b3a1ab16588037d4713f13f66167f7ad2a2e95fd675decbc3bc85c089') -prepare() { - cd "$srcdir/autobahn-$pkgver" - patch -Np1 -i ../skip-test-missing-serializers.patch -} build() { cd "$srcdir/autobahn-$pkgver" AUTOBAHN_USE_NVX=1 python2 setup.py build } -check() { - cd "$srcdir/autobahn-$pkgver" - USE_TWISTED=1 PYTHONPATH=.:build/lib.linux-$CARCH-3.7 pytest2 -v autobahn - USE_ASYNCIO=1 PYTHONPATH=.:build/lib.linux-$CARCH-3.7 pytest2 -v autobahn -} - package() { cd "$srcdir/autobahn-$pkgver" |