commit:     4edfe222d9a6a99f25d3ae0187d64215ce32d203
Author:     Tim Harder <radhermit <AT> gentoo <DOT> org>
AuthorDate: Sun Jun  9 21:28:40 2019 +0000
Commit:     Tim Harder <radhermit <AT> gentoo <DOT> org>
CommitDate: Sun Jun  9 21:57:39 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4edfe222

net-proxy/sshuttle: don't require pytest-cov when running tests

Closes: https://bugs.gentoo.org/687696

Signed-off-by: Tim Harder <radhermit <AT> gentoo.org>

 net-proxy/sshuttle/sshuttle-0.78.5.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/net-proxy/sshuttle/sshuttle-0.78.5.ebuild 
b/net-proxy/sshuttle/sshuttle-0.78.5.ebuild
index 5d058b48df7..a324fa29d3a 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
 }
 

Reply via email to