Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:python-eapi6 commit in: eclass/
Date: Fri, 27 Nov 2015 13:16:51
Message-Id: 1448629520.a852afcfcd1b9a52c22f91d55634cf4a2c398ff0.mgorny@gentoo
1 commit: a852afcfcd1b9a52c22f91d55634cf4a2c398ff0
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 18 19:44:27 2015 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 27 13:05:20 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a852afcf
7
8 python-utils-r1.eclass: Support nonfatal in python_do* and python_new*
9
10 eclass/python-utils-r1.eclass | 6 +++---
11 1 file changed, 3 insertions(+), 3 deletions(-)
12
13 diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
14 index cb22680..d7b37d0 100644
15 --- a/eclass/python-utils-r1.eclass
16 +++ b/eclass/python-utils-r1.eclass
17 @@ -682,7 +682,7 @@ python_newexe() {
18 (
19 dodir "${wrapd}"
20 exeinto "${d}"
21 - newexe "${f}" "${newfn}" || die
22 + newexe "${f}" "${newfn}" || return ${?}
23 )
24
25 # install the wrapper
26 @@ -814,7 +814,7 @@ python_domodule() {
27
28 (
29 insinto "${d}"
30 - doins -r "${@}" || die
31 + doins -r "${@}" || return ${?}
32 )
33
34 python_optimize "${ED}/${d}"
35 @@ -848,7 +848,7 @@ python_doheader() {
36
37 (
38 insinto "${d}"
39 - doins -r "${@}" || die
40 + doins -r "${@}" || return ${?}
41 )
42 }