1 |
Signed-off-by: Anna Vyalkova <cyber+gentoo@×××××.in> |
2 |
--- |
3 |
|
4 |
There's one broken package in the tree because of this bug: |
5 |
dev-python/reflink-0.21.1-r2 |
6 |
|
7 |
eclass/distutils-r1.eclass | 2 +- |
8 |
1 file changed, 1 insertion(+), 1 deletion(-) |
9 |
|
10 |
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass |
11 |
index ed368da798..76ad4ed9d2 100644 |
12 |
--- a/eclass/distutils-r1.eclass |
13 |
+++ b/eclass/distutils-r1.eclass |
14 |
@@ -1286,7 +1286,7 @@ distutils_pep517_install() { |
15 |
|
16 |
# clean the build tree; otherwise we may end up with PyPy3 |
17 |
# extensions duplicated into CPython dists |
18 |
- if [[ ${DISTUTILS_USE_PEP517:-setuptools} == setuptools ]]; then |
19 |
+ if [[ ! ${DISTUTILS_IN_SOURCE_BUILD} && ${DISTUTILS_USE_PEP517:-setuptools} == setuptools ]]; then |
20 |
rm -rf build || die |
21 |
fi |
22 |
} |
23 |
-- |
24 |
2.35.1 |