# Contributor: Michał Polański # Maintainer: Michał Polański pkgname=py3-wsproto pkgver=1.2.0 pkgrel=2 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" subpackages="$pkgname-pyc" 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 "