commit: 2b7ec681b2bdab87f6c3ea1e9ec6d2ad9bc9e30e Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sun Apr 14 14:21:06 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sun Apr 14 14:57:49 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b7ec681
dev-lang/python-exec: Add py3.12 to host test impls Closes: https://bugs.gentoo.org/929402 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-lang/python-exec/python-exec-2.4.10.ebuild | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/dev-lang/python-exec/python-exec-2.4.10.ebuild b/dev-lang/python-exec/python-exec-2.4.10.ebuild index 05556b1b0d4e..077b27e7d539 100644 --- a/dev-lang/python-exec/python-exec-2.4.10.ebuild +++ b/dev-lang/python-exec/python-exec-2.4.10.ebuild @@ -1,9 +1,10 @@ # Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} pypy3 ) -PYTHON_COMPAT=( python3_{9..11} pypy3 ) inherit python-any-r1 DESCRIPTION="Python script wrapper" @@ -19,11 +20,13 @@ RESTRICT="!test? ( test )" RDEPEND=" dev-lang/python-exec-conf - !<=dev-lang/python-2.7.18-r3:2.7" + !<=dev-lang/python-2.7.18-r3:2.7 +" BDEPEND=" test? ( $(python_gen_any_dep 'dev-python/pytest[${PYTHON_USEDEP}]') - )" + ) +" python_check_deps() { python_has_version -b "dev-python/pytest[${PYTHON_USEDEP}]"