[arch-commits] Commit in python-autobahn/repos (2 files)
Chih-Hsuan Yen
yan12125 at archlinux.org
Thu Jun 6 11:29:30 UTC 2019
Date: Thursday, June 6, 2019 @ 11:29:29
Author: yan12125
Revision: 477448
archrelease: copy trunk to community-testing-x86_64
Added:
python-autobahn/repos/community-testing-x86_64/
python-autobahn/repos/community-testing-x86_64/PKGBUILD
(from rev 477447, python-autobahn/trunk/PKGBUILD)
----------+
PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
Copied: python-autobahn/repos/community-testing-x86_64/PKGBUILD (from rev 477447, python-autobahn/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2019-06-06 11:29:29 UTC (rev 477448)
@@ -0,0 +1,45 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+# Maintainer: Anatol Pomozov
+
+pkgname=python-autobahn
+pkgver=19.6.2
+pkgrel=1
+pkgdesc='Real-time framework for Web, Mobile & Internet of Things'
+arch=(x86_64)
+url='https://crossbar.io/autobahn/'
+license=(MIT)
+depends=(python-cffi python-twisted python-six python-txaio python-wsaccel
+ python-setuptools python-cryptography)
+makedepends=(python-argon2_cffi python-cbor python-flatbuffers
+ python-msgpack python-passlib python-pynacl python-ubjson)
+checkdepends=(python-mock python-pytest python-pytest-asyncio)
+optdepends=(
+ 'python-cbor: CBOR serializer support'
+ 'python-flatbuffers: FlatBuffers serializer support'
+ 'python-msgpack: MsgPack serializer support'
+ 'python-ubjson: UBJSON serializer support'
+ 'python-argon2_cffi: WAMP-SCRAM authentication support'
+ 'python-passlib: WAMP-SCRAM authentication support'
+ 'python-pynacl: WAMP-cryptosign support'
+)
+
+source=(https://files.pythonhosted.org/packages/source/a/autobahn/autobahn-$pkgver.tar.gz)
+sha256sums=('48c2d737d33cfe1d37124db984577c5d4f44e116d05a9f8b6505721413ff9b22')
+
+build() {
+ cd "$srcdir/autobahn-$pkgver"
+ AUTOBAHN_USE_NVX=1 python setup.py build
+}
+
+check() {
+ cd "$srcdir/autobahn-$pkgver"
+ 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"
+ 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