Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 17/28] multibuild.eclass: Enable EAPI 8
Date: Sun, 20 Jun 2021 10:01:48
Message-Id: 20210620095552.625633-18-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH 00/28] python-r1 suite EAPI 8 support/cleanup by "Michał Górny"
1 Signed-off-by: Michał Górny <mgorny@g.o>
2 ---
3 eclass/multibuild.eclass | 8 ++++----
4 1 file changed, 4 insertions(+), 4 deletions(-)
5
6 diff --git a/eclass/multibuild.eclass b/eclass/multibuild.eclass
7 index 8f9612bc747e..37568ebf87cc 100644
8 --- a/eclass/multibuild.eclass
9 +++ b/eclass/multibuild.eclass
10 @@ -1,4 +1,4 @@
11 -# Copyright 1999-2020 Gentoo Authors
12 +# Copyright 1999-2021 Gentoo Authors
13 # Distributed under the terms of the GNU General Public License v2
14
15 # @ECLASS: multibuild.eclass
16 @@ -6,7 +6,7 @@
17 # Michał Górny <mgorny@g.o>
18 # @AUTHOR:
19 # Author: Michał Górny <mgorny@g.o>
20 -# @SUPPORTED_EAPIS: 4 5 6 7
21 +# @SUPPORTED_EAPIS: 4 5 6 7 8
22 # @BLURB: A generic eclass for building multiple variants of packages.
23 # @DESCRIPTION:
24 # The multibuild eclass aims to provide a generic framework for building
25 @@ -14,10 +14,10 @@
26 # implementations).
27
28 case "${EAPI:-0}" in
29 - 0|1|2|3)
30 + [0-3])
31 die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}"
32 ;;
33 - 4|5|6|7)
34 + [4-8])
35 ;;
36 *)
37 die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}"
38 --
39 2.32.0