1 |
commit: 6cb83794516373cb71abbd121e7224b8f79711a5 |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 14 06:58:19 2021 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 19 14:56:28 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cb83794 |
7 |
|
8 |
readme.gentoo-r1.eclass: Support EAPI 8, drop EAPIs 4 and 5 |
9 |
|
10 |
Reviewed-by: Pacho Ramos <pacho <AT> gentoo.org> |
11 |
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> |
12 |
|
13 |
eclass/readme.gentoo-r1.eclass | 8 ++++---- |
14 |
1 file changed, 4 insertions(+), 4 deletions(-) |
15 |
|
16 |
diff --git a/eclass/readme.gentoo-r1.eclass b/eclass/readme.gentoo-r1.eclass |
17 |
index dfa3b52b676..69d0e1c5c6b 100644 |
18 |
--- a/eclass/readme.gentoo-r1.eclass |
19 |
+++ b/eclass/readme.gentoo-r1.eclass |
20 |
@@ -1,4 +1,4 @@ |
21 |
-# Copyright 1999-2018 Gentoo Foundation |
22 |
+# Copyright 1999-2021 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
# @ECLASS: readme.gentoo-r1.eclass |
26 |
@@ -6,7 +6,7 @@ |
27 |
# Pacho Ramos <pacho@g.o> |
28 |
# @AUTHOR: |
29 |
# Author: Pacho Ramos <pacho@g.o> |
30 |
-# @SUPPORTED_EAPIS: 4 5 6 7 |
31 |
+# @SUPPORTED_EAPIS: 6 7 8 |
32 |
# @BLURB: install a doc file shown via elog messages |
33 |
# @DESCRIPTION: |
34 |
# An eclass for installing a README.gentoo doc file recording tips |
35 |
@@ -21,10 +21,10 @@ if [[ -z ${_README_GENTOO_ECLASS} ]]; then |
36 |
_README_GENTOO_ECLASS=1 |
37 |
|
38 |
case "${EAPI:-0}" in |
39 |
- 0|1|2|3) |
40 |
+ 0|1|2|3|4|5) |
41 |
die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}" |
42 |
;; |
43 |
- 4|5|6|7) |
44 |
+ 6|7|8) |
45 |
;; |
46 |
*) |
47 |
die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}" |