• [gentoo-dev] [PATCH v2] distutils-r1.eclass: Make use of gpep517's new

    From James Le Cuirot@21:1/5 to All on Thu Sep 28 23:40:01 2023
    This fixes cross-prefix installations.

    Signed-off-by: James Le Cuirot <chewi@gentoo.org>
    ---
    eclass/distutils-r1.eclass | 3 ++-
    1 file changed, 2 insertions(+), 1 deletion(-)

    diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
    index 56afcdc5bcb8..1cc91110dccf 100644
    --- a/eclass/distutils-r1.eclass
    +++ b/eclass/distutils-r1.eclass
    @@ -210,7 +210,7 @@ _distutils_set_globals() {
    fi

    bdep='
    - >=dev-python/gpep517-13[${PYTHON_USEDEP}]
    + >=dev-python/gpep517-15[${PYTHON_USEDEP}]
    '
    case ${DISTUTILS_USE_PEP517} in
    flit)
    @@ -1444,6 +1444,7 @@ distutils_pep517_install() {
    einfo " Building the wheel for ${PWD#${WORKDIR}/} via ${build_backend}"
    local cmd=(
    gpep517 build-wheel
    + --prefix="${EPREFIX}/usr"
    --backend "${build_backend}"
    --output-fd 3
    --wheel-dir "${WHEEL_BUILD_DIR}"
    --
    2.41.0

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