dev-python/priority: Enable py3.13

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-05-11 12:44:00 +02:00
parent 16167a1abc
commit ee77c93d2f

View File

@@ -1,11 +1,10 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_TESTED=( python3_{10..12} pypy3 )
PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" )
PYTHON_COMPAT=( python3_{10..13} pypy3 )
inherit distutils-r1 pypi
@@ -22,19 +21,8 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv
BDEPEND="
test? (
$(python_gen_cond_dep '
>=dev-python/hypothesis-3.4.2[${PYTHON_USEDEP}]
' "${PYTHON_TESTED[@]}")
>=dev-python/hypothesis-3.4.2[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
python_test() {
if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
einfo "Skipping tests on ${EPYTHON} (xfail)"
return
fi
epytest
}