From: Michał Górny Date: Wed, 4 Mar 2020 13:27:31 +0000 (+0100) Subject: distutils-r1.eclass: Do not require distutils-r1_python_install_all X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9aa12f6df659e6d3059fbcd17ac8508ad6458822;p=gentoo.git distutils-r1.eclass: Do not require distutils-r1_python_install_all Stop requiring ebuilds to call distutils-r1_python_install_all default function. It just calls einstalldocs these days, and it is unlikely that more magic will ever be added there. Signed-off-by: Michał Górny --- diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 8b7745686d73..5267cae948a5 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -922,8 +922,6 @@ distutils-r1_python_install_all() { ) docompress -x "/usr/share/doc/${PF}/examples" fi - - _DISTUTILS_DEFAULT_CALLED=1 } # @FUNCTION: distutils-r1_run_phase @@ -1146,21 +1144,12 @@ distutils-r1_src_install() { _distutils-r1_run_foreach_impl distutils-r1_python_install fi - local _DISTUTILS_DEFAULT_CALLED - if declare -f python_install_all >/dev/null; then _distutils-r1_run_common_phase python_install_all else _distutils-r1_run_common_phase distutils-r1_python_install_all fi - if [[ ! ${_DISTUTILS_DEFAULT_CALLED} ]]; then - local cmd=die - [[ ${EAPI} == [45] ]] && cmd=eqawarn - - "${cmd}" "QA: python_install_all() didn't call distutils-r1_python_install_all" - fi - _distutils-r1_check_namespace_pth }