mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
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
30 lines
794 B
Text
30 lines
794 B
Text
# Contributor: Antoine Fontaine <antoine.fontaine@epfl.ch>
|
|
# Maintainer:
|
|
pkgname=py3-hyperframe
|
|
pkgver=6.0.1
|
|
pkgrel=1
|
|
pkgdesc="HTTP/2 framing layer for Python"
|
|
url="https://python-hyper.org/projects/hyperframe/en/stable/"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3"
|
|
checkdepends="py3-pytest"
|
|
makedepends="py3-setuptools"
|
|
source="https://files.pythonhosted.org/packages/source/h/hyperframe/hyperframe-$pkgver.tar.gz"
|
|
builddir="$srcdir/hyperframe-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
PYTHONPATH="$PWD/build/lib" python3 -m pytest
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
2a5101b2e91e047fe39b32f81a1a8b2240c371fed28a5e1581e743371418388a7dfb55bc819c46a45804e7f00a5231ca54c92aa1b5b41ffeb714b8cb3ac485ca hyperframe-6.0.1.tar.gz
|
|
"
|