summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-11-17 21:04:27 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2022-11-17 21:05:08 +0200
commitfe81e21a636926d938b0e10e6c490cc05a90544f (patch)
tree2b0449bc29b32e0f3f9627789948956d48f2c4ce /dev-python/pika
parentRevert "profiles: last-rite libnet:1.0 rdeps" (diff)
downloadgentoo-fe81e21a636926d938b0e10e6c490cc05a90544f.tar.gz
gentoo-fe81e21a636926d938b0e10e6c490cc05a90544f.tar.bz2
gentoo-fe81e21a636926d938b0e10e6c490cc05a90544f.zip
dev-python/pika: remove test dependency on gevent
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/pika')
-rw-r--r--dev-python/pika/pika-1.3.0.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/dev-python/pika/pika-1.3.0.ebuild b/dev-python/pika/pika-1.3.0.ebuild
index 9b54a2928c76..39213c7d8bd3 100644
--- a/dev-python/pika/pika-1.3.0.ebuild
+++ b/dev-python/pika/pika-1.3.0.ebuild
@@ -24,7 +24,6 @@ PROPERTIES="test_network"
BDEPEND="
test? (
- dev-python/gevent[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
dev-python/nose2[${PYTHON_USEDEP}]
dev-python/twisted[${PYTHON_USEDEP}]
@@ -33,6 +32,12 @@ BDEPEND="
)
"
+src_prepare() {
+ sed -e 's/test_with_gevent/_&/' -i tests/base/async_test_base.py || die
+
+ distutils-r1_src_prepare
+}
+
python_test() {
nose2 -v || die "Tests failed with ${EPYTHON}"
}