mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
39 lines
1,010 B
Text
39 lines
1,010 B
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=py3-autobahn
|
|
pkgver=22.12.1
|
|
pkgrel=0
|
|
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 --skip-build --root="$pkgdir"
|
|
|
|
find "$pkgdir" -name "test" -type d -exec rm -r {} +
|
|
}
|
|
|
|
sha512sums="
|
|
10b3eec220a78b21aa393c9a721a9efb06b2623910ebb19dcf58c3966912cb9c5bbe5fc04d9f1072711a209a6a0168d7ba3a6147c1fc9a7db46bd528cc380dd0 autobahn-22.12.1.tar.gz
|
|
"
|