1 |
Signed-off-by: David Seifert <soap@g.o> |
2 |
--- |
3 |
eclass/ada.eclass | 15 ++++----------- |
4 |
1 file changed, 4 insertions(+), 11 deletions(-) |
5 |
|
6 |
diff --git a/eclass/ada.eclass b/eclass/ada.eclass |
7 |
index bf4cd0c59bc..98f00972c54 100644 |
8 |
--- a/eclass/ada.eclass |
9 |
+++ b/eclass/ada.eclass |
10 |
@@ -6,7 +6,7 @@ |
11 |
# Ada team <ada@g.o> |
12 |
# @AUTHOR: |
13 |
# Tupone Alfredo <tupone@g.o> |
14 |
-# @SUPPORTED_EAPIS: 6 7 |
15 |
+# @SUPPORTED_EAPIS: 7 8 |
16 |
# @BLURB: An eclass for Ada packages |
17 |
# @DESCRIPTION: |
18 |
# This eclass set the IUSE and REQUIRED_USE to request the ADA_TARGET |
19 |
@@ -23,16 +23,9 @@ |
20 |
# |
21 |
# Mostly copied from python-single-r1.eclass |
22 |
|
23 |
-case "${EAPI:-0}" in |
24 |
- 0|1|2|3|4|5) |
25 |
- die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}" |
26 |
- ;; |
27 |
- 6|7|8) |
28 |
- # EAPI=5 is required for sane USE_EXPAND dependencies |
29 |
- ;; |
30 |
- *) |
31 |
- die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}" |
32 |
- ;; |
33 |
+case ${EAPI} in |
34 |
+ 7|8) ;; |
35 |
+ *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; |
36 |
esac |
37 |
|
38 |
EXPORT_FUNCTIONS pkg_setup |
39 |
-- |
40 |
2.39.0 |