commit: 19ba8920be100981921a4e192ec2f07024abba27 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Mon Oct 12 08:30:14 2020 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Mon Oct 12 08:51:43 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19ba8920
dev-python/pygame: Fix test regression with new setuptools Closes: https://bugs.gentoo.org/745819 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/pygame/pygame-2.0.0_pre12.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dev-python/pygame/pygame-2.0.0_pre12.ebuild b/dev-python/pygame/pygame-2.0.0_pre12.ebuild index acc59f0c4ea..a43bd4b4223 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 }
