Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: python@g.o, "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 9/9] distutils-r1.eclass: Make /usr/lib/pypy/share warning fatal
Date: Wed, 04 Mar 2020 14:35:50
Message-Id: 20200304143223.55830-10-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH 0/9] python-r1 suite cleanup by "Michał Górny"
1 All the share-related issues should have been fixed by the PyPy patch
2 by now, and since PyPy target is not stable, there is really no need
3 to be very graceful here.
4
5 Signed-off-by: Michał Górny <mgorny@g.o>
6 ---
7 eclass/distutils-r1.eclass | 4 +---
8 1 file changed, 1 insertion(+), 3 deletions(-)
9
10 diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
11 index abb86996c5d6..0ee0dc27c345 100644
12 --- a/eclass/distutils-r1.eclass
13 +++ b/eclass/distutils-r1.eclass
14 @@ -894,9 +894,7 @@ distutils-r1_python_install() {
15 ${shopt_save}
16
17 if [[ -n ${pypy_dirs} ]]; then
18 - local cmd=die
19 - [[ ${EAPI} == [45] ]] && cmd=eqawarn
20 - "${cmd}" "Package installs 'share' in PyPy prefix, see bug #465546."
21 + die "Package installs 'share' in PyPy prefix, see bug #465546."
22 fi
23
24 if [[ ! ${DISTUTILS_SINGLE_IMPL} ]]; then
25 --
26 2.25.1