mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 11:17:21 -08:00
dev-python/tomlkit: Enable pypy3.12
Signed-off-by: Michał Górny <mgorny@gentoo.org> Part-of: https://codeberg.org/gentoo/gentoo/pulls/1973
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=flit-core
|
||||
PYTHON_COMPAT=( python3_{12..15} python3_{14,15}t )
|
||||
PYTHON_COMPAT=( pypy3_12 python3_{12..15} python3_{14,15}t )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
@@ -18,12 +18,6 @@ LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
distutils_enable_tests pytest
|
||||
|
||||
@@ -46,3 +40,16 @@ src_configure() {
|
||||
# which are older than what zip can handle...
|
||||
find -exec touch {} + || die
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=()
|
||||
|
||||
if [[ ${EPYTHON} == pypy* ]]; then
|
||||
EPYTEST_DESELECT+=(
|
||||
# https://github.com/python-poetry/tomlkit/issues/619
|
||||
tests/test_items.py::test_times_behave_like_times
|
||||
)
|
||||
fi
|
||||
|
||||
epytest
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user