summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2021-06-14 08:58:19 +0200
committerUlrich Müller <ulm@gentoo.org>2021-06-19 16:56:28 +0200
commit6cb83794516373cb71abbd121e7224b8f79711a5 (patch)
tree2ca7ab2c4ba3b3fbd77c0f0c211db4c691eadc73
parentelisp*.eclass: Support EAPI 8 (diff)
downloadgentoo-6cb83794516373cb71abbd121e7224b8f79711a5.tar.gz
gentoo-6cb83794516373cb71abbd121e7224b8f79711a5.tar.bz2
gentoo-6cb83794516373cb71abbd121e7224b8f79711a5.zip
readme.gentoo-r1.eclass: Support EAPI 8, drop EAPIs 4 and 5
Reviewed-by: Pacho Ramos <pacho@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r--eclass/readme.gentoo-r1.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/readme.gentoo-r1.eclass b/eclass/readme.gentoo-r1.eclass
index dfa3b52b6765..69d0e1c5c6b4 100644
--- a/eclass/readme.gentoo-r1.eclass
+++ b/eclass/readme.gentoo-r1.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: readme.gentoo-r1.eclass
@@ -6,7 +6,7 @@
# Pacho Ramos <pacho@gentoo.org>
# @AUTHOR:
# Author: Pacho Ramos <pacho@gentoo.org>
-# @SUPPORTED_EAPIS: 4 5 6 7
+# @SUPPORTED_EAPIS: 6 7 8
# @BLURB: install a doc file shown via elog messages
# @DESCRIPTION:
# An eclass for installing a README.gentoo doc file recording tips
@@ -21,10 +21,10 @@ if [[ -z ${_README_GENTOO_ECLASS} ]]; then
_README_GENTOO_ECLASS=1
case "${EAPI:-0}" in
- 0|1|2|3)
+ 0|1|2|3|4|5)
die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}"
;;
- 4|5|6|7)
+ 6|7|8)
;;
*)
die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}"