diff options
author | Ulrich Müller <ulm@gentoo.org> | 2020-09-10 18:07:49 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2020-09-12 18:02:58 +0200 |
commit | db20484e0e2e1b5cf0eaa9b14fa0a9079865e6a2 (patch) | |
tree | 19a58e4743e8d64887fe5df33bd2aac9157dd23e /eclass | |
parent | eutils.eclass: Remove optfeature() (diff) | |
download | gentoo-db20484e0e2e1b5cf0eaa9b14fa0a9079865e6a2.tar.gz gentoo-db20484e0e2e1b5cf0eaa9b14fa0a9079865e6a2.tar.bz2 gentoo-db20484e0e2e1b5cf0eaa9b14fa0a9079865e6a2.zip |
eutils.eclass: Specify supported EAPIs.
Proactively deprecate in future EAPIs, as requested by soap.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/eutils.eclass | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass index c2fc05c9dbed..f74074fb4f16 100644 --- a/eclass/eutils.eclass +++ b/eclass/eutils.eclass @@ -4,6 +4,7 @@ # @ECLASS: eutils.eclass # @MAINTAINER: # base-system@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 |