summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-01-31 09:31:16 +0100
committerMichał Górny <mgorny@gentoo.org>2022-01-31 09:31:36 +0100
commitefce30a4bd03170d8226ecce38f736621982b4ec (patch)
tree0d38c87e3c61bf64a27bfcb2513864baefda7840 /dev-python/isort
parentdev-python/pip: Fix accidentally installing virtualenv w/ USE=test (diff)
downloadgentoo-efce30a4bd03170d8226ecce38f736621982b4ec.tar.gz
gentoo-efce30a4bd03170d8226ecce38f736621982b4ec.tar.bz2
gentoo-efce30a4bd03170d8226ecce38f736621982b4ec.zip
dev-python/isort: Fix accidentally installing examples w/ USE=test
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/isort')
-rw-r--r--dev-python/isort/isort-5.10.1.ebuild2
1 files changed, 2 insertions, 0 deletions
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