Gentoo Archives: gentoo-dev

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-dev@l.g.o
Cc: "Ulrich Müller" <ulm@g.o>, Pacho Ramos <pacho@g.o>
Subject: [gentoo-dev] [PATCH] readme.gentoo-r1.eclass: Support EAPI 8, drop EAPIs 4 and 5
Date: Tue, 15 Jun 2021 16:49:21
Message-Id: 20210615164857.21635-1-ulm@gentoo.org
1 Reviewed-by: Pacho Ramos <pacho@g.o>
2 Signed-off-by: Ulrich Müller <ulm@g.o>
3 ---
4 eclass/readme.gentoo-r1.eclass | 8 ++++----
5 1 file changed, 4 insertions(+), 4 deletions(-)
6
7 diff --git a/eclass/readme.gentoo-r1.eclass b/eclass/readme.gentoo-r1.eclass
8 index dfa3b52b6765..69d0e1c5c6b4 100644
9 --- a/eclass/readme.gentoo-r1.eclass
10 +++ b/eclass/readme.gentoo-r1.eclass
11 @@ -1,4 +1,4 @@
12 -# Copyright 1999-2018 Gentoo Foundation
13 +# Copyright 1999-2021 Gentoo Authors
14 # Distributed under the terms of the GNU General Public License v2
15
16 # @ECLASS: readme.gentoo-r1.eclass
17 @@ -6,7 +6,7 @@
18 # Pacho Ramos <pacho@g.o>
19 # @AUTHOR:
20 # Author: Pacho Ramos <pacho@g.o>
21 -# @SUPPORTED_EAPIS: 4 5 6 7
22 +# @SUPPORTED_EAPIS: 6 7 8
23 # @BLURB: install a doc file shown via elog messages
24 # @DESCRIPTION:
25 # An eclass for installing a README.gentoo doc file recording tips
26 @@ -21,10 +21,10 @@ if [[ -z ${_README_GENTOO_ECLASS} ]]; then
27 _README_GENTOO_ECLASS=1
28
29 case "${EAPI:-0}" in
30 - 0|1|2|3)
31 + 0|1|2|3|4|5)
32 die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}"
33 ;;
34 - 4|5|6|7)
35 + 6|7|8)
36 ;;
37 *)
38 die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}"
39 --
40 2.32.0