mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 08:03:51 +02:00
python3-async-timeout: don't enable coverage for tests
This commit is contained in:
parent
3c8a25fd15
commit
eca17d1ff1
1 changed files with 4 additions and 1 deletions
|
@ -8,7 +8,7 @@ build_style=python3-module
|
||||||
pycompile_module="async_timeout"
|
pycompile_module="async_timeout"
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="python3-setuptools"
|
||||||
depends="python3"
|
depends="python3"
|
||||||
checkdepends="python3-pytest-cov python3-pytest-asyncio"
|
checkdepends="python3-pytest-asyncio"
|
||||||
short_desc="Timeout context manager for asyncio programs"
|
short_desc="Timeout context manager for asyncio programs"
|
||||||
maintainer="Michael Aldridge <maldridge@VoidLinux.eu>"
|
maintainer="Michael Aldridge <maldridge@VoidLinux.eu>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
|
@ -18,5 +18,8 @@ distfiles="https://github.com/aio-libs/async-timeout/archive/v${version}.tar.gz"
|
||||||
checksum=d0a7a927ed6b922835e1b014dfcaa9982caccbb25131320582cc660af7c93949
|
checksum=d0a7a927ed6b922835e1b014dfcaa9982caccbb25131320582cc660af7c93949
|
||||||
|
|
||||||
do_check() {
|
do_check() {
|
||||||
|
# don't enable coverage
|
||||||
|
sed -i '/addopts=/d' setup.cfg
|
||||||
|
|
||||||
python3 -m pytest
|
python3 -m pytest
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue