summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pygame/pygame-2.6.1.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/dev-python/pygame/pygame-2.6.1.ebuild b/dev-python/pygame/pygame-2.6.1.ebuild
index e9e2aef20a7b..556da769fd6e 100644
--- a/dev-python/pygame/pygame-2.6.1.ebuild
+++ b/dev-python/pygame/pygame-2.6.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -78,6 +78,11 @@ python_configure_all() {
}
python_test() {
+ # Seems(?) there is no way to easily skip individual tests, but
+ # an msys2 hack exists which we can re-use for now (bug #951940).
+ # https://github.com/pygame/pygame/pull/4267
+ local -x PYGAME_MSYS2=1
+
local -x SDL_VIDEODRIVER=dummy
local -x SDL_AUDIODRIVER=disk
script -eqc "${EPYTHON} -m pygame.tests -v" || die