mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 10:37:22 -08:00
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:
@@ -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}]"
|
||||
|
||||
Reference in New Issue
Block a user