From ba0eca2ac6ca819ec4f9329ddc93751e5577f627 Mon Sep 17 00:00:00 2001 From: Rasmus Thomsen Date: Sun, 1 Mar 2020 23:52:48 +0100 Subject: community/py3-pytest-asyncio: move from testing --- community/py3-pytest-asyncio/APKBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 community/py3-pytest-asyncio/APKBUILD (limited to 'community/py3-pytest-asyncio') 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 +# Maintainer: Rasmus Thomsen +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" -- cgit v1.2.3