summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-03-04 14:32:07 +0100
committerMichał Górny <mgorny@gentoo.org>2020-03-05 08:57:45 +0100
commit987be7321d695de3584f651f30ddb2e6024456db (patch)
treef8df463522591378b273cb1ce514bd0fc6d6bd57
parentdistutils-r1.eclass: Do not require distutils-r1_python_install_all (diff)
downloadgentoo-987be7321d695de3584f651f30ddb2e6024456db.tar.gz
gentoo-987be7321d695de3584f651f30ddb2e6024456db.tar.bz2
gentoo-987be7321d695de3584f651f30ddb2e6024456db.zip
distutils-r1.eclass: Make /usr/lib/pypy/share warning fatal
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>
-rw-r--r--eclass/distutils-r1.eclass4
1 files changed, 1 insertions, 3 deletions
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 5267cae948a5..355f36f59e38 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -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