summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-10-12 10:30:14 +0200
committerMichał Górny <mgorny@gentoo.org>2020-10-12 10:51:43 +0200
commit19ba8920be100981921a4e192ec2f07024abba27 (patch)
treeb139dcd01394dbb4f0636b4e1acb2b224fded0b4 /dev-python/pygame
parentdev-python/pygame: sparc stable wrt bug #745567 (diff)
downloadgentoo-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>
Diffstat (limited to 'dev-python/pygame')
-rw-r--r--dev-python/pygame/pygame-2.0.0_pre12.ebuild6
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 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
}