diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-06-08 13:53:05 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-06-08 13:53:05 +0200 |
commit | d82a9e95a5960c2202c5426ff8918a41aeab7aff (patch) | |
tree | b84335550c1be78846c160d2391cf6f8d3334075 /dev-python/pygame | |
parent | dev-python/pyopengl_accelerate: Take for python@ (diff) | |
download | gentoo-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')
-rw-r--r-- | dev-python/pygame/pygame-2.0.0_pre10.ebuild | 8 |
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 } |