summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-06-26 11:56:29 +0200
committerMichał Górny <mgorny@gentoo.org>2022-07-04 08:57:19 +0200
commitf8125448f6d6027d6569d05f64a1518f551fb10b (patch)
treea5e1ca0966a1d575fdae773f43fffcba85d1784a /dev-python/twisted
parentdev-python/twisted: Rename USE={crypt → ssl} (diff)
downloadgentoo-f8125448f6d6027d6569d05f64a1518f551fb10b.tar.gz
gentoo-f8125448f6d6027d6569d05f64a1518f551fb10b.tar.bz2
gentoo-f8125448f6d6027d6569d05f64a1518f551fb10b.zip
dev-python/twisted: Move test deps under USE flags for wd40 profiles
Make the package wd40-friendly by moving the Rust-involving test dependencies under their respective USE flags (matching RDEPEND). The dependencies that can be tested on non-Rust systems remain unconditional. Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/twisted')
-rw-r--r--dev-python/twisted/twisted-22.4.0-r2.ebuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/dev-python/twisted/twisted-22.4.0-r2.ebuild b/dev-python/twisted/twisted-22.4.0-r2.ebuild
index d610a52c6ac3..5acedaa99e6a 100644
--- a/dev-python/twisted/twisted-22.4.0-r2.ebuild
+++ b/dev-python/twisted/twisted-22.4.0-r2.ebuild
@@ -56,18 +56,20 @@ BDEPEND="
test? (
$(python_gen_cond_dep '
>=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}]
- dev-python/bcrypt[${PYTHON_USEDEP}]
>=dev-python/constantly-15.1.0[${PYTHON_USEDEP}]
dev-python/cython-test-exception-raiser[${PYTHON_USEDEP}]
dev-python/idna[${PYTHON_USEDEP}]
dev-python/pyasn1[${PYTHON_USEDEP}]
dev-python/pyserial[${PYTHON_USEDEP}]
net-misc/openssh
- !alpha? ( !hppa? ( !ia64? (
- >=dev-python/cryptography-0.9.1[${PYTHON_USEDEP}]
- >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
+ conch? (
+ dev-python/bcrypt[${PYTHON_USEDEP}]
+ >=dev-python/cryptography-1.5.0[${PYTHON_USEDEP}]
+ )
+ ssl? (
+ >=dev-python/pyopenssl-16.0.0[${PYTHON_USEDEP}]
dev-python/service_identity[${PYTHON_USEDEP}]
- ) ) )
+ )
' python3_{8..10} pypy3)
$(python_gen_cond_dep '
dev-python/gmpy[${PYTHON_USEDEP}]