summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-05-25 03:55:07 +0100
committerSam James <sam@gentoo.org>2023-05-25 04:14:21 +0100
commit074fed3127e3d051ac8ad8fa08622178af25e853 (patch)
tree92914e6acc8f80c95c99c275583fe4567a2d7d02 /dev-python/cython
parentdev-python/hkdf: Revert "new package, add 0.0.3" (diff)
downloadgentoo-074fed3127e3d051ac8ad8fa08622178af25e853.tar.gz
gentoo-074fed3127e3d051ac8ad8fa08622178af25e853.tar.bz2
gentoo-074fed3127e3d051ac8ad8fa08622178af25e853.zip
dev-python/cython: use PYTHON_TESTED in 3.0.0_beta3
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/cython')
-rw-r--r--dev-python/cython/cython-3.0.0_beta3.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/dev-python/cython/cython-3.0.0_beta3.ebuild b/dev-python/cython/cython-3.0.0_beta3.ebuild
index 2feae328980f..a2f0df6de0ce 100644
--- a/dev-python/cython/cython-3.0.0_beta3.ebuild
+++ b/dev-python/cython/cython-3.0.0_beta3.ebuild
@@ -5,7 +5,8 @@ EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..11} pypy3 )
+PYTHON_TESTED=( python3_{10..11} )
+PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_12 pypy3 )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1 multiprocessing toolchain-funcs
@@ -57,7 +58,7 @@ python_compile() {
}
python_test() {
- if has "${EPYTHON}" pypy3; then
+ if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then
einfo "Skipping tests on ${EPYTHON} (xfail)"
return
fi