summaryrefslogtreecommitdiff
path: root/community/py3-hyperframe/APKBUILD
blob: b24785cc2fe4ea9227027bc70f50db005bdc24c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 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 --prefix=/usr --root="$pkgdir"
}

sha512sums="
2a5101b2e91e047fe39b32f81a1a8b2240c371fed28a5e1581e743371418388a7dfb55bc819c46a45804e7f00a5231ca54c92aa1b5b41ffeb714b8cb3ac485ca  hyperframe-6.0.1.tar.gz
"