Skip to content
Snippets Groups Projects
Commit f4b3520e authored by Bart Ribbers's avatar Bart Ribbers
Browse files

community/py3-autobahn: upgrade to 23.6.2

parent 426b27ff
No related branches found
No related tags found
1 merge request!48346community/py3-autobahn: upgrade to 23.6.2
Pipeline #168896 canceled
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-autobahn
pkgver=22.12.1
pkgrel=1
pkgver=23.6.2
pkgrel=0
pkgdesc="WebSocket client & server library, WAMP real-time framework"
url="https://crossbar.io/autobahn/"
arch="noarch"
......@@ -12,9 +12,12 @@ depends="
py3-twisted
py3-sphinxcontrib-images
py3-pynacl
python3
"
makedepends="py3-setuptools"
makedepends="
py3-gpep517
py3-setuptools
py3-wheel
"
checkdepends="py3-pytest"
subpackages="$pkgname-pyc"
source="https://pypi.python.org/packages/source/a/autobahn/autobahn-$pkgver.tar.gz"
......@@ -22,19 +25,22 @@ options="!check" # Fail to run https://github.com/crossbario/autobahn-python/iss
builddir="$srcdir/autobahn-$pkgver"
build() {
python3 setup.py build
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
check() {
PYTHONPATH="$PWD/build/lib" pytest
python3 -m venv --clear --without-pip --system-site-packages .testenv
.testenv/bin/python3 -m installer .dist/*.whl
.testenv/bin/python3 -m pytest
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
find "$pkgdir" -name "test" -type d -exec rm -r {} +
python3 -m installer -d "$pkgdir" \
.dist/*.whl
}
sha512sums="
10b3eec220a78b21aa393c9a721a9efb06b2623910ebb19dcf58c3966912cb9c5bbe5fc04d9f1072711a209a6a0168d7ba3a6147c1fc9a7db46bd528cc380dd0 autobahn-22.12.1.tar.gz
5935203277d17aab3f80e6edf700ff173fe7e23622b9d2617f91e080f56b078f947f907289f008b5eb21b1346142274616baad4a36629f49dafe409d6fdb931a autobahn-23.6.2.tar.gz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment