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 1/2] usr-ldscript.eclass: Support EAPI 8, drop support for EAPI 4
Date: Tue, 22 Jun 2021 22:48:18
Message-Id: 20210622224800.31380-1-ulm@gentoo.org
1 Signed-off-by: Ulrich Müller <ulm@g.o>
2 ---
3 eclass/usr-ldscript.eclass | 8 ++++----
4 1 file changed, 4 insertions(+), 4 deletions(-)
5
6 diff --git a/eclass/usr-ldscript.eclass b/eclass/usr-ldscript.eclass
7 index 4ee129bda836..e35347b6f8cb 100644
8 --- a/eclass/usr-ldscript.eclass
9 +++ b/eclass/usr-ldscript.eclass
10 @@ -1,18 +1,18 @@
11 -# Copyright 2019 Gentoo Authors
12 +# Copyright 2019-2021 Gentoo Authors
13 # Distributed under the terms of the GNU General Public License v2
14
15 # @ECLASS: usr-ldscript.eclass
16 # @MAINTAINER:
17 # Toolchain Ninjas <toolchain@g.o>
18 -# @SUPPORTED_EAPIS: 4 5 6 7
19 +# @SUPPORTED_EAPIS: 5 6 7 8
20 # @BLURB: Defines the gen_usr_ldscript function.
21
22 if [[ -z ${_USR_LDSCRIPT_ECLASS} ]]; then
23 _USR_LDSCRIPT_ECLASS=1
24
25 case ${EAPI:-0} in
26 - 4|5|6|7) ;;
27 - *) die "EAPI=${EAPI} is not supported" ;;
28 + 5|6|7|8) ;;
29 + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
30 esac
31
32 inherit multilib toolchain-funcs
33 --
34 2.32.0

Replies