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 ED4A21384B4 for ; Thu, 19 Nov 2015 15:14:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3518121C003; Thu, 19 Nov 2015 15:14:17 +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 5A727E080C for ; Thu, 19 Nov 2015 15:14:14 +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 5B9053409F2 for ; Thu, 19 Nov 2015 15:14:13 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1239115FA for ; Thu, 19 Nov 2015 15:14:09 +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: <1447946015.138a38b94b28c4e1f06949fe3ce3d780be6f237a.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: 138a38b94b28c4e1f06949fe3ce3d780be6f237a X-VCS-Branch: python-eapi6 Date: Thu, 19 Nov 2015 15:14:09 +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: a1fdb73d-b595-445e-baba-73814dd625e2 X-Archives-Hash: 415b7f33fd18ce9d1b5f48fcd9623b95 commit: 138a38b94b28c4e1f06949fe3ce3d780be6f237a Author: Michał Górny gentoo org> AuthorDate: Wed Nov 18 22:00:48 2015 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Nov 19 15:13:35 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=138a38b9 distutils-r1.eclass: Make default _all impl call warning fatal in EAPI 6 eclass/distutils-r1.eclass | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 6054f27..1f0b74a 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -729,7 +729,10 @@ distutils-r1_src_prepare() { fi if [[ ! ${_DISTUTILS_DEFAULT_CALLED} ]]; then - eqawarn "QA warning: python_prepare_all() didn't call distutils-r1_python_prepare_all" + local cmd=die + [[ ${EAPI} == [45] ]] && cmd=eqawarn + + "${cmd}" "QA: python_prepare_all() didn't call distutils-r1_python_prepare_all" fi if declare -f python_prepare >/dev/null; then @@ -800,7 +803,10 @@ distutils-r1_src_install() { fi if [[ ! ${_DISTUTILS_DEFAULT_CALLED} ]]; then - eqawarn "QA warning: python_install_all() didn't call distutils-r1_python_install_all" + local cmd=die + [[ ${EAPI} == [45] ]] && cmd=eqawarn + + "${cmd}" "QA: python_install_all() didn't call distutils-r1_python_install_all" fi }