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 09/29] python-utils-r1.eclass: Support nonfatal in python_do* and python_new*
Date: Sun, 22 Nov 2015 19:56:06
Message-Id: 1448221870-17269-10-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/python-utils-r1.eclass | 6 +++---
3 1 file changed, 3 insertions(+), 3 deletions(-)
4
5 diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
6 index 59e8799..7617c3f 100644
7 --- a/eclass/python-utils-r1.eclass
8 +++ b/eclass/python-utils-r1.eclass
9 @@ -679,7 +679,7 @@ python_newexe() {
10 (
11 dodir "${wrapd}"
12 exeinto "${d}"
13 - newexe "${f}" "${newfn}" || die
14 + newexe "${f}" "${newfn}" || return ${?}
15 )
16
17 # install the wrapper
18 @@ -811,7 +811,7 @@ python_domodule() {
19
20 (
21 insinto "${d}"
22 - doins -r "${@}" || die
23 + doins -r "${@}" || return ${?}
24 )
25
26 python_optimize "${ED}/${d}"
27 @@ -845,7 +845,7 @@ python_doheader() {
28
29 (
30 insinto "${d}"
31 - doins -r "${@}" || die
32 + doins -r "${@}" || return ${?}
33 )
34 }
35
36 --
37 2.6.3