commit:     127e5f4249bbfe1a8cd762537838df48e3532e75
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 15 15:13:09 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jun 15 15:13:21 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=127e5f42

dev-python/pygame: Backport test fixes to 1.9.6-r1

Closes: https://bugs.gentoo.org/727890
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pygame/pygame-1.9.6-r1.ebuild | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/dev-python/pygame/pygame-1.9.6-r1.ebuild 
b/dev-python/pygame/pygame-1.9.6-r1.ebuild
index 253ffc048c4..e47cb5f359b 100644
--- a/dev-python/pygame/pygame-1.9.6-r1.ebuild
+++ b/dev-python/pygame/pygame-1.9.6-r1.ebuild
@@ -4,10 +4,10 @@
 EAPI=7
 PYTHON_COMPAT=( python3_{6,7,8} )
 
-inherit flag-o-matic distutils-r1 virtualx
+inherit flag-o-matic distutils-r1
 
 DESCRIPTION="Python bindings for SDL multimedia library"
-HOMEPAGE="http://www.pygame.org/";
+HOMEPAGE="https://www.pygame.org/";
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="LGPL-2.1"
@@ -62,12 +62,10 @@ python_compile() {
        distutils-r1_python_compile
 }
 
-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