diff options
author | Sam James <sam@gentoo.org> | 2021-06-20 23:13:50 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-06-20 23:13:50 +0200 |
commit | d57fe02b0d649a5ee02b1634220e42bb0e22f9cc (patch) | |
tree | 23a3acbb932bf5e02e87eb3ea177a34b741748f0 /eclass/fortran-2.eclass | |
parent | eutils.eclass: [QA] drop < EAPI 5 (diff) | |
download | gentoo-d57fe02b0d649a5ee02b1634220e42bb0e22f9cc.tar.gz gentoo-d57fe02b0d649a5ee02b1634220e42bb0e22f9cc.tar.bz2 gentoo-d57fe02b0d649a5ee02b1634220e42bb0e22f9cc.zip |
fortran-2.eclass: [QA] drop EAPI 4 support
Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'eclass/fortran-2.eclass')
-rw-r--r-- | eclass/fortran-2.eclass | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/eclass/fortran-2.eclass b/eclass/fortran-2.eclass index 6049b03b8f14..0bb00f475a21 100644 --- a/eclass/fortran-2.eclass +++ b/eclass/fortran-2.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 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: 4 5 6 7 +# @SUPPORTED_EAPIS: 5 6 7 # @BLURB: Simplify fortran compiler management # @DESCRIPTION: # If you need a fortran compiler, then you should be inheriting this eclass. @@ -27,9 +27,10 @@ # FORTRAN_NEED_OPENMP=1 inherit toolchain-funcs + case ${EAPI:-0} in # not used in the eclass, but left for backward compatibility with legacy users - 4|5|6) inherit eutils ;; + 5|6) inherit eutils ;; 7) ;; *) die "EAPI=${EAPI} is not supported" ;; esac |