• [gentoo-dev] [PATCH 09/50] flag-o-matic.eclass: drop support for EAPI 6

    From David Seifert@21:1/5 to All on Tue Aug 27 17:20:01 2024
    Signed-off-by: David Seifert <soap@gentoo.org>
    ---
    eclass/flag-o-matic.eclass | 12 +++++-------
    1 file changed, 5 insertions(+), 7 deletions(-)

    diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass
    index c6b1ad80e12e..040a8529a048 100644
    --- a/eclass/flag-o-matic.eclass
    +++ b/eclass/flag-o-matic.eclass
    @@ -4,14 +4,14 @@
    # @ECLASS: flag-o-matic.eclass
    # @MAINTAINER:
    # toolchain@gentoo.org
    -# @SUPPORTED_EAPIS: 6 7 8
    +# @SUPPORTED_EAPIS: 7 8
    # @BLURB: common functions to manipulate and query toolchain flags
    # @DESCRIPTION:
    # This eclass contains a suite of functions to help developers sanely
    # and safely manage toolchain flags in their builds.

    case ${EAPI} in
    - 6|7|8) ;;
    + 7|8) ;;
    *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
    esac

    @@ -20,8 +20,6 @@ _FLAG_O_MATIC_ECLASS=1

    inherit toolchain-funcs

    -[[ ${EAPI} == 6 ]] && inherit eqawarn
    -
    # @FUNCTION: all-flag-vars
    # @DESCRIPTION:
    # Return all the flag variables that our high level functions operate on.
    @@ -35,7 +33,7 @@ all-flag-vars(