distutils-r1.eclass: Make pypy/share QA error fatal in EAPI 6
authorMichał Górny <mgorny@gentoo.org>
Wed, 18 Nov 2015 21:50:57 +0000 (22:50 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sat, 28 Nov 2015 19:09:06 +0000 (20:09 +0100)
eclass/distutils-r1.eclass

index 47b09b0c7edf4b88990f43a1f805359dc760019a..e6322021e99f5874c46ae510b2b0c64255b36c00 100644 (file)
@@ -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