Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 24/29] distutils-r1.eclass: Make pypy/share QA error fatal in EAPI 6
Date: Sun, 22 Nov 2015 20:05:01
Message-Id: 1448221870-17269-25-git-send-email-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCHES] Clean-up & EAPI 6 support for python-r1 suite by "Michał Górny"
1 ---
2 eclass/distutils-r1.eclass | 4 +++-
3 1 file changed, 3 insertions(+), 1 deletion(-)
4
5 diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
6 index 47b09b0..e632202 100644
7 --- a/eclass/distutils-r1.eclass
8 +++ b/eclass/distutils-r1.eclass
9 @@ -563,7 +563,9 @@ distutils-r1_python_install() {
10 fi
11 done
12 if [[ -d ${root}/usr/$(get_libdir)/pypy/share ]]; then
13 - eqawarn "Package installs 'share' in PyPy prefix, see bug #465546."
14 + local cmd=die
15 + [[ ${EAPI} == [45] ]] && cmd=eqawarn
16 + "${cmd}" "Package installs 'share' in PyPy prefix, see bug #465546."
17 fi
18
19 if [[ ! ${DISTUTILS_SINGLE_IMPL} ]]; then
20 --
21 2.6.3