1 |
commit: 19ba8920be100981921a4e192ec2f07024abba27 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 12 08:30:14 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 12 08:51:43 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19ba8920 |
7 |
|
8 |
dev-python/pygame: Fix test regression with new setuptools |
9 |
|
10 |
Closes: https://bugs.gentoo.org/745819 |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
dev-python/pygame/pygame-2.0.0_pre12.ebuild | 6 ++++-- |
14 |
1 file changed, 4 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/pygame/pygame-2.0.0_pre12.ebuild b/dev-python/pygame/pygame-2.0.0_pre12.ebuild |
17 |
index acc59f0c4ea..a43bd4b4223 100644 |
18 |
--- a/dev-python/pygame/pygame-2.0.0_pre12.ebuild |
19 |
+++ b/dev-python/pygame/pygame-2.0.0_pre12.ebuild |
20 |
@@ -63,10 +63,12 @@ python_configure() { |
21 |
} |
22 |
|
23 |
python_test() { |
24 |
- local -x PYTHONPATH= |
25 |
+ local -x PYTHONPATH=${BUILD_DIR}/install/lib |
26 |
local -x SDL_VIDEODRIVER=dummy |
27 |
local -x SDL_AUDIODRIVER=disk |
28 |
- distutils_install_for_testing |
29 |
+ esetup.py install \ |
30 |
+ --root="${BUILD_DIR}"/install \ |
31 |
+ --install-lib=lib |
32 |
script -eqc "${EPYTHON} -m pygame.tests" || die |
33 |
} |