distutils-r1.eclass: Make /usr/lib/pypy/share warning fatal
authorMichał Górny <mgorny@gentoo.org>
Wed, 4 Mar 2020 13:32:07 +0000 (14:32 +0100)
committerMichał Górny <mgorny@gentoo.org>
Thu, 5 Mar 2020 07:57:45 +0000 (08:57 +0100)
All the share-related issues should have been fixed by the PyPy patch
by now, and since PyPy target is not stable, there is really no need
to be very graceful here.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
eclass/distutils-r1.eclass

index 5267cae948a55e2a8570fe916d8e34c332654732..355f36f59e38e8dad786beb7f800bdbc75509ad7 100644 (file)
@@ -894,9 +894,7 @@ distutils-r1_python_install() {
        ${shopt_save}
 
        if [[ -n ${pypy_dirs} ]]; then
-               local cmd=die
-               [[ ${EAPI} == [45] ]] && cmd=eqawarn
-               "${cmd}" "Package installs 'share' in PyPy prefix, see bug #465546."
+               die "Package installs 'share' in PyPy prefix, see bug #465546."
        fi
 
        if [[ ! ${DISTUTILS_SINGLE_IMPL} ]]; then