commit:     cdf636ffdc1530deb5a5246e30da217273fec166
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri May 15 07:22:40 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri May 15 07:27:05 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdf636ff

dev-python/httpretty: Remove redis tests

The redis tests causes a dependency on dev-python/redis-py
but it is skipped anyway due to requiring a running redis server.

Closes: https://bugs.gentoo.org/722724
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/httpretty/httpretty-1.0.2-r1.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-python/httpretty/httpretty-1.0.2-r1.ebuild 
b/dev-python/httpretty/httpretty-1.0.2-r1.ebuild
index eb33b6f3b1d..e2bb7e42bf1 100644
--- a/dev-python/httpretty/httpretty-1.0.2-r1.ebuild
+++ b/dev-python/httpretty/httpretty-1.0.2-r1.ebuild
@@ -37,6 +37,9 @@ python_prepare_all() {
        sed -i -e '/randomly/d' -e '/rednose/d' setup.cfg || die
        # tests requiring network access
        rm tests/functional/test_passthrough.py || die
+       # requires running redis server
+       # it is skipped correctly but it causes unnecessary dep on redis-py
+       rm tests/functional/bugfixes/test_redis.py || die
 
        distutils-r1_python_prepare_all
 }

Reply via email to