commit: 074fed3127e3d051ac8ad8fa08622178af25e853 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Thu May 25 02:55:07 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu May 25 03:14:21 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=074fed31
dev-python/cython: use PYTHON_TESTED in 3.0.0_beta3 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-python/cython/cython-3.0.0_beta3.ebuild | 5 +++-- 1 file 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