summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-27 21:13:23 +0000
committerSam James <sam@gentoo.org>2021-04-11 20:59:49 +0000
commit18fda95cea306efe8009d1100195225acd8f8756 (patch)
tree1782e54d08643cc8c642c1d0449edf785785e1e2 /eclass/autotools.eclass
parentautotools.eclass: consistent variable references (diff)
downloadgentoo-18fda95cea306efe8009d1100195225acd8f8756.tar.gz
gentoo-18fda95cea306efe8009d1100195225acd8f8756.tar.bz2
gentoo-18fda95cea306efe8009d1100195225acd8f8756.zip
autotools.eclass: drop support for < EAPI 5
Needed for a subsequent change. < EAPI 5 is no longer in ::gentoo (since December). Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass/autotools.eclass')
-rw-r--r--eclass/autotools.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass
index 6c016e0b786d..0e8f3cdc98ac 100644
--- a/eclass/autotools.eclass
+++ b/eclass/autotools.eclass
@@ -4,7 +4,7 @@
# @ECLASS: autotools.eclass
# @MAINTAINER:
# base-system@gentoo.org
-# @SUPPORTED_EAPIS: 0 1 2 3 4 5 6 7
+# @SUPPORTED_EAPIS: 5 6 7
# @BLURB: Regenerates auto* build scripts
# @DESCRIPTION:
# This eclass is for safely handling autotooled software packages that need to
@@ -27,7 +27,7 @@ if [[ -z ${_AUTOTOOLS_ECLASS} ]] ; then
_AUTOTOOLS_ECLASS=1
case ${EAPI:-0} in
- 0|1|2|3|4|5|6)
+ 5|6)
# Needed for eqawarn
inherit eutils
;;
@@ -132,7 +132,7 @@ RDEPEND=""
: ${AUTOTOOLS_AUTO_DEPEND:=yes}
if [[ ${AUTOTOOLS_AUTO_DEPEND} != "no" ]] ; then
case ${EAPI:-0} in
- 0|1|2|3|4|5|6) DEPEND=${AUTOTOOLS_DEPEND} ;;
+ 4|5|6) DEPEND=${AUTOTOOLS_DEPEND} ;;
7) BDEPEND=${AUTOTOOLS_DEPEND} ;;
esac
fi