1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-22 10:45:15 +03:00
aports/community/py3-wsproto/APKBUILD
2022-11-22 20:33:35 +01:00

30 lines
811 B
Text

# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=py3-wsproto
pkgver=1.2.0
pkgrel=1
pkgdesc="Sans-IO WebSocket protocol implementation"
url="https://github.com/python-hyper/wsproto"
license="MIT"
arch="noarch"
depends="python3 py3-h11"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="https://github.com/python-hyper/wsproto/archive/$pkgver/py3-wsproto-$pkgver.tar.gz"
builddir="$srcdir/wsproto-$pkgver"
build() {
python3 setup.py build
}
check() {
PYTHONPATH="$PWD/build/lib" pytest
}
package() {
python3 setup.py install --root="$pkgdir" --skip-build
}
sha512sums="
0c4126f5d253d484f652ecb6d99e1f6cb51ad6558a6db5c406e9d3bdb036293ea3da749ef2c87da5b779322ec8c50f125533b604324db81a3ca43c5d97b3f6e1 py3-wsproto-1.2.0.tar.gz
"