Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Fri, 25 Jun 2021 18:24:26
Message-Id: 1624645452.f34b76673dc211ec4fd8424fb5188fe4ff641871.ulm@gentoo
1 commit: f34b76673dc211ec4fd8424fb5188fe4ff641871
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 22 21:59:02 2021 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 25 18:24:12 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f34b7667
7
8 usr-ldscript.eclass: Support EAPI 8, drop support for EAPI 4
9
10 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
11
12 eclass/usr-ldscript.eclass | 10 +++++-----
13 1 file changed, 5 insertions(+), 5 deletions(-)
14
15 diff --git a/eclass/usr-ldscript.eclass b/eclass/usr-ldscript.eclass
16 index 4ee129bda83..0d9cf11a7ab 100644
17 --- a/eclass/usr-ldscript.eclass
18 +++ b/eclass/usr-ldscript.eclass
19 @@ -1,18 +1,18 @@
20 -# Copyright 2019 Gentoo Authors
21 +# Copyright 2019-2021 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 # @ECLASS: usr-ldscript.eclass
25 # @MAINTAINER:
26 # Toolchain Ninjas <toolchain@g.o>
27 -# @SUPPORTED_EAPIS: 4 5 6 7
28 +# @SUPPORTED_EAPIS: 5 6 7 8
29 # @BLURB: Defines the gen_usr_ldscript function.
30
31 if [[ -z ${_USR_LDSCRIPT_ECLASS} ]]; then
32 _USR_LDSCRIPT_ECLASS=1
33
34 -case ${EAPI:-0} in
35 - 4|5|6|7) ;;
36 - *) die "EAPI=${EAPI} is not supported" ;;
37 +case ${EAPI} in
38 + 5|6|7|8) ;;
39 + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
40 esac
41
42 inherit multilib toolchain-funcs