1 |
commit: 7287733bbd9b5877de6c498779efa69d1a98a2c8 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 3 09:06:30 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 3 09:15:02 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7287733b |
7 |
|
8 |
dev-python/google-api-core: Fix .pth removal for tests |
9 |
|
10 |
Closes: https://bugs.gentoo.org/832604 |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
dev-python/google-api-core/google-api-core-2.5.0.ebuild | 6 +++--- |
14 |
1 file changed, 3 insertions(+), 3 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/google-api-core/google-api-core-2.5.0.ebuild b/dev-python/google-api-core/google-api-core-2.5.0.ebuild |
17 |
index 32405aec83ad..d7b0cd4aed5a 100644 |
18 |
--- a/dev-python/google-api-core/google-api-core-2.5.0.ebuild |
19 |
+++ b/dev-python/google-api-core/google-api-core-2.5.0.ebuild |
20 |
@@ -55,7 +55,7 @@ EPYTEST_DESELECT=( |
21 |
tests/unit/test_operation.py::test_exception_with_error_code |
22 |
) |
23 |
|
24 |
-python_install_all() { |
25 |
- distutils-r1_python_install_all |
26 |
- find "${D}" -name '*.pth' -delete || die |
27 |
+python_compile() { |
28 |
+ distutils-r1_python_compile |
29 |
+ find "${BUILD_DIR}" -name '*.pth' -delete || die |
30 |
} |