From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9A8731384B4 for ; Fri, 27 Nov 2015 13:17:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B5B8321C112; Fri, 27 Nov 2015 13:16:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 39AC021C112 for ; Fri, 27 Nov 2015 13:16:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 955F5340821 for ; Fri, 27 Nov 2015 13:16:37 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 80929FE0 for ; Fri, 27 Nov 2015 13:16:32 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1448629552.7fd3ed4f55066912b1b5452e977d8ff215aae56a.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:python-eapi6 commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/distutils-r1.eclass X-VCS-Directories: eclass/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 7fd3ed4f55066912b1b5452e977d8ff215aae56a X-VCS-Branch: python-eapi6 Date: Fri, 27 Nov 2015 13:16:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 608afc27-5a9d-43ec-82bb-214a62e05114 X-Archives-Hash: bc8037205c07c1078c824d7a66fa22e1 commit: 7fd3ed4f55066912b1b5452e977d8ff215aae56a Author: Michał Górny gentoo org> AuthorDate: Wed Nov 18 21:41:51 2015 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Nov 27 13:05:52 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fd3ed4f 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