summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-03-02 20:07:48 +0100
committerMichał Górny <mgorny@gentoo.org>2025-03-02 20:30:52 +0100
commit4f7fb11c49477ded8469b0bc0f5ef0cfbe4749a2 (patch)
treee5c82b8fd75fcec1d22eebb3732de4f970f6dd05 /dev-python
parent543a663308379a0bfabdfd5117ab9ea7dd90f72e (diff)
downloadgentoo-4f7fb11c49477ded8469b0bc0f5ef0cfbe4749a2.tar.gz
gentoo-4f7fb11c49477ded8469b0bc0f5ef0cfbe4749a2.tar.bz2
gentoo-4f7fb11c49477ded8469b0bc0f5ef0cfbe4749a2.zip
dev-python/et-xmlfile: Enable pypy3.11
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/et-xmlfile/et-xmlfile-2.0.0.ebuild20
1 files changed, 18 insertions, 2 deletions
diff --git a/dev-python/et-xmlfile/et-xmlfile-2.0.0.ebuild b/dev-python/et-xmlfile/et-xmlfile-2.0.0.ebuild
index 1e4778f2d833f..8abeef5663e20 100644
--- a/dev-python/et-xmlfile/et-xmlfile-2.0.0.ebuild
+++ b/dev-python/et-xmlfile/et-xmlfile-2.0.0.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..13} pypy3 )
+PYTHON_COMPAT=( python3_{10..13} pypy3 pypy3_11 )
inherit distutils-r1
@@ -33,3 +33,19 @@ RDEPEND="
distutils_enable_tests pytest
distutils_enable_sphinx doc \
dev-python/sphinx-rtd-theme
+
+python_test() {
+ local EPYTEST_DESELECT=()
+
+ case ${EPYTHON} in
+ pypy3*)
+ EPYTEST_DESELECT+=(
+ # minor exception message difference
+ et_xmlfile/tests/test_incremental_tree_with_stdlib_tests.py::ElementTreeTest::test_simpleops
+ )
+ ;;
+ esac
+
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest
+}