1 |
Signed-off-by: David Seifert <soap@g.o> |
2 |
--- |
3 |
eclass/python-any-r1.eclass | 7 +++++-- |
4 |
1 file changed, 5 insertions(+), 2 deletions(-) |
5 |
|
6 |
diff --git a/eclass/python-any-r1.eclass b/eclass/python-any-r1.eclass |
7 |
index 3863ef6fa84..869ece64c65 100644 |
8 |
--- a/eclass/python-any-r1.eclass |
9 |
+++ b/eclass/python-any-r1.eclass |
10 |
@@ -7,7 +7,7 @@ |
11 |
# @AUTHOR: |
12 |
# Author: Michał Górny <mgorny@g.o> |
13 |
# Based on work of: Krzysztof Pawlik <nelchael@g.o> |
14 |
-# @SUPPORTED_EAPIS: 0 1 2 3 4 5 6 7 |
15 |
+# @SUPPORTED_EAPIS: 5 6 7 |
16 |
# @BLURB: An eclass for packages having build-time dependency on Python. |
17 |
# @DESCRIPTION: |
18 |
# A minimal eclass for packages which need any Python interpreter |
19 |
@@ -37,7 +37,10 @@ |
20 |
# https://wiki.gentoo.org/wiki/Project:Python/python-any-r1 |
21 |
|
22 |
case "${EAPI:-0}" in |
23 |
- 0|1|2|3|4|5|6|7) |
24 |
+ [01234]) |
25 |
+ die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}" |
26 |
+ ;; |
27 |
+ [567]) |
28 |
;; |
29 |
*) |
30 |
die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}" |
31 |
-- |
32 |
2.24.1 |