summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-03-04 14:27:31 +0100
committerMichał Górny <mgorny@gentoo.org>2020-03-05 08:57:44 +0100
commit9aa12f6df659e6d3059fbcd17ac8508ad6458822 (patch)
tree7ff3c6ed049e1f38ea974852688e35d2380e2a68 /eclass/distutils-r1.eclass
parentpython-utils-r1.eclass: Remove leftover from virtual/pypy* (diff)
downloadgentoo-9aa12f6df659e6d3059fbcd17ac8508ad6458822.tar.gz
gentoo-9aa12f6df659e6d3059fbcd17ac8508ad6458822.tar.bz2
gentoo-9aa12f6df659e6d3059fbcd17ac8508ad6458822.zip
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 <mgorny@gentoo.org>
Diffstat (limited to 'eclass/distutils-r1.eclass')
-rw-r--r--eclass/distutils-r1.eclass11
1 files changed, 0 insertions, 11 deletions
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
}