mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-15 00:46:58 +02:00
eclass/prefix: Sync with Gentoo
It's from Gentoo commit 7b35defea189cec8fc268e1ba56565d82150263f.
This commit is contained in:
parent
d32c8d300b
commit
5931980a57
@ -5,7 +5,7 @@
|
|||||||
# @MAINTAINER:
|
# @MAINTAINER:
|
||||||
# Feel free to contact the Prefix team through <prefix@gentoo.org> if
|
# Feel free to contact the Prefix team through <prefix@gentoo.org> if
|
||||||
# you have problems, suggestions or questions.
|
# you have problems, suggestions or questions.
|
||||||
# @SUPPORTED_EAPIS: 5 6 7 8
|
# @SUPPORTED_EAPIS: 7 8
|
||||||
# @BLURB: Eclass to provide Prefix functionality
|
# @BLURB: Eclass to provide Prefix functionality
|
||||||
# @DESCRIPTION:
|
# @DESCRIPTION:
|
||||||
# Gentoo Prefix allows users to install into a self defined offset
|
# Gentoo Prefix allows users to install into a self defined offset
|
||||||
@ -16,10 +16,6 @@ if [[ -z ${_PREFIX_ECLASS} ]]; then
|
|||||||
_PREFIX_ECLASS=1
|
_PREFIX_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
|
||||||
|
Loading…
Reference in New Issue
Block a user