diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-02-03 10:06:30 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-02-03 10:15:02 +0100 |
commit | 7287733bbd9b5877de6c498779efa69d1a98a2c8 (patch) | |
tree | 334c15194b8e2a906805b17ed898bf0caf1fdf50 /dev-python/google-api-core | |
parent | games-engines/odamex: Disable find_package(x11) only for client (diff) | |
download | gentoo-7287733bbd9b5877de6c498779efa69d1a98a2c8.tar.gz gentoo-7287733bbd9b5877de6c498779efa69d1a98a2c8.tar.bz2 gentoo-7287733bbd9b5877de6c498779efa69d1a98a2c8.zip |
dev-python/google-api-core: Fix .pth removal for tests
Closes: https://bugs.gentoo.org/832604
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/google-api-core')
-rw-r--r-- | dev-python/google-api-core/google-api-core-2.5.0.ebuild | 6 |
1 files 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 } |