From 127e5f4249bbfe1a8cd762537838df48e3532e75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 15 Jun 2020 17:13:09 +0200 Subject: [PATCH] dev-python/pygame: Backport test fixes to 1.9.6-r1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/727890 Signed-off-by: Michał Górny --- 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 253ffc048c4a5..e47cb5f359bc9 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 }