Gentoo Archives: gentoo-dev

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-dev@l.g.o
Cc: "Ulrich Müller" <ulm@g.o>
Subject: [gentoo-dev] [PATCH 7/7] toolchain-funcs.eclass: Drop support for EAPIs 0 and 5
Date: Tue, 28 Jun 2022 17:27:38
Message-Id: 20220628172502.30372-8-ulm@gentoo.org
In Reply to: [gentoo-dev] [PATCH 0/7] Drop support for EAPI 5 in eutils and its friends by "Ulrich Müller"
1 Signed-off-by: Ulrich Müller <ulm@g.o>
2 ---
3 eclass/toolchain-funcs.eclass | 7 +++----
4 1 file changed, 3 insertions(+), 4 deletions(-)
5
6 diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass
7 index 17c075895d55..b21eb5542208 100644
8 --- a/eclass/toolchain-funcs.eclass
9 +++ b/eclass/toolchain-funcs.eclass
10 @@ -4,7 +4,7 @@
11 # @ECLASS: toolchain-funcs.eclass
12 # @MAINTAINER:
13 # Toolchain Ninjas <toolchain@g.o>
14 -# @SUPPORTED_EAPIS: 5 6 7 8
15 +# @SUPPORTED_EAPIS: 6 7 8
16 # @BLURB: functions to query common info about the toolchain
17 # @DESCRIPTION:
18 # The toolchain-funcs aims to provide a complete suite of functions
19 @@ -13,9 +13,8 @@
20 # in such a way that you can rely on the function always returning
21 # something sane.
22
23 -case ${EAPI:-0} in
24 - # EAPI=0 is still used by crossdev, bug #797367
25 - 0|5|6|7|8) ;;
26 +case ${EAPI} in
27 + 6|7|8) ;;
28 *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
29 esac
30
31 --
32 2.35.1