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
parentd9cf3242c00219b20eea18297b76e18334b5d9de (diff)
downloadgentoo-b3515c1f541a9de92b4cc22fb2c66f760a60e665.tar.gz
gentoo-b3515c1f541a9de92b4cc22fb2c66f760a60e665.tar.xz
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 47b09b0c7ed..e6322021e99 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