python-utils-r1.eclass: Support nonfatal in python_do* and python_new*
authorMichał Górny <mgorny@gentoo.org>
Wed, 18 Nov 2015 19:44:27 +0000 (20:44 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sat, 28 Nov 2015 19:09:06 +0000 (20:09 +0100)
eclass/python-utils-r1.eclass

index 456c0996bc7e561288a972923fcf9661deb9147a..884867fa0222c8fccaa18df38ee19600abb1f26b 100644 (file)
@@ -682,7 +682,7 @@ python_newexe() {
        (
                dodir "${wrapd}"
                exeinto "${d}"
-               newexe "${f}" "${newfn}" || die
+               newexe "${f}" "${newfn}" || return ${?}
        )
 
        # install the wrapper
@@ -814,7 +814,7 @@ python_domodule() {
 
        (
                insinto "${d}"
-               doins -r "${@}" || die
+               doins -r "${@}" || return ${?}
        )
 
        python_optimize "${ED}/${d}"
@@ -848,7 +848,7 @@ python_doheader() {
 
        (
                insinto "${d}"
-               doins -r "${@}" || die
+               doins -r "${@}" || return ${?}
        )
 }