commit:     d82a9e95a5960c2202c5426ff8918a41aeab7aff
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jun  8 11:53:05 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jun  8 11:53:05 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d82a9e95

dev-python/pygame: Use dummy drivers for testing

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pygame/pygame-2.0.0_pre10.ebuild | 8 +++-----
 1 file 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 5552e2045b0..aa107fbfe6a 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
 }

Reply via email to