diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-01-13 11:57:07 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-01-16 18:40:49 +0100 |
commit | d1cffb5e0c1d470cf472e1d008b0b1f4861a5f65 (patch) | |
tree | ca9311b66a31fb65822ca8ca43525c75820b2a61 /eclass | |
parent | distutils-r1.eclass: Minimize & unify dift --via-venv logic (diff) | |
download | gentoo-d1cffb5e0c1d470cf472e1d008b0b1f4861a5f65.tar.gz gentoo-d1cffb5e0c1d470cf472e1d008b0b1f4861a5f65.tar.bz2 gentoo-d1cffb5e0c1d470cf472e1d008b0b1f4861a5f65.zip |
distutils-r1.eclass: Force stdlib distutils for the time being
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/distutils-r1.eclass | 4 |
1 files changed, 4 insertions, 0 deletions
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 |