commit:     5030dba0931f658a10f16d9b62342b2c0015b612
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 19 08:18:41 2018 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Mon Aug 20 16:13:52 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5030dba0

gnustep-base.eclass: update check to call default src_prepare

This now filters older EAPIs to support EAPI 7
Also add @SUPPORTED_EAPIS

 eclass/gnustep-base.eclass | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/eclass/gnustep-base.eclass b/eclass/gnustep-base.eclass
index 5698c777da6..6cd9f532a55 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 <[email protected]>
+# @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() {

Reply via email to