dev-lang/python-exec: Add py3.12 to host test impls

Closes: https://bugs.gentoo.org/929402
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-04-14 16:57:49 +02:00
parent 577cfa1d46
commit 2b7ec681b2
@@ -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}]"