summaryrefslogtreecommitdiff
path: root/eclass/ruby-ng-gnome2.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-21 19:01:17 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-21 19:01:17 +0100
commit6b9ad6410884e4046c7c584bbaea45b5848d07b5 (patch)
tree41650f63ecf56774e90aee8621d751c23ab02543 /eclass/ruby-ng-gnome2.eclass
parent491c3b190bc8dfebeb156c06938f76034140b65f (diff)
gentoo resync : 21.07.2018
Diffstat (limited to 'eclass/ruby-ng-gnome2.eclass')
-rw-r--r--eclass/ruby-ng-gnome2.eclass10
1 files changed, 9 insertions, 1 deletions
diff --git a/eclass/ruby-ng-gnome2.eclass b/eclass/ruby-ng-gnome2.eclass
index 2166cbfacce7..8a3ce33c0dc8 100644
--- a/eclass/ruby-ng-gnome2.eclass
+++ b/eclass/ruby-ng-gnome2.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: ruby-ng-gnome2.eclass
@@ -11,6 +11,14 @@
# This eclass simplifies installation of the various pieces of
# ruby-gnome2 since they share a very common installation procedure.
+case "${EAPI:-0}" in
+ 0|1|2|3|4|5|6)
+ ;;
+ *)
+ die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}"
+ ;;
+esac
+
RUBY_FAKEGEM_NAME="${RUBY_FAKEGEM_NAME:-${PN#ruby-}}"
RUBY_FAKEGEM_TASK_TEST=""
RUBY_FAKEGEM_TASK_DOC=""