python3-async-timeout: don't enable coverage for tests

This commit is contained in:
Alessio Sergi 2018-10-15 20:14:58 +02:00
parent 3c8a25fd15
commit eca17d1ff1
1 changed files with 4 additions and 1 deletions

View File

@ -8,7 +8,7 @@ build_style=python3-module
pycompile_module="async_timeout"
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest-cov python3-pytest-asyncio"
checkdepends="python3-pytest-asyncio"
short_desc="Timeout context manager for asyncio programs"
maintainer="Michael Aldridge <maldridge@VoidLinux.eu>"
license="Apache-2.0"
@ -18,5 +18,8 @@ distfiles="https://github.com/aio-libs/async-timeout/archive/v${version}.tar.gz"
checksum=d0a7a927ed6b922835e1b014dfcaa9982caccbb25131320582cc660af7c93949
do_check() {
# don't enable coverage
sed -i '/addopts=/d' setup.cfg
python3 -m pytest
}