commit: db20484e0e2e1b5cf0eaa9b14fa0a9079865e6a2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Thu Sep 10 16:07:49 2020 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Sat Sep 12 16:02:58 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db20484e
eutils.eclass: Specify supported EAPIs. Proactively deprecate in future EAPIs, as requested by soap. Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> eclass/eutils.eclass | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass index c2fc05c9dbe..f74074fb4f1 100644 --- a/eclass/eutils.eclass +++ b/eclass/eutils.eclass @@ -4,6 +4,7 @@ # @ECLASS: eutils.eclass # @MAINTAINER: # base-sys...@gentoo.org +# @SUPPORTED_EAPIS: 0 1 2 3 4 5 6 7 # @BLURB: many extra (but common) functions that are used in ebuilds # @DESCRIPTION: # The eutils eclass contains a suite of functions that complement @@ -19,10 +20,12 @@ _EUTILS_ECLASS=1 # implicitly inherited (now split) eclasses case ${EAPI:-0} in -0|1|2|3|4|5|6) - inherit desktop epatch estack ltprune multilib preserve-libs \ - toolchain-funcs vcs-clean - ;; + 0|1|2|3|4|5|6) + inherit desktop epatch estack ltprune multilib preserve-libs \ + toolchain-funcs vcs-clean + ;; + 7) ;; + *) die "${ECLASS} is banned in EAPI ${EAPI}" ;; esac # @FUNCTION: emktemp