• [gentoo-dev] [PATCH 10/50] fortran-2.eclass: drop support for EAPI 6

    From David Seifert@21:1/5 to All on Tue Aug 27 17:20:02 2024
    Signed-off-by: David Seifert <soap@gentoo.org>
    ---
    eclass/fortran-2.eclass | 20 ++++++--------------
    1 file changed, 6 insertions(+), 14 deletions(-)

    diff --git a/eclass/fortran-2.eclass b/eclass/fortran-2.eclass
    index 855dcba59a39..0538bfd49a11 100644
    --- a/eclass/fortran-2.eclass
    +++ b/eclass/fortran-2.eclass
    @@ -1,4 +1,4 @@
    -# Copyright 1999-2023 Gentoo Authors
    +# Copyright 1999-2024 Gentoo Authors
    # Distributed under the terms of the GNU General Public License v2

    # @ECLASS: fortran-2.eclass
    @@ -7,7 +7,7 @@
    # @AUTHOR:
    # Author Justin Lecher <jlec@gentoo.org>
    # Test functions provided by Sebastien Fabbro and Kacper Kowalik
    -# @SUPPORTED_EAPIS: 5 6 7 8
    +# @SUPPORTED_EAPIS: 7 8
    # @BLURB: Simplify fortran compiler management
    # @DESCRIPTION:
    # If you need a fortran compiler, then you should be inheriting this eclass. @@ -27,7 +27,7 @@
    # FORTRAN_NEED_OPENMP=1

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

    @@ -66,9 +66,7 @@ inherit toolchain-funcs
    for _f_use