mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
37 lines
1,007 B
Text
37 lines
1,007 B
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=py3-autobahn
|
|
pkgver=21.3.1
|
|
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
|
|
python3
|
|
"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pytest"
|
|
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() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
PYTHONPATH="$PWD/build/lib" pytest
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
|
|
find "$pkgdir" -name "test" -type d -exec rm -r {} +
|
|
}
|
|
|
|
sha512sums="dd6bf6eba6f2880860c6fa42e3925bb15d36bfb9d2354ddeb0165972848e81a308723b7f9dcd6ec3426b6286f71cb2da453590810e5d891523d92acf9fd64c52 autobahn-21.3.1.tar.gz"
|