• [gentoo-dev] [PATCH] distutils-r1.eclass: Force stdlib distutils for th

    From =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?@21:1/5 to All on Thu Jan 13 12:00:02 2022
    Signed-off-by: Michał Górny <mgorny@gentoo.org>
    ---
    eclass/distutils-r1.eclass | 4 ++++
    1 file changed, 4 insertions(+)

    diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
    index 7bd9baba8167..0f0b8b1c28f4 100644
    --- a/eclass/distutils-r1.eclass
    +++ b/eclass/distutils-r1.eclass
    @@ -1021,6 +1021,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
    --
    2.34.1

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)