commit:     18fda95cea306efe8009d1100195225acd8f8756
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 27 21:13:23 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 11 20:59:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18fda95c

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 <AT> gentoo.org>

 eclass/autotools.eclass | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass
index 6c016e0b786..0e8f3cdc98a 100644
--- a/eclass/autotools.eclass
+++ b/eclass/autotools.eclass
@@ -4,7 +4,7 @@
 # @ECLASS: autotools.eclass
 # @MAINTAINER:
 # [email protected]
-# @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

Reply via email to