• [gentoo-dev] [PATCH 1/2] distutils-r1.eclass: Fix disabling DISTUTILS_A

    From =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?@21:1/5 to All on Fri Aug 2 21:40:02 2024
    Fix the declaration of DISTUTILS_ALLOW_WHEEL_REUSE to allow disabling it
    via setting the variable to an empty value in the environment.

    Signed-off-by: Michał Górny <mgorny@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 fa8edb5cdfb7..4afee3d45b1c 100644
    --- a/eclass/distutils-r1.eclass
    +++ b/eclass/distutils-r1.eclass
    @@ -204,7 +204,7 @@ esac
    # This is an optimization that can avoid the overhead of calling into
    # the build system in pure Python packages and packages using the stable
    # Python ABI.
    -DISTUTILS_ALLOW_WHEEL_REUSE=1
    +: ${DISTUTILS_ALLOW_WHEEL_REUSE=1}

    # @ECLASS_VARIABLE: BUILD_DIR
    # @OUTPUT_VARIABLE
    --
    2.45.2

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