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 8F5EC1384B4 for ; Wed, 25 Nov 2015 13:45:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DA25D21C074; Wed, 25 Nov 2015 13:45:45 +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 25DE121C073 for ; Wed, 25 Nov 2015 13:45:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 453C8340702 for ; Wed, 25 Nov 2015 13:45:43 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8F42F10FF for ; Wed, 25 Nov 2015 13:45:39 +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: <1448459037.aa34350a380592a42f131974144c14795cc5fcb5.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: aa34350a380592a42f131974144c14795cc5fcb5 X-VCS-Branch: python-eapi6 Date: Wed, 25 Nov 2015 13:45:39 +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: cdc213d3-baee-495f-a18b-1d81b8c7e20f X-Archives-Hash: 7afe479f2453eb8f1aa8bbe20914d5e7 commit: aa34350a380592a42f131974144c14795cc5fcb5 Author: Michał Górny gentoo org> AuthorDate: Wed Nov 18 22:00:48 2015 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Nov 25 13:43:57 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa34350a 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 551bc09..b249985 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -731,7 +731,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 @@ -802,7 +805,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 }