summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2022-06-25 09:32:43 +0200
committerUlrich Müller <ulm@gentoo.org>2022-06-28 14:44:47 +0200
commit8254f314140f3b14bf243898daba6b8d7070af6c (patch)
treea4550734575327ff7792994feeb7d532d693ad71 /eclass
parentvirtual/perl-Compress-Raw-Zlib: add 2.202.0 (diff)
downloadgentoo-8254f314140f3b14bf243898daba6b8d7070af6c.tar.gz
gentoo-8254f314140f3b14bf243898daba6b8d7070af6c.tar.bz2
gentoo-8254f314140f3b14bf243898daba6b8d7070af6c.zip
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@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/gnustep-base.eclass11
1 files 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 <gnustep@gentoo.org>
-# @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() {