[arch-commits] Commit in python-autobahn/repos/community-x86_64 (PKGBUILD PKGBUILD)
Chih-Hsuan Yen
yan12125 at archlinux.org
Fri Aug 2 07:32:03 UTC 2019
Date: Friday, August 2, 2019 @ 07:32:02
Author: yan12125
Revision: 496962
archrelease: copy trunk to community-x86_64
Added:
python-autobahn/repos/community-x86_64/PKGBUILD
(from rev 496961, python-autobahn/trunk/PKGBUILD)
Deleted:
python-autobahn/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 96 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 48 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-08-02 07:29:08 UTC (rev 496961)
+++ PKGBUILD 2019-08-02 07:32:02 UTC (rev 496962)
@@ -1,48 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
-# Maintainer: Anatol Pomozov
-
-pkgname=python-autobahn
-pkgver=19.8.1
-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=('294e7381dd54e73834354832604ae85567caf391c39363fed0ea2bfa86aa4304')
-
-build() {
- cd "$srcdir/autobahn-$pkgver"
- AUTOBAHN_USE_NVX=1 python setup.py build
-}
-
-check() {
- cd "$srcdir/autobahn-$pkgver"
- pyver=$(python -c "import sys; print('{}.{}'.format(*sys.version_info[:2]))")
- # test_depleting checks whether the entropy on the running machine can be depleted or not.
- # Unrelated to autobahn and makes the test suite flaky
- USE_TWISTED=1 PYTHONPATH=.:build/lib.linux-$CARCH-$pyver pytest -v autobahn -k 'not test_depleting'
- USE_ASYNCIO=1 PYTHONPATH=.:build/lib.linux-$CARCH-$pyver pytest -v autobahn -k 'not test_depleting'
-}
-
-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"
-}
Copied: python-autobahn/repos/community-x86_64/PKGBUILD (from rev 496961, python-autobahn/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-08-02 07:32:02 UTC (rev 496962)
@@ -0,0 +1,48 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+# Maintainer: Anatol Pomozov
+
+pkgname=python-autobahn
+pkgver=19.8.1
+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=('294e7381dd54e73834354832604ae85567caf391c39363fed0ea2bfa86aa4304')
+
+build() {
+ cd "$srcdir/autobahn-$pkgver"
+ AUTOBAHN_USE_NVX=1 python setup.py build
+}
+
+check() {
+ cd "$srcdir/autobahn-$pkgver"
+ pyver=$(python -c "import sys; print('{}.{}'.format(*sys.version_info[:2]))")
+ # test_depleting checks whether the entropy on the running machine can be depleted or not.
+ # Unrelated to autobahn and makes the test suite flaky
+ USE_TWISTED=1 PYTHONPATH=.:build/lib.linux-$CARCH-$pyver pytest -v autobahn -k 'not test_depleting'
+ USE_ASYNCIO=1 PYTHONPATH=.:build/lib.linux-$CARCH-$pyver pytest -v autobahn -k 'not test_depleting'
+}
+
+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