commit:     efce30a4bd03170d8226ecce38f736621982b4ec
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 31 08:31:16 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jan 31 08:31:36 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efce30a4

dev-python/isort: Fix accidentally installing examples w/ USE=test

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/isort/isort-5.10.1.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dev-python/isort/isort-5.10.1.ebuild 
b/dev-python/isort/isort-5.10.1.ebuild
index c45f67ae3d41..6ccbdc080667 100644
--- a/dev-python/isort/isort-5.10.1.ebuild
+++ b/dev-python/isort/isort-5.10.1.ebuild
@@ -50,6 +50,8 @@ python_test() {
                distutils_install_for_testing
                popd >/dev/null || die
        done
+       # remove examples leaked into BUILD_DIR
+       rm "${BUILD_DIR}"/lib/example* || die
 
        local EPYTEST_IGNORE=(
                # Excluded from upstream's test script

Reply via email to