commit:     8342a775fb2b44e2bc01d8f0204e5291ac2b0dc4
Author:     Jérôme Carretero <cJ <AT> zougloub <DOT> eu>
AuthorDate: Fri Feb 17 15:14:53 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb 19 19:46:16 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8342a775

dev-python/numpy: add pypy3 to PYTHON_COMPAT

Signed-off-by: Jérôme Carretero <cJ-gentoo <AT> zougloub.eu>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/numpy/numpy-1.24.2.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-python/numpy/numpy-1.24.2.ebuild 
b/dev-python/numpy/numpy-1.24.2.ebuild
index 5eb86c776c2a..623be07ee996 100644
--- a/dev-python/numpy/numpy-1.24.2.ebuild
+++ b/dev-python/numpy/numpy-1.24.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{9..11} pypy3 )
 PYTHON_REQ_USE="threads(+)"
 
 FORTRAN_NEEDED=lapack
@@ -36,7 +36,9 @@ BDEPEND="
                virtual/pkgconfig
        )
        test? (
-               >=dev-python/cffi-1.14.0[${PYTHON_USEDEP}]
+               $(python_gen_cond_dep '
+                       >=dev-python/cffi-1.14.0[${PYTHON_USEDEP}]
+               ' 'python*')
                dev-python/charset_normalizer[${PYTHON_USEDEP}]
                >=dev-python/hypothesis-5.8.0[${PYTHON_USEDEP}]
                >=dev-python/pytz-2019.3[${PYTHON_USEDEP}]

Reply via email to