commit: 6efccb630f86b3c4fe455034a1e969b5ccf65766 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sat May 27 16:35:59 2023 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sat May 27 17:13:09 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6efccb63
dev-python/setuptools: Enable testing on py3.12 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/setuptools/setuptools-67.8.0.ebuild | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/dev-python/setuptools/setuptools-67.8.0.ebuild b/dev-python/setuptools/setuptools-67.8.0.ebuild index 36af7d456dbf..68585dd79b8d 100644 --- a/dev-python/setuptools/setuptools-67.8.0.ebuild +++ b/dev-python/setuptools/setuptools-67.8.0.ebuild @@ -7,8 +7,8 @@ EAPI=8 # please bump dev-python/ensurepip-setuptools along with this package! DISTUTILS_USE_PEP517=standalone -PYTHON_TESTED=( python3_{10..11} pypy3 ) -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_12 ) +PYTHON_TESTED=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) PYTHON_REQ_USE="xml(+)" inherit distutils-r1 multiprocessing pypi @@ -87,7 +87,9 @@ src_prepare() { } python_test() { - local -x SETUPTOOLS_USE_DISTUTILS=stdlib + if [[ ${EPYTHON} != python3.12 ]]; then + local -x SETUPTOOLS_USE_DISTUTILS=stdlib + fi if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then return