diff options
author | 2020-10-12 10:30:14 +0200 | |
---|---|---|
committer | 2020-10-12 10:51:43 +0200 | |
commit | 19ba8920be100981921a4e192ec2f07024abba27 (patch) | |
tree | b139dcd01394dbb4f0636b4e1acb2b224fded0b4 | |
parent | dev-python/pygame: sparc stable wrt bug #745567 (diff) | |
download | gentoo-19ba8920be100981921a4e192ec2f07024abba27.tar.gz gentoo-19ba8920be100981921a4e192ec2f07024abba27.tar.bz2 gentoo-19ba8920be100981921a4e192ec2f07024abba27.zip |
dev-python/pygame: Fix test regression with new setuptools
Closes: https://bugs.gentoo.org/745819
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | dev-python/pygame/pygame-2.0.0_pre12.ebuild | 6 |
1 files 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 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 } |