commit:     8254f314140f3b14bf243898daba6b8d7070af6c
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 25 07:32:43 2022 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue Jun 28 12:44:47 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8254f314

gnustep-base.eclass: Don't inherit eutils in EAPI 8

... which is not supported by it. While at it, drop EAPI 5.

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

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

diff --git a/eclass/gnustep-base.eclass b/eclass/gnustep-base.eclass
index d37ecad102e0..9d72e6315fff 100644
--- a/eclass/gnustep-base.eclass
+++ b/eclass/gnustep-base.eclass
@@ -1,17 +1,18 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # @ECLASS: gnustep-base.eclass
 # @MAINTAINER:
 # GNUstep Herd <[email protected]>
-# @SUPPORTED_EAPIS: 5 6 7 8
+# @SUPPORTED_EAPIS: 6 7 8
 # @BLURB: Internal handling of GNUstep pacakges
 # @DESCRIPTION:
 # Inner gnustep eclass, should only be inherited directly by gnustep-base
 # packages
 
-case ${EAPI:-0} in
-       [5678]) inherit eutils ;;
+case ${EAPI} in
+       6|7) inherit eutils ;;
+       8) ;;
        *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
 esac
 
@@ -64,7 +65,7 @@ gnustep-base_src_prepare() {
                eend $?
        fi
 
-       ! has ${EAPI} 5 && default
+       default
 }
 
 gnustep-base_src_configure() {

Reply via email to