• [gentoo-dev] [PATCH 2/4] python-utils-r1.eclass: pypy3 is now 3.10-only

    From =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?@21:1/5 to All on Wed Jul 12 14:30:01 2023
    Signed-off-by: Michał Górny <mgorny@gentoo.org>
    ---
    eclass/python-utils-r1.eclass | 5 ++---
    1 file changed, 2 insertions(+), 3 deletions(-)

    diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index 81051699f1d9..a395538be39c 100644
    --- a/eclass/python-utils-r1.eclass
    +++ b/eclass/python-utils-r1.eclass
    @@ -238,12 +238,11 @@ _python_impl_matches() {
    fi
    return 0
    ;;
    - 3.9|3.10)
    - # <pypy3-7.3.12 is 3.9, >=7.3.12 is 3.10
    + 3.10)
    [[ ${impl} == python${pattern/./_} || ${impl} == pypy3 ]] &&
    return 0
    ;;
    - 3.8|3.1[1-2])
    + 3.8|3.9|3.1[1-2])
    [[ ${impl} == python${pattern/./_} ]] && return 0
    ;;
    *)
    --
    2.41.0

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