commit: fee1dae6160d5131be4ffa7f288926c4b1752ef4
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 21 13:35:37 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Nov 21 13:36:44 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fee1dae6
dev-python/pyglet: Enable pypy3
Sponsored-by: Ex Makhina, Inc. <info-gentoo <AT> exmakhina.com>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pyglet/pyglet-2.0.10.ebuild | 18 ++++++++++--------
1 file 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