• [gentoo-dev] [PATCH 02/41] alternatives.eclass: drop EAPI 5, 6 support

    From David Seifert@21:1/5 to All on Sun Dec 25 23:20:01 2022
    Signed-off-by: David Seifert <soap@gentoo.org>
    ---
    eclass/alternatives.eclass | 15 +++++++--------
    1 file changed, 7 insertions(+), 8 deletions(-)

    diff --git a/eclass/alternatives.eclass b/eclass/alternatives.eclass
    index 155a2457bbd..2489fc67359 100644
    --- a/eclass/alternatives.eclass
    +++ b/eclass/alternatives.eclass
    @@ -1,4 +1,4 @@
    -# Copyright 1999-2021 Gentoo Authors
    +# Copyright 1999-2022 Gentoo Authors
    # Distributed under the terms of the GNU General Public License v2

    # @ECLASS: alternatives.eclass
    @@ -6,7 +6,7 @@
    # maintainer-needed@gentoo.org
    # @AUTHOR:
    # Alastair Tse <liquidx@gentoo.org> (03 Oct 2003)
    -# @SUPPORTED_EAPIS: 5 6 7
    +# @SUPPORTED_EAPIS: 7
    # @BLURB: Creates symlink to the latest version of multiple slotted packages.
    # @DESCRIPTION:
    # When a package is SLOT'ed, very often we need to have a symlink to the
    @@ -42,12 +42,10 @@
    # consider using this unless you are want to do something special.

    case ${EAPI} in
    - [5-7]) ;;
    - *) die "EAPI=${EAPI:-0} is not supported" ;;
    + 7) ;;
    + *) die "${ECLAS