eclass/multiprocessing: Sync with Gentoo

It's from Gentoo commit 58a0e5e192dcb4f4062a24e58aa2ebb0bb8bd989.
This commit is contained in:
Flatcar Buildbot 2024-10-21 07:06:52 +00:00
parent 4e2a257c79
commit a9a0b512c9

View File

@ -7,7 +7,7 @@
# @AUTHOR: # @AUTHOR:
# Brian Harring <ferringb@gentoo.org> # Brian Harring <ferringb@gentoo.org>
# Mike Frysinger <vapier@gentoo.org> # Mike Frysinger <vapier@gentoo.org>
# @SUPPORTED_EAPIS: 5 6 7 8 # @SUPPORTED_EAPIS: 7 8
# @BLURB: multiprocessing helper functions # @BLURB: multiprocessing helper functions
# @DESCRIPTION: # @DESCRIPTION:
# The multiprocessing eclass contains a suite of utility functions # The multiprocessing eclass contains a suite of utility functions
@ -28,10 +28,6 @@ if [[ -z ${_MULTIPROCESSING_ECLASS} ]]; then
_MULTIPROCESSING_ECLASS=1 _MULTIPROCESSING_ECLASS=1
case ${EAPI} in case ${EAPI} in
5|6)
ewarn "${CATEGORY}/${PF}: ebuild uses ${ECLASS} with deprecated EAPI ${EAPI}!"
ewarn "${CATEGORY}/${PF}: Support will be removed on 2024-10-08. Please port to newer EAPI."
;;
7|8) ;; 7|8) ;;
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac esac