mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
testing/py3-hpack: new aports
This commit is contained in:
parent
81ce71e2c7
commit
36dcebf338
30
testing/py3-hpack/APKBUILD
Normal file
30
testing/py3-hpack/APKBUILD
Normal file
@ -0,0 +1,30 @@
|
||||
# Contributor: Antoine Fontaine <antoine.fontaine@epfl.ch>
|
||||
# Maintainer: Antoine Fontaine <antoine.fontaine@epfl.ch>
|
||||
pkgname=py3-hpack
|
||||
pkgver=3.0.0
|
||||
pkgrel=0
|
||||
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="ffac4bdf19f8826027d8f89fe07e1837eacabbf18d1ff18e0cb13505c6714afd62125aa5cc594c75273725be71cc6e17b2315257fabb7779ce51de8c877267a3 hpack-3.0.0.tar.gz"
|
||||
Loading…
x
Reference in New Issue
Block a user