aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Fontaine <antoine.fontaine@epfl.ch>2020-05-31 01:11:01 +0200
committerLeo <thinkabit.ukim@gmail.com>2020-06-26 17:25:46 +0000
commitc874a2b0fd3702a31b0dc6eb9343c4ec5ad52ed4 (patch)
treea3df6cc3ba0bc3859bde08798f4dc38c24afbb2a
parent8680a1f447c9865907054c1d6d04c3b94ae28070 (diff)
downloadaports-c874a2b0fd3702a31b0dc6eb9343c4ec5ad52ed4.tar.gz
aports-c874a2b0fd3702a31b0dc6eb9343c4ec5ad52ed4.tar.bz2
aports-c874a2b0fd3702a31b0dc6eb9343c4ec5ad52ed4.tar.xz
testing/py3-h2: enable tests
-rw-r--r--testing/py3-h2/APKBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/testing/py3-h2/APKBUILD b/testing/py3-h2/APKBUILD
index 872e7d50a1..5454087a35 100644
--- a/testing/py3-h2/APKBUILD
+++ b/testing/py3-h2/APKBUILD
@@ -1,14 +1,19 @@
# Contributor: André Klitzing <aklitzing@gmail.com>
+# Contributor: Antoine Fontaine <antoine.fontaine@epfl.ch>
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=py3-h2
_pkgname=hyper-h2
pkgver=3.2.0
-pkgrel=0
+pkgrel=1
pkgdesc="HTTP/2 State-Machine based protocol implementation"
-options="!check" # Requires unpackaged hyperframe
url="https://python-hyper.org/h2/"
arch="noarch"
license="MIT"
+depends="
+ python3
+ py3-hyperframe
+ py3-hpack
+ "
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-hypothesis"
source="$pkgname-$pkgver.tar.gz::https://github.com/python-hyper/hyper-h2/archive/v$pkgver.tar.gz"
@@ -22,7 +27,7 @@ build() {
}
check() {
- pytest-3
+ python3 -m pytest
}
package() {