# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=py3-pytest-asyncio pkgver=0.12.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="2e69bfff3f0b35cc82381b841229749d309967ce1d36972933f5bc6d5dff45934608310ed3fa1805dc38ab41bf913a881493c28d6d0e9be733b624cd2fda97d3 py3-pytest-asyncio-0.12.0.tar.gz"