diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-11-21 14:35:37 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-11-21 14:36:44 +0100 |
commit | fee1dae6160d5131be4ffa7f288926c4b1752ef4 (patch) | |
tree | b50b4175150a6888752d430f195102b02a3c46b0 /dev-python/pyglet | |
parent | dev-python/sympy: Enable pypy3 (diff) | |
download | gentoo-fee1dae6160d5131be4ffa7f288926c4b1752ef4.tar.gz gentoo-fee1dae6160d5131be4ffa7f288926c4b1752ef4.tar.bz2 gentoo-fee1dae6160d5131be4ffa7f288926c4b1752ef4.zip |
dev-python/pyglet: Enable pypy3
Sponsored-by: Ex Makhina, Inc. <info-gentoo@exmakhina.com>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pyglet')
-rw-r--r-- | dev-python/pyglet/pyglet-2.0.10.ebuild | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/dev-python/pyglet/pyglet-2.0.10.ebuild b/dev-python/pyglet/pyglet-2.0.10.ebuild index 3264295ae589..b3fb9f719635 100644 --- a/dev-python/pyglet/pyglet-2.0.10.ebuild +++ b/dev-python/pyglet/pyglet-2.0.10.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..12} ) inherit distutils-r1 virtualx xdg-utils @@ -62,13 +62,15 @@ python_test() { tests/unit/media/test_player.py::PlayerTestCase::test_pause_resume tests/unit/test_clock_freq.py::test_elapsed_time_between_tick ) - if [[ ${EPYTHON} == python3.11 ]]; then - EPYTEST_DESELECT+=( - # broken test - # https://github.com/pyglet/pyglet/issues/606 - tests/unit/test_events.py::test_push_handlers_instance - ) - fi + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # https://github.com/pyglet/pyglet/issues/1000 + tests/unit/test_events.py::test_weakref_to_instance{,_method} + tests/unit/test_events.py::test_weakref_deleted_when_instance_is_deleted + ) + ;; + esac # Specify path to avoid running interactive tests # We could add in integration tests, but they're slow |