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 4EEC81384B4 for ; Wed, 25 Nov 2015 12:04:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0CC8D21C0B6; Wed, 25 Nov 2015 12:03:52 +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 E082F21C0B6 for ; Wed, 25 Nov 2015 12:03:50 +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 E7003340771 for ; Wed, 25 Nov 2015 12:03:44 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0895F10FB for ; Wed, 25 Nov 2015 12:03:41 +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: <1448452589.9a1a5b9563723424896179747a4cc767d09e46b1.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: 9a1a5b9563723424896179747a4cc767d09e46b1 X-VCS-Branch: python-eapi6 Date: Wed, 25 Nov 2015 12:03:41 +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: 22c22e1c-6de4-41ac-a100-27cdb9da4565 X-Archives-Hash: 45fbc51ee89eeed5e41d869d0eb73781 commit: 9a1a5b9563723424896179747a4cc767d09e46b1 Author: Michał Górny gentoo org> AuthorDate: Wed Nov 18 21:41:51 2015 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Nov 25 11:56:29 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a1a5b95 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