1 |
commit: 5030dba0931f658a10f16d9b62342b2c0015b612 |
2 |
Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 19 08:18:41 2018 +0000 |
4 |
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 20 16:13:52 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5030dba0 |
7 |
|
8 |
gnustep-base.eclass: update check to call default src_prepare |
9 |
|
10 |
This now filters older EAPIs to support EAPI 7 |
11 |
Also add @SUPPORTED_EAPIS |
12 |
|
13 |
eclass/gnustep-base.eclass | 5 +++-- |
14 |
1 file changed, 3 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/eclass/gnustep-base.eclass b/eclass/gnustep-base.eclass |
17 |
index 5698c777da6..6cd9f532a55 100644 |
18 |
--- a/eclass/gnustep-base.eclass |
19 |
+++ b/eclass/gnustep-base.eclass |
20 |
@@ -1,9 +1,10 @@ |
21 |
-# Copyright 1999-2012 Gentoo Foundation |
22 |
+# Copyright 1999-2018 Gentoo Foundation |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
# @ECLASS: gnustep-base.eclass |
26 |
# @MAINTAINER: |
27 |
# GNUstep Herd <gnustep@g.o> |
28 |
+# @SUPPORTED_EAPIS: 0 1 2 3 4 5 6 7 |
29 |
# @BLURB: Internal handling of GNUstep pacakges |
30 |
# @DESCRIPTION: |
31 |
# Inner gnustep eclass, should only be inherited directly by gnustep-base |
32 |
@@ -62,7 +63,7 @@ gnustep-base_src_prepare() { |
33 |
eend $? |
34 |
fi |
35 |
|
36 |
- has ${EAPI:-0} 6 && default |
37 |
+ ! has ${EAPI:-0} 0 1 2 3 4 5 && default |
38 |
} |
39 |
|
40 |
gnustep-base_src_configure() { |