commit: b3515c1f541a9de92b4cc22fb2c66f760a60e665 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: Sat Nov 28 19:09:06 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3515c1f
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