1 |
Signed-off-by: Hans de Graaff <graaff@g.o> |
2 |
--- |
3 |
eclass/ruby-fakegem.eclass | 14 ++++---------- |
4 |
1 file changed, 4 insertions(+), 10 deletions(-) |
5 |
|
6 |
diff --git a/eclass/ruby-fakegem.eclass b/eclass/ruby-fakegem.eclass |
7 |
index 9b2fd39ccf14..34eeff2fad96 100644 |
8 |
--- a/eclass/ruby-fakegem.eclass |
9 |
+++ b/eclass/ruby-fakegem.eclass |
10 |
@@ -8,7 +8,7 @@ |
11 |
# Author: Diego E. Pettenò <flameeyes@g.o> |
12 |
# Author: Alex Legler <a3li@g.o> |
13 |
# Author: Hans de Graaff <graaff@g.o> |
14 |
-# @SUPPORTED_EAPIS: 4 5 6 7 |
15 |
+# @SUPPORTED_EAPIS: 4 5 6 7 8 |
16 |
# @BLURB: An eclass for installing Ruby packages to behave like RubyGems. |
17 |
# @DESCRIPTION: |
18 |
# This eclass allows to install arbitrary Ruby libraries (including Gems), |
19 |
@@ -129,17 +129,11 @@ RUBY_FAKEGEM_BINDIR="${RUBY_FAKEGEM_BINDIR-bin}" |
20 |
# legacy way to install extensions for a long time. |
21 |
RUBY_FAKEGEM_EXTENSION_LIBDIR="${RUBY_FAKEGEM_EXTENSION_LIBDIR-lib}" |
22 |
|
23 |
-case "${EAPI:-0}" in |
24 |
- 0|1|2|3) |
25 |
- die "Unsupported EAPI=${EAPI} (too old) for ruby-fakegem.eclass" ;; |
26 |
- 4|5|6|7) |
27 |
- ;; |
28 |
- *) |
29 |
- die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}" |
30 |
- ;; |
31 |
+case ${EAPI} in |
32 |
+ 4|5|6|7|8) ;; |
33 |
+ *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; |
34 |
esac |
35 |
|
36 |
- |
37 |
RUBY_FAKEGEM_SUFFIX="${RUBY_FAKEGEM_SUFFIX:-}" |
38 |
|
39 |
|
40 |
-- |
41 |
2.31.1 |