diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-07-24 20:54:05 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-07-24 20:54:05 +0100 |
commit | fc879856a16ea66528a11a00cf6ee19891f3d186 (patch) | |
tree | 01ac0b4134970567587e7176ffc531a404898186 /eclass/eutils.eclass | |
parent | f73bef95b39f4fbc8f0278c26ad1534e5eec322f (diff) |
gentoo auto-resync : 24:07:2022 - 20:54:05
Diffstat (limited to 'eclass/eutils.eclass')
-rw-r--r-- | eclass/eutils.eclass | 28 |
1 files changed, 2 insertions, 26 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass index e7fae2c656c6..dedb5b1696c1 100644 --- a/eclass/eutils.eclass +++ b/eclass/eutils.eclass @@ -6,25 +6,14 @@ # base-system@gentoo.org # @SUPPORTED_EAPIS: 6 7 # @BLURB: many extra (but common) functions that are used in ebuilds -# @DESCRIPTION: -# The eutils eclass contains a suite of functions that complement -# the ones that ebuild.sh already contain. The idea is that the functions -# are not required in all ebuilds but enough utilize them to have a common -# home rather than having multiple ebuilds implementing the same thing. -# -# Due to the nature of this eclass, some functions may have maintainers -# different from the overall eclass! -# -# This eclass is DEPRECATED and must not be inherited by any new ebuilds -# or eclasses. Use the more specific split eclasses instead, or native -# package manager functions when available. +# @DEPRECATED native package manager functions, more specific eclasses if [[ -z ${_EUTILS_ECLASS} ]]; then _EUTILS_ECLASS=1 # implicitly inherited (now split) eclasses case ${EAPI} in - 6) inherit desktop edos2unix epatch estack ltprune multilib \ + 6) inherit desktop edos2unix epatch eqawarn estack ltprune multilib \ preserve-libs strip-linguas toolchain-funcs vcs-clean wrapper ;; 7) inherit edos2unix strip-linguas wrapper ;; *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; @@ -50,17 +39,4 @@ use_if_iuse() { die "use_if_iuse is banned" } -# @FUNCTION: eqawarn -# @USAGE: [message] -# @DESCRIPTION: -# Proxy to ewarn for package managers that don't provide eqawarn and use the PM -# implementation if available. Reuses PORTAGE_ELOG_CLASSES as set by the dev -# profile. -if [[ ${EAPI} == 6 ]] && ! declare -F eqawarn >/dev/null ; then - eqawarn() { - has qa ${PORTAGE_ELOG_CLASSES} && ewarn "$@" - : - } -fi - fi |