From 19ba8920be100981921a4e192ec2f07024abba27 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Mon, 12 Oct 2020 10:30:14 +0200 Subject: dev-python/pygame: Fix test regression with new setuptools MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/745819 Signed-off-by: Michał Górny --- dev-python/pygame/pygame-2.0.0_pre12.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'dev-python') diff --git a/dev-python/pygame/pygame-2.0.0_pre12.ebuild b/dev-python/pygame/pygame-2.0.0_pre12.ebuild index acc59f0c4eae..a43bd4b42236 100644 --- a/dev-python/pygame/pygame-2.0.0_pre12.ebuild +++ b/dev-python/pygame/pygame-2.0.0_pre12.ebuild @@ -63,10 +63,12 @@ python_configure() { } python_test() { - local -x PYTHONPATH= + local -x PYTHONPATH=${BUILD_DIR}/install/lib local -x SDL_VIDEODRIVER=dummy local -x SDL_AUDIODRIVER=disk - distutils_install_for_testing + esetup.py install \ + --root="${BUILD_DIR}"/install \ + --install-lib=lib script -eqc "${EPYTHON} -m pygame.tests" || die } -- cgit v1.2.3-65-gdbad