1 |
commit: 8780e756a7101f6342dbe2e3319167df013f84bb |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 15 05:57:54 2018 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 15 05:57:54 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8780e756 |
7 |
|
8 |
ruby-ng-gnome2.eclass: add proper EAPI guard |
9 |
|
10 |
eclass/ruby-ng-gnome2.eclass | 10 +++++++++- |
11 |
1 file changed, 9 insertions(+), 1 deletion(-) |
12 |
|
13 |
diff --git a/eclass/ruby-ng-gnome2.eclass b/eclass/ruby-ng-gnome2.eclass |
14 |
index 2166cbfacce..8a3ce33c0dc 100644 |
15 |
--- a/eclass/ruby-ng-gnome2.eclass |
16 |
+++ b/eclass/ruby-ng-gnome2.eclass |
17 |
@@ -1,4 +1,4 @@ |
18 |
-# Copyright 1999-2014 Gentoo Foundation |
19 |
+# Copyright 1999-2018 Gentoo Foundation |
20 |
# Distributed under the terms of the GNU General Public License v2 |
21 |
|
22 |
# @ECLASS: ruby-ng-gnome2.eclass |
23 |
@@ -11,6 +11,14 @@ |
24 |
# This eclass simplifies installation of the various pieces of |
25 |
# ruby-gnome2 since they share a very common installation procedure. |
26 |
|
27 |
+case "${EAPI:-0}" in |
28 |
+ 0|1|2|3|4|5|6) |
29 |
+ ;; |
30 |
+ *) |
31 |
+ die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}" |
32 |
+ ;; |
33 |
+esac |
34 |
+ |
35 |
RUBY_FAKEGEM_NAME="${RUBY_FAKEGEM_NAME:-${PN#ruby-}}" |
36 |
RUBY_FAKEGEM_TASK_TEST="" |
37 |
RUBY_FAKEGEM_TASK_DOC="" |