summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2019-06-09 16:28:40 -0500
committerTim Harder <radhermit@gentoo.org>2019-06-09 16:57:39 -0500
commit4edfe222d9a6a99f25d3ae0187d64215ce32d203 (patch)
treed17d41bd159e141953b2fc14f9502684dc0678e9 /net-proxy
parentmedia-libs/partio: EAPI-7 bump, bring 9999 up to speed w/ 1.5.4 (diff)
downloadgentoo-4edfe222d9a6a99f25d3ae0187d64215ce32d203.tar.gz
gentoo-4edfe222d9a6a99f25d3ae0187d64215ce32d203.tar.bz2
gentoo-4edfe222d9a6a99f25d3ae0187d64215ce32d203.zip
net-proxy/sshuttle: don't require pytest-cov when running tests
Closes: https://bugs.gentoo.org/687696 Signed-off-by: Tim Harder <radhermit@gentoo.org>
Diffstat (limited to 'net-proxy')
-rw-r--r--net-proxy/sshuttle/sshuttle-0.78.5.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/net-proxy/sshuttle/sshuttle-0.78.5.ebuild b/net-proxy/sshuttle/sshuttle-0.78.5.ebuild
index 5d058b48df7e..a324fa29d3a1 100644
--- a/net-proxy/sshuttle/sshuttle-0.78.5.ebuild
+++ b/net-proxy/sshuttle/sshuttle-0.78.5.ebuild
@@ -35,6 +35,9 @@ python_prepare_all() {
# don't run tests via setup.py pytest
sed -i "/setup_requires=/s/'pytest-runner'//" setup.py || die
+ # don't require pytest-cov when running tests
+ sed -i "s/^addopts =/#\0/" setup.cfg || die
+
distutils-r1_python_prepare_all
}