commit: 7287733bbd9b5877de6c498779efa69d1a98a2c8 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Thu Feb 3 09:06:30 2022 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Thu Feb 3 09:15:02 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7287733b
dev-python/google-api-core: Fix .pth removal for tests Closes: https://bugs.gentoo.org/832604 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/google-api-core/google-api-core-2.5.0.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 index 32405aec83ad..d7b0cd4aed5a 100644 --- 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 @@ -55,7 +55,7 @@ EPYTEST_DESELECT=( tests/unit/test_operation.py::test_exception_with_error_code ) -python_install_all() { - distutils-r1_python_install_all - find "${D}" -name '*.pth' -delete || die +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die }
