diff options
-rw-r--r-- | community/py3-async-timeout/APKBUILD | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/community/py3-async-timeout/APKBUILD b/community/py3-async-timeout/APKBUILD index 3876c2fa8a..8526515bc8 100644 --- a/community/py3-async-timeout/APKBUILD +++ b/community/py3-async-timeout/APKBUILD @@ -1,30 +1,29 @@ # Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Contributor: Antoine Fontaine <antoine.fontaine@epfl.ch> # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> pkgname=py3-async-timeout _pkgname=async-timeout pkgver=3.0.1 -pkgrel=2 +pkgrel=3 pkgdesc="Timeout context manager for asyncio programs" url="https://pypi.python.org/pypi/async_timeout" arch="noarch" license="Apache-2.0" depends="python3" +checkdepends="py3-pytest py3-pytest-cov py3-pytest-asyncio" makedepends="python3-dev py3-setuptools" source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" build() { - cd "$builddir" python3 setup.py build } check() { - cd "$builddir" - python3 setup.py check + python3 -m pytest } package() { - cd "$builddir" python3 setup.py install --root="$pkgdir" } |