Gentoo Archives: gentoo-dev

From: Marek Szuba <marecki@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] [PATCH] fortran-2.eclass: support EAPI 8
Date: Wed, 14 Jul 2021 11:06:12
Message-Id: 20210714110535.256897-2-marecki@gentoo.org
In Reply to: [gentoo-dev] fortran-2.eclass EAPI-8 support by Marek Szuba
1 Signed-off-by: Marek Szuba <marecki@g.o>
2 ---
3 eclass/fortran-2.eclass | 4 ++--
4 1 file changed, 2 insertions(+), 2 deletions(-)
5
6 diff --git a/eclass/fortran-2.eclass b/eclass/fortran-2.eclass
7 index 0bb00f475a2..9d0c71703e4 100644
8 --- a/eclass/fortran-2.eclass
9 +++ b/eclass/fortran-2.eclass
10 @@ -7,7 +7,7 @@
11 # @AUTHOR:
12 # Author Justin Lecher <jlec@g.o>
13 # Test functions provided by Sebastien Fabbro and Kacper Kowalik
14 -# @SUPPORTED_EAPIS: 5 6 7
15 +# @SUPPORTED_EAPIS: 5 6 7 8
16 # @BLURB: Simplify fortran compiler management
17 # @DESCRIPTION:
18 # If you need a fortran compiler, then you should be inheriting this eclass.
19 @@ -31,7 +31,7 @@ inherit toolchain-funcs
20 case ${EAPI:-0} in
21 # not used in the eclass, but left for backward compatibility with legacy users
22 5|6) inherit eutils ;;
23 - 7) ;;
24 + 7|8) ;;
25 *) die "EAPI=${EAPI} is not supported" ;;
26 esac
27
28 --
29 2.31.1