diff options
Diffstat (limited to 'community/py3-pytest-asyncio/APKBUILD')
-rw-r--r-- | community/py3-pytest-asyncio/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/community/py3-pytest-asyncio/APKBUILD b/community/py3-pytest-asyncio/APKBUILD new file mode 100644 index 0000000000..27d680fdce --- /dev/null +++ b/community/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" |