commit:     9592a6d7b65de8b3022140ae133ac8e129d6bd29
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Feb  2 08:57:54 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Feb  2 09:26:50 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9592a6d7

dev-python/twisted: Add pypy3 love

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/twisted/twisted-21.7.0-r1.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-python/twisted/twisted-21.7.0-r1.ebuild 
b/dev-python/twisted/twisted-21.7.0-r1.ebuild
index caadc908ddbe..cba17b0e9bd4 100644
--- a/dev-python/twisted/twisted-21.7.0-r1.ebuild
+++ b/dev-python/twisted/twisted-21.7.0-r1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
 PYTHON_REQ_USE="threads(+)"
 
 inherit distutils-r1 virtualx
@@ -57,11 +57,13 @@ BDEPEND="
                dev-python/bcrypt[${PYTHON_USEDEP}]
                >=dev-python/constantly-15.1.0[${PYTHON_USEDEP}]
                dev-python/cython-test-exception-raiser[${PYTHON_USEDEP}]
-               dev-python/gmpy[${PYTHON_USEDEP}]
                dev-python/idna[${PYTHON_USEDEP}]
                dev-python/pyasn1[${PYTHON_USEDEP}]
                dev-python/pyserial[${PYTHON_USEDEP}]
                net-misc/openssh
+               $(python_gen_cond_dep '
+                       dev-python/gmpy[${PYTHON_USEDEP}]
+               ' 'python*')
                !alpha? ( !hppa? ( !ia64? (
                        >=dev-python/cryptography-0.9.1[${PYTHON_USEDEP}]
                        >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]

Reply via email to