diff options
Diffstat (limited to 'dev-python/overrides/overrides-7.4.0.ebuild')
-rw-r--r-- | dev-python/overrides/overrides-7.4.0.ebuild | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/dev-python/overrides/overrides-7.4.0.ebuild b/dev-python/overrides/overrides-7.4.0.ebuild index ecd6ae987dcc..b7fda6886f62 100644 --- a/dev-python/overrides/overrides-7.4.0.ebuild +++ b/dev-python/overrides/overrides-7.4.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 pypi @@ -16,6 +16,20 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~s390 ~x86" +KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc ~x86" distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + + case ${EPYTHON} in + python3.12) + EPYTEST_DESELECT+=( + tests/test_enforce__py38.py::EnforceTests::test_enforcing_when_incompatible + ) + ;; + esac + + epytest +} |