summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2015-12-19 13:59:55 +0100
committerPacho Ramos <pacho@gentoo.org>2015-12-19 13:59:55 +0100
commite81e95bfd07d34b01192f4b650fcce72f0f88f50 (patch)
tree0addc272a2b5859e85017747a0f84062b504d3e2 /eclass
parent8c7f5c14fe341c3e2bba2e7bf935300a357f7b09 (diff)
downloadgentoo-e81e95bfd07d34b01192f4b650fcce72f0f88f50.tar.gz
gentoo-e81e95bfd07d34b01192f4b650fcce72f0f88f50.tar.xz
eclass/readme.gentoo-r1.eclass: Add support for older EAPIs as discussed with ulm via IRC to let easier migration.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/readme.gentoo-r1.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/readme.gentoo-r1.eclass b/eclass/readme.gentoo-r1.eclass
index d98a445d4ea..c07665072c2 100644
--- a/eclass/readme.gentoo-r1.eclass
+++ b/eclass/readme.gentoo-r1.eclass
@@ -24,10 +24,10 @@ _README_GENTOO_ECLASS=1
inherit eutils
case "${EAPI:-0}" in
- 0|1|2|3|4|5)
+ 0|1|2|3)
die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}"
;;
- 6)
+ 4|5|6)
;;
*)
die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}"