summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-05-03 12:40:27 +0100
committerSam James <sam@gentoo.org>2024-05-03 12:40:59 +0100
commit1bb3b5e672ba80e446b4c9dc27918a80c97c1be9 (patch)
treeda7116282b484f3bd1b21f351d8713b0f94540df /eclass/gnuconfig.eclass
parentautotools.eclass: conditionalize gnuconfig dependency (diff)
downloadgentoo-1bb3b5e672ba80e446b4c9dc27918a80c97c1be9.tar.gz
gentoo-1bb3b5e672ba80e446b4c9dc27918a80c97c1be9.tar.bz2
gentoo-1bb3b5e672ba80e446b4c9dc27918a80c97c1be9.zip
gnuconfig.eclass: drop EAPI 5 support
autotools.eclass hasn't had EAPI 5 support for ~2 years since 50710f3d0e8f19fab5571d9596c336314e96b5cf so this wasn't being used anyway (non-autotools.eclass use of gnuconfig.eclass is very niche). Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass/gnuconfig.eclass')
-rw-r--r--eclass/gnuconfig.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/gnuconfig.eclass b/eclass/gnuconfig.eclass
index df3c74867608..fb73087aeacf 100644
--- a/eclass/gnuconfig.eclass
+++ b/eclass/gnuconfig.eclass
@@ -6,7 +6,7 @@
# Sam James <sam@gentoo.org>
# @AUTHOR:
# Will Woods <wwoods@gentoo.org>
-# @SUPPORTED_EAPIS: 5 6 7 8
+# @SUPPORTED_EAPIS: 6 7 8
# @BLURB: Refresh bundled gnuconfig files (config.guess, config.sub)
# @DESCRIPTION:
# This eclass is used to automatically update files that typically come with
@@ -17,7 +17,7 @@
#
case ${EAPI:-0} in
- 5|6|7|8) ;;
+ 6|7|8) ;;
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac
@@ -39,7 +39,7 @@ GNUCONFIG_DEPEND="sys-devel/gnuconfig"
: "${GNUCONFIG_AUTO_DEPEND:=yes}"
if [[ ${GNUCONFIG_AUTO_DEPEND} != "no" ]] ; then
case ${EAPI} in
- 5|6) DEPEND=${GNUCONFIG_DEPEND} ;;
+ 6) DEPEND=${GNUCONFIG_DEPEND} ;;
*) BDEPEND=${GNUCONFIG_DEPEND} ;;
esac
fi
@@ -122,7 +122,7 @@ gnuconfig_findnewest() {
local prefix
case ${EAPI} in
- 5|6)
+ 6)
prefix="${EPREFIX}"
;;
*)