# Contributor: arx # Maintainer: arx pkgname=py3-brotlipy _pkgname=brotlipy pkgver=0.7.0 pkgrel=5 pkgdesc="Python bindings for the Brotli compression library" options="!check" # Tests fail with new pytest url="https://github.com/python-hyper/brotlicffi" arch="all" license="MIT" depends="python3" makedepends="py3-setuptools python3-dev py3-cffi" checkdepends="py3-pytest py3-hypothesis py3-pytest-runner" subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/brotlipy-$pkgver" build() { python3 setup.py build } check() { PYTHONPATH="$(echo $PWD/build/lib.*)" py.test-3 } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" 2a01e5b2d217043f13316afc4f54569c5dff76d31c296d4be563a5851195380ab80a33a3035ca95effdebffb45806fb9a431a181bba6f9af205b7f5576937268 brotlipy-0.7.0.tar.gz "