From d1cffb5e0c1d470cf472e1d008b0b1f4861a5f65 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Thu, 13 Jan 2022 11:57:07 +0100 Subject: distutils-r1.eclass: Force stdlib distutils for the time being MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'eclass/distutils-r1.eclass') diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 074a611c84dd..85e94bd569e4 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -1033,6 +1033,10 @@ distutils-r1_run_phase() { local -x LDSHARED="${CC} ${ldopts}" LDCXXSHARED="${CXX} ${ldopts}" + # Undo the default switch in setuptools-60+ for the time being, + # to avoid replacing .egg-info file with directory in-place. + local -x SETUPTOOLS_USE_DISTUTILS="${SETUPTOOLS_USE_DISTUTILS:-stdlib}" + "${@}" cd "${_DISTUTILS_INITIAL_CWD}" || die -- cgit v1.2.3-65-gdbad