mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
47 lines
1.1 KiB
Plaintext
47 lines
1.1 KiB
Plaintext
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=py3-autobahn
|
|
pkgver=23.6.2
|
|
pkgrel=1
|
|
pkgdesc="WebSocket client & server library, WAMP real-time framework"
|
|
url="https://crossbar.io/autobahn/"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="
|
|
py3-txaio
|
|
py3-twisted
|
|
py3-sphinxcontrib-images
|
|
py3-pynacl
|
|
"
|
|
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"
|
|
options="!check" # Fail to run https://github.com/crossbario/autobahn-python/issues/1117
|
|
builddir="$srcdir/autobahn-$pkgver"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
python3 -m venv --clear --without-pip --system-site-packages .testenv
|
|
.testenv/bin/python3 -m installer .dist/*.whl
|
|
.testenv/bin/python3 -m pytest
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
.dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
5935203277d17aab3f80e6edf700ff173fe7e23622b9d2617f91e080f56b078f947f907289f008b5eb21b1346142274616baad4a36629f49dafe409d6fdb931a autobahn-23.6.2.tar.gz
|
|
"
|