aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-pytest-asyncio
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-02-13 20:29:10 +0100
committerRasmus Thomsen <oss@cogitri.dev>2020-02-13 20:31:26 +0100
commit47ab913c0fb235c52781709a2a10d4696cbffdd2 (patch)
treee4ef218f20b96fb94a6fd1c0bd50922a6d5f4f40 /testing/py3-pytest-asyncio
parent4d5225844506d7f7bc45d902e9bc916bfe673c4b (diff)
downloadaports-47ab913c0fb235c52781709a2a10d4696cbffdd2.tar.bz2
aports-47ab913c0fb235c52781709a2a10d4696cbffdd2.tar.xz
testing/py3-pytest-asyncio: new aport
https://github.com/pytest-dev/pytest-asyncio Pytest support for asyncio
Diffstat (limited to 'testing/py3-pytest-asyncio')
-rw-r--r--testing/py3-pytest-asyncio/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/py3-pytest-asyncio/APKBUILD b/testing/py3-pytest-asyncio/APKBUILD
new file mode 100644
index 0000000000..27d680fdce
--- /dev/null
+++ b/testing/py3-pytest-asyncio/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: Rasmus Thomsen <oss@cogitri.dev>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
+pkgname=py3-pytest-asyncio
+pkgver=0.10.0
+pkgrel=0
+pkgdesc="Pytest support for asyncio"
+url="https://github.com/pytest-dev/pytest-asyncio"
+arch="noarch"
+license="Apache-2.0"
+depends="python3 py3-pytest"
+makedepends="py3-setuptools"
+checkdepends="py3-async_generator py3-coverage py3-hypothesis"
+options="!check" # doesn't find its own modules
+source="$pkgname-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-asyncio/archive/v$pkgver.tar.gz"
+builddir="$srcdir/pytest-asyncio-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ PYTHONPATH="$PWD/build/lib" py.test-3
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="78160d1918c5d3d2172f74fa07bf4bf6d0bc416666011dd5b83b3a7f385ec30fc65d49c01bba5dd0e16ad9dcd9d72d8ab062526f3268d60cd2e24a35b5a8f883 py3-pytest-asyncio-0.10.0.tar.gz"