1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 11:45:18 +03:00
aports/community/py3-hpack/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
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
2023-01-10 04:19:31 +01:00

32 lines
834 B
Text

# Contributor: Antoine Fontaine <antoine.fontaine@epfl.ch>
# Maintainer:
pkgname=py3-hpack
pkgver=4.0.0
pkgrel=5
pkgdesc="HTTP/2 framing layer for Python"
url="https://python-hyper.org/projects/hpack/en/latest/"
arch="noarch"
license="MIT"
depends="python3"
checkdepends="py3-pytest py3-hypothesis"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/h/hpack/hpack-$pkgver.tar.gz"
builddir="$srcdir/hpack-$pkgver"
options="!check" # testsuite appears to miss some py3-pytest-* dependency
build() {
python3 setup.py build
}
check() {
cd test
python3 -m pytest
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
7a303d00176288cefb4b9c562aad8d15f4e15865d6f6c8c8a086cc2ebf605547c5b2ca0498ba24d758f0a9e37877b585de1b55b232eae271b9eaf2d1238106ca hpack-4.0.0.tar.gz
"