commit:     f8125448f6d6027d6569d05f64a1518f551fb10b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 26 09:56:29 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jul  4 06:57:19 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8125448

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 <AT> gentoo.org>

 dev-python/twisted/twisted-22.4.0-r2.ebuild | 12 +++++++-----
 1 file 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}]

Reply via email to