commit: 65701019d3531f43e471c0060fe9724bf3b7751a
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 11 22:25:49 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr 11 22:25:49 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65701019
distutils-r1.eclass: don't call copy_egg_info if USE_PEP517=setuptools
Fixes: 6451cf647f04b31a56ea2dc8c3f84a70c2468f87
Thanks-to: Ionen Wolkens <ionen <AT> gentoo.org>
Signed-off-by: Sam James <sam <AT> gentoo.org>
eclass/distutils-r1.eclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 2c3aee011847..7a7bdb4a4d39 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -1168,7 +1168,7 @@ distutils-r1_python_compile() {
eqawarn "be picked up by setuptools when
building for another interpreter."
eqawarn "Please remove this directory prior to
building."
fi
- else
+ elif [[ ! ${DISTUTILS_USE_PEP517} ]]; then
_distutils-r1_copy_egg_info
fi