commit: 9b74f5ccba169a3c4c48c2607c1a1144821d1b70
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 18 21:50:57 2015 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Nov 27 13:06:01 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b74f5cc
distutils-r1.eclass: Make pypy/share QA error fatal in EAPI 6
eclass/distutils-r1.eclass | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 47b09b0..e632202 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