[arch-commits] Commit in python-autobahn/trunk (PKGBUILD)
Chih-Hsuan Yen
yan12125 at archlinux.org
Mon Mar 25 08:12:56 UTC 2019
Date: Monday, March 25, 2019 @ 08:12:56
Author: yan12125
Revision: 443410
upgpkg: python-autobahn 19.3.3-1
* Enable the SSE2/SSE4.1-based NVX extension. It's not enabled by default in
upstream setup.py as the built wheel will no longer be universal [1]. This
is not an issue for distributions like Arch Linux.
[1] https://github.com/crossbario/autobahn-python/blob/v19.3.2/setup.py#L142
Modified:
python-autobahn/trunk/PKGBUILD
----------+
PKGBUILD | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-25 08:03:49 UTC (rev 443409)
+++ PKGBUILD 2019-03-25 08:12:56 UTC (rev 443410)
@@ -3,13 +3,13 @@
# Maintainer: Anatol Pomozov
pkgname=python-autobahn
-pkgver=19.3.2
+pkgver=19.3.3
pkgrel=1
pkgdesc='Real-time framework for Web, Mobile & Internet of Things'
-arch=(any)
+arch=(x86_64)
url='https://crossbar.io/autobahn/'
license=(MIT)
-depends=(python-twisted python-six python-txaio python-wsaccel)
+depends=(python-cffi python-twisted python-six python-txaio python-wsaccel)
makedepends=(python-setuptools python-argon2_cffi python-msgpack python-passlib python-pynacl)
checkdepends=(python-mock python-pytest python-pytest-asyncio)
optdepends=(
@@ -21,7 +21,7 @@
source=(https://pypi.io/packages/source/a/autobahn/autobahn-$pkgver.tar.gz
skip-test-missing-serializers.patch)
-sha256sums=('70a221d5e01923ea81457de04a3270ea2de376a759345ec4e8693db216c603a9'
+sha256sums=('e92f40ab26fb51672c25cd301ae79a549c6ff7748effe6abdea2ef31d5363a4f'
'2d4ec4300f98cddd13c3a4d70e6ae4934a98f17b04628cadfd18654172d04f92')
prepare() {
@@ -31,17 +31,17 @@
build() {
cd "$srcdir/autobahn-$pkgver"
- python setup.py build
+ AUTOBAHN_USE_NVX=1 python setup.py build
}
check() {
cd "$srcdir/autobahn-$pkgver"
- USE_TWISTED=1 PYTHONPATH=. pytest -v autobahn
- USE_ASYNCIO=1 PYTHONPATH=. pytest -v autobahn
+ USE_TWISTED=1 PYTHONPATH=.:build/lib.linux-$CARCH-3.7 pytest -v autobahn
+ USE_ASYNCIO=1 PYTHONPATH=.:build/lib.linux-$CARCH-3.7 pytest -v autobahn
}
package() {
cd "$srcdir/autobahn-$pkgver"
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ AUTOBAHN_USE_NVX=1 python setup.py install --root="$pkgdir" --optimize=1 --skip-build
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
More information about the arch-commits
mailing list