Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/isort/
Date: Mon, 31 Jan 2022 08:32:39
Message-Id: 1643617896.efce30a4bd03170d8226ecce38f736621982b4ec.mgorny@gentoo
1 commit: efce30a4bd03170d8226ecce38f736621982b4ec
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 31 08:31:16 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 31 08:31:36 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efce30a4
7
8 dev-python/isort: Fix accidentally installing examples w/ USE=test
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/isort/isort-5.10.1.ebuild | 2 ++
13 1 file changed, 2 insertions(+)
14
15 diff --git a/dev-python/isort/isort-5.10.1.ebuild b/dev-python/isort/isort-5.10.1.ebuild
16 index c45f67ae3d41..6ccbdc080667 100644
17 --- a/dev-python/isort/isort-5.10.1.ebuild
18 +++ b/dev-python/isort/isort-5.10.1.ebuild
19 @@ -50,6 +50,8 @@ python_test() {
20 distutils_install_for_testing
21 popd >/dev/null || die
22 done
23 + # remove examples leaked into BUILD_DIR
24 + rm "${BUILD_DIR}"/lib/example* || die
25
26 local EPYTEST_IGNORE=(
27 # Excluded from upstream's test script