1 |
commit: e81e95bfd07d34b01192f4b650fcce72f0f88f50 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 19 12:59:55 2015 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 19 12:59:55 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e81e95bf |
7 |
|
8 |
eclass/readme.gentoo-r1.eclass: Add support for older EAPIs as discussed with ulm via IRC to let easier migration. |
9 |
|
10 |
eclass/readme.gentoo-r1.eclass | 4 ++-- |
11 |
1 file changed, 2 insertions(+), 2 deletions(-) |
12 |
|
13 |
diff --git a/eclass/readme.gentoo-r1.eclass b/eclass/readme.gentoo-r1.eclass |
14 |
index d98a445..c076650 100644 |
15 |
--- a/eclass/readme.gentoo-r1.eclass |
16 |
+++ b/eclass/readme.gentoo-r1.eclass |
17 |
@@ -24,10 +24,10 @@ _README_GENTOO_ECLASS=1 |
18 |
inherit eutils |
19 |
|
20 |
case "${EAPI:-0}" in |
21 |
- 0|1|2|3|4|5) |
22 |
+ 0|1|2|3) |
23 |
die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}" |
24 |
;; |
25 |
- 6) |
26 |
+ 4|5|6) |
27 |
;; |
28 |
*) |
29 |
die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}" |