summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2018-08-19 10:18:41 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2018-08-20 18:13:52 +0200
commit5030dba0931f658a10f16d9b62342b2c0015b612 (patch)
treebe43273bb8141bfd435703db28e3008e21054fbb /eclass/gnustep-base.eclass
parentsys-apps/xinetd: drop old (diff)
downloadgentoo-5030dba0931f658a10f16d9b62342b2c0015b612.tar.gz
gentoo-5030dba0931f658a10f16d9b62342b2c0015b612.tar.bz2
gentoo-5030dba0931f658a10f16d9b62342b2c0015b612.zip
gnustep-base.eclass: update check to call default src_prepare
This now filters older EAPIs to support EAPI 7 Also add @SUPPORTED_EAPIS
Diffstat (limited to 'eclass/gnustep-base.eclass')
-rw-r--r--eclass/gnustep-base.eclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/gnustep-base.eclass b/eclass/gnustep-base.eclass
index 5698c777da67..6cd9f532a55f 100644
--- a/eclass/gnustep-base.eclass
+++ b/eclass/gnustep-base.eclass
@@ -1,9 +1,10 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: gnustep-base.eclass
# @MAINTAINER:
# GNUstep Herd <gnustep@gentoo.org>
+# @SUPPORTED_EAPIS: 0 1 2 3 4 5 6 7
# @BLURB: Internal handling of GNUstep pacakges
# @DESCRIPTION:
# Inner gnustep eclass, should only be inherited directly by gnustep-base
@@ -62,7 +63,7 @@ gnustep-base_src_prepare() {
eend $?
fi
- has ${EAPI:-0} 6 && default
+ ! has ${EAPI:-0} 0 1 2 3 4 5 && default
}
gnustep-base_src_configure() {