* [gentoo-commits] repo/gentoo:python-eapi6 commit in: eclass/
@ 2015-11-26 22:35 99% Michał Górny
0 siblings, 0 replies; 1+ results
From: Michał Górny @ 2015-11-26 22:35 UTC (permalink / raw
To: gentoo-commits
commit: 7bb167ccc62a67950d14cd85c321699863ce20dc
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 18 21:41:51 2015 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Nov 26 22:33:30 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bb167cc
distutils-r1.eclass: esetup.py, respect nonfatal in EAPI 6
eclass/distutils-r1.eclass | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 185dd4f..256c893 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -236,10 +236,13 @@ fi
esetup.py() {
debug-print-function ${FUNCNAME} "${@}"
+ local die_args=()
+ [[ ${EAPI} != [45] ]] && die_args+=( -n )
+
set -- "${PYTHON:-python}" setup.py "${mydistutilsargs[@]}" "${@}"
echo "${@}" >&2
- "${@}" || die
+ "${@}" || die "${die_args[@]}" || return ${?}
}
# @FUNCTION: distutils_install_for_testing
^ permalink raw reply related [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2015-11-26 22:35 99% [gentoo-commits] repo/gentoo:python-eapi6 commit in: eclass/ Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox