summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-11-18 22:50:57 +0100
committerMichał Górny <mgorny@gentoo.org>2015-11-28 20:09:06 +0100
commitb3515c1f541a9de92b4cc22fb2c66f760a60e665 (patch)
tree585ad04b6861043cfb4933be7a7b8a92146329c4 /eclass
parentdistutils-r1.eclass: Ban no-op default phase implementations in EAPI 6 (diff)
downloadgentoo-b3515c1f541a9de92b4cc22fb2c66f760a60e665.tar.gz
gentoo-b3515c1f541a9de92b4cc22fb2c66f760a60e665.tar.bz2
gentoo-b3515c1f541a9de92b4cc22fb2c66f760a60e665.zip
distutils-r1.eclass: Make pypy/share QA error fatal in EAPI 6
Diffstat (limited to 'eclass')
-rw-r--r--eclass/distutils-r1.eclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 47b09b0c7edf..e6322021e99f 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -563,7 +563,9 @@ distutils-r1_python_install() {
fi
done
if [[ -d ${root}/usr/$(get_libdir)/pypy/share ]]; then
- eqawarn "Package installs 'share' in PyPy prefix, see bug #465546."
+ local cmd=die
+ [[ ${EAPI} == [45] ]] && cmd=eqawarn
+ "${cmd}" "Package installs 'share' in PyPy prefix, see bug #465546."
fi
if [[ ! ${DISTUTILS_SINGLE_IMPL} ]]; then