summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-06-20 23:13:56 +0200
committerDavid Seifert <soap@gentoo.org>2021-06-20 23:13:56 +0200
commit8e1b166a16be4f6523d35fe3f72344408f8734d7 (patch)
tree920a5a252ffae5b462b2e16c80d00d34d1e01752 /eclass
parentgnome.org.eclass: [QA] add EAPI guard (diff)
downloadgentoo-8e1b166a16be4f6523d35fe3f72344408f8734d7.tar.gz
gentoo-8e1b166a16be4f6523d35fe3f72344408f8734d7.tar.bz2
gentoo-8e1b166a16be4f6523d35fe3f72344408f8734d7.zip
gnustep-2.eclass: [QA] add EAPI guard
Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/gnustep-2.eclass14
1 files changed, 12 insertions, 2 deletions
diff --git a/eclass/gnustep-2.eclass b/eclass/gnustep-2.eclass
index d1acdc1dd4b..fbfdb7e8934 100644
--- a/eclass/gnustep-2.eclass
+++ b/eclass/gnustep-2.eclass
@@ -1,15 +1,23 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: gnustep-2.eclass
# @MAINTAINER:
# GNUstep Herd <gnustep@gentoo.org>
-# @SUPPORTED_EAPIS: 0 1 2 3 4 5 6 7
+# @SUPPORTED_EAPIS: 5 6 7
# @BLURB: eclass for GNUstep Apps, Frameworks, and Bundles build
# @DESCRIPTION:
# This eclass sets up GNUstep environment to properly install
# GNUstep packages
+case ${EAPI:-0} in
+ [567]) ;;
+ *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
+esac
+
+if [[ -z ${_GNUSTEP_2_ECLASS} ]] ; then
+_GNUSTEP_2_ECLASS=1
+
inherit gnustep-base
DEPEND=">=gnustep-base/gnustep-make-2.0
@@ -24,3 +32,5 @@ RDEPEND="${DEPEND}"
# * gnustep-base_src_compile
# * gnustep-base_src_install
# * gnustep-base_pkg_postinst
+
+fi