summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-06-08 13:53:05 +0200
committerMichał Górny <mgorny@gentoo.org>2020-06-08 13:53:05 +0200
commitd82a9e95a5960c2202c5426ff8918a41aeab7aff (patch)
treeb84335550c1be78846c160d2391cf6f8d3334075 /dev-python/pygame/pygame-2.0.0_pre10.ebuild
parentdev-python/pyopengl_accelerate: Take for python@ (diff)
downloadgentoo-d82a9e95a5960c2202c5426ff8918a41aeab7aff.tar.gz
gentoo-d82a9e95a5960c2202c5426ff8918a41aeab7aff.tar.bz2
gentoo-d82a9e95a5960c2202c5426ff8918a41aeab7aff.zip
dev-python/pygame: Use dummy drivers for testing
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pygame/pygame-2.0.0_pre10.ebuild')
-rw-r--r--dev-python/pygame/pygame-2.0.0_pre10.ebuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/dev-python/pygame/pygame-2.0.0_pre10.ebuild b/dev-python/pygame/pygame-2.0.0_pre10.ebuild
index 5552e2045b0b..aa107fbfe6ab 100644
--- a/dev-python/pygame/pygame-2.0.0_pre10.ebuild
+++ b/dev-python/pygame/pygame-2.0.0_pre10.ebuild
@@ -4,7 +4,7 @@
EAPI=7
PYTHON_COMPAT=( python3_{6..9} )
-inherit flag-o-matic distutils-r1 virtualx
+inherit flag-o-matic distutils-r1
MY_PV=${PV/_pre/.dev}
MY_P=${PN}-${MY_PV}
@@ -48,12 +48,10 @@ python_configure() {
fi
}
-src_test() {
- virtx distutils-r1_src_test
-}
-
python_test() {
local -x PYTHONPATH=
+ local -x SDL_VIDEODRIVER=dummy
+ local -x SDL_AUDIODRIVER=disk
distutils_install_for_testing
script -eqc "${EPYTHON} -m pygame.tests" || die
}