mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
30 lines
850 B
Text
30 lines
850 B
Text
# Contributor: Antoine Fontaine <antoine.fontaine@epfl.ch>
|
|
# Maintainer: Antoine Fontaine <antoine.fontaine@epfl.ch>
|
|
pkgname=py3-hpack
|
|
pkgver=4.0.0
|
|
pkgrel=1
|
|
pkgdesc="HTTP/2 framing layer for Python"
|
|
url="https://hyper.rtfd.org/"
|
|
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 --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="7a303d00176288cefb4b9c562aad8d15f4e15865d6f6c8c8a086cc2ebf605547c5b2ca0498ba24d758f0a9e37877b585de1b55b232eae271b9eaf2d1238106ca hpack-4.0.0.tar.gz"
|