commit:     3173b136e378af0324ece7d1173e3fdc434d67fc
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 18 19:44:27 2015 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Nov 19 15:13:35 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3173b136

python-utils-r1.eclass: Support nonfatal in python_do* and python_new*

 eclass/python-utils-r1.eclass | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
index 59e8799..7617c3f 100644
--- a/eclass/python-utils-r1.eclass
+++ b/eclass/python-utils-r1.eclass
@@ -679,7 +679,7 @@ python_newexe() {
        (
                dodir "${wrapd}"
                exeinto "${d}"
-               newexe "${f}" "${newfn}" || die
+               newexe "${f}" "${newfn}" || return ${?}
        )
 
        # install the wrapper
@@ -811,7 +811,7 @@ python_domodule() {
 
        (
                insinto "${d}"
-               doins -r "${@}" || die
+               doins -r "${@}" || return ${?}
        )
 
        python_optimize "${ED}/${d}"
@@ -845,7 +845,7 @@ python_doheader() {
 
        (
                insinto "${d}"
-               doins -r "${@}" || die
+               doins -r "${@}" || return ${?}
        )
 }
 

Reply via email to