net-proxy/sshuttle: don't require pytest-cov when running tests
authorTim Harder <radhermit@gentoo.org>
Sun, 9 Jun 2019 21:28:40 +0000 (16:28 -0500)
committerTim Harder <radhermit@gentoo.org>
Sun, 9 Jun 2019 21:57:39 +0000 (16:57 -0500)
Closes: https://bugs.gentoo.org/687696

Signed-off-by: Tim Harder <radhermit@gentoo.org>
net-proxy/sshuttle/sshuttle-0.78.5.ebuild

index 5d058b48df7e859b33734f15287b93eb7689d946..a324fa29d3a161755f2a731e047d617dd971393e 100644 (file)
@@ -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
 }