commit: c61a8d7eb3e345ec685eb9b2f08cca6a83bd819b Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun Jun 20 21:14:46 2021 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Sun Jun 20 21:14:46 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c61a8d7e
multiprocessing.eclass: [QA] add EAPI guard Signed-off-by: Sam James <sam <AT> gentoo.org> Signed-off-by: David Seifert <soap <AT> gentoo.org> eclass/multiprocessing.eclass | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/eclass/multiprocessing.eclass b/eclass/multiprocessing.eclass index 3e8b2f9d254..8363fa33bd1 100644 --- a/eclass/multiprocessing.eclass +++ b/eclass/multiprocessing.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: multiprocessing.eclass @@ -8,6 +8,7 @@ # Brian Harring <[email protected]> # Mike Frysinger <[email protected]> # @BLURB: multiprocessing helper functions +# @SUPPORTED_EAPIS: 5 6 7 8 # @DESCRIPTION: # The multiprocessing eclass contains a suite of utility functions # that could be helpful to controlling parallel multiple job execution. @@ -23,6 +24,11 @@ # } # @CODE +case ${EAPI:-0} in + [5678]) ;; + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; +esac + if [[ -z ${_MULTIPROCESSING_ECLASS} ]]; then _MULTIPROCESSING_ECLASS=1
