• [gentoo-dev] [PATCH 6/7] distutils-r1.eclass: Remove support for gpep51

    From =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?@21:1/5 to All on Fri Nov 25 18:10:02 2022
    Signed-off-by: Michał Górny <mgorny@gentoo.org>
    ---
    eclass/distutils-r1.eclass | 37 ++++++++-----------------------------
    1 file changed, 8 insertions(+), 29 deletions(-)

    diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
    index 1cc4626f3a12..97c5e562bc0f 100644
    --- a/eclass/distutils-r1.eclass
    +++ b/eclass/distutils-r1.eclass
    @@ -1265,25 +1265,14 @@ distutils_wheel_install() {
    local wheel=${2}

    einfo " Installing ${wheel##*/} to ${root}"
    - if has_version -b ">=dev-python/gpep517-9"; then
    - # TODO: inline when we dep on >=9
    - local cmd=(
    - gpep517 install-wheel
    - --destdir="${root}"
    - --interpreter="${PYTHON}"
    - --prefix="${EPREFIX}/usr"
    - --optimize=all
    - "${wheel}"
    - )
    - else
    - local cmd=(
    - gpep517 install-wheel
    - --destdir="${root}"
    - --interpreter="${PYTHON}"
    - --prefix="${EPREFIX}/usr"
    - "${wheel}"
    - )
    - fi
    + local cmd=(
    + gpep517 install-wheel
    + --destdir="${root}"
    + --interpreter="${PYTHON}"
    + --prefix="${EPREFIX}/usr"
    + --optimize=all
    + "${