Gentoo Archives: gentoo-dev

From: David Seifert <soap@g.o>
To: gentoo-dev@l.g.o
Cc: David Seifert <soap@g.o>
Subject: [gentoo-dev] [PATCH 31/41] rust-toolchain.eclass: drop EAPI 6, 7 support
Date: Sun, 25 Dec 2022 22:23:59
Message-Id: 20221225221552.8023-31-soap@gentoo.org
In Reply to: [gentoo-dev] [PATCH 01/41] ada.eclass: drop EAPI 6 support by David Seifert
1 Signed-off-by: David Seifert <soap@g.o>
2 ---
3 eclass/rust-toolchain.eclass | 8 +++-----
4 1 file changed, 3 insertions(+), 5 deletions(-)
5
6 diff --git a/eclass/rust-toolchain.eclass b/eclass/rust-toolchain.eclass
7 index 75b15a7088b..0bbdf46df1f 100644
8 --- a/eclass/rust-toolchain.eclass
9 +++ b/eclass/rust-toolchain.eclass
10 @@ -4,7 +4,7 @@
11 # @ECLASS: rust-toolchain.eclass
12 # @MAINTAINER:
13 # Rust Project <rust@g.o>
14 -# @SUPPORTED_EAPIS: 6 7 8
15 +# @SUPPORTED_EAPIS: 8
16 # @BLURB: helps map gentoo arches to rust ABIs
17 # @DESCRIPTION:
18 # This eclass contains a src_unpack default phase function, and
19 @@ -12,10 +12,8 @@
20 # gentoo arches.
21
22 case ${EAPI} in
23 - 6) : ;;
24 - 7) : ;;
25 - 8) : ;;
26 - *) die "EAPI=${EAPI:-0} is not supported" ;;
27 + 8) ;;
28 + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
29 esac
30
31 inherit multilib-build
32 --
33 2.39.0