aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/py3-pytest-trio/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/py3-pytest-trio/APKBUILD b/testing/py3-pytest-trio/APKBUILD
new file mode 100644
index 0000000000..9f9cd99636
--- /dev/null
+++ b/testing/py3-pytest-trio/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=py3-pytest-trio
+pkgver=0.5.2
+pkgrel=0
+pkgdesc="pytest plugin for trio"
+url="https://github.com/python-trio/pytest-trio"
+arch="noarch"
+license="MIT OR Apache-2.0"
+depends="python3 py3-pytest"
+makedepends="py3-setuptools"
+source="https://pypi.python.org/packages/source/p/pytest-trio/pytest-trio-$pkgver.tar.gz"
+options="!check" # No tests
+builddir="$srcdir/pytest-trio-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ python3 setup.py test
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="0ab0bcfd3b1ef4859a49fa9d5dacbc698882f4f95ee113f241b49d8a7f000dbae1d982a13a87e18f96d51af1278b20298dd1af8d2ab1f563e91e74f7232f46a5 pytest-trio-0.5.2.tar.gz"