diff options
author | Michał Górny <mgorny@gentoo.org> | 2015-11-18 23:00:48 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2015-11-28 20:09:06 +0100 |
commit | 059c0fff13b571a82d43f26412c05487d6b19d81 (patch) | |
tree | 4c8ab1d54cb7df8e805c0ae5170e78b85ed70de0 /eclass | |
parent | distutils-r1.eclass: Ban DISTUTILS_NO_PARALLEL_BUILD in EAPI 6 (diff) | |
download | gentoo-059c0fff13b571a82d43f26412c05487d6b19d81.tar.gz gentoo-059c0fff13b571a82d43f26412c05487d6b19d81.tar.bz2 gentoo-059c0fff13b571a82d43f26412c05487d6b19d81.zip |
distutils-r1.eclass: Make default _all impl call warning fatal in EAPI 6
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/distutils-r1.eclass | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 551bc094e321..b249985a2a1c 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -731,7 +731,10 @@ distutils-r1_src_prepare() { fi if [[ ! ${_DISTUTILS_DEFAULT_CALLED} ]]; then - eqawarn "QA warning: python_prepare_all() didn't call distutils-r1_python_prepare_all" + local cmd=die + [[ ${EAPI} == [45] ]] && cmd=eqawarn + + "${cmd}" "QA: python_prepare_all() didn't call distutils-r1_python_prepare_all" fi if declare -f python_prepare >/dev/null; then @@ -802,7 +805,10 @@ distutils-r1_src_install() { fi if [[ ! ${_DISTUTILS_DEFAULT_CALLED} ]]; then - eqawarn "QA warning: python_install_all() didn't call distutils-r1_python_install_all" + local cmd=die + [[ ${EAPI} == [45] ]] && cmd=eqawarn + + "${cmd}" "QA: python_install_all() didn't call distutils-r1_python_install_all" fi } |