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 F2A1F138968 for ; Sun, 10 Feb 2013 11:42:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 675CD21C098; Sun, 10 Feb 2013 11:42:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E273321C098 for ; Sun, 10 Feb 2013 11:42:50 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E803833E4A7 for ; Sun, 10 Feb 2013 11:42:49 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2279) id B55692171D; Sun, 10 Feb 2013 11:42:48 +0000 (UTC) From: "Michal Gorny (mgorny)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, mgorny@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog eutils.eclass X-VCS-Repository: gentoo-x86 X-VCS-Files: ChangeLog eutils.eclass X-VCS-Directories: eclass X-VCS-Committer: mgorny X-VCS-Committer-Name: Michal Gorny Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Message-Id: <20130210114248.B55692171D@flycatcher.gentoo.org> Date: Sun, 10 Feb 2013 11:42:48 +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: 4a6ed811-a833-431a-b037-7caf7f3e8629 X-Archives-Hash: cb3b1eb09cf1b2791f978e6410d6634a mgorny 13/02/10 11:42:48 Modified: ChangeLog eutils.eclass Log: QA-warn if epunt_cxx does not find any checks to punt. Revision Changes Path 1.670 eclass/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.670&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.670&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.669&r2=1.670 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v retrieving revision 1.669 retrieving revision 1.670 diff -u -r1.669 -r1.670 --- ChangeLog 10 Feb 2013 11:41:07 -0000 1.669 +++ ChangeLog 10 Feb 2013 11:42:48 -0000 1.670 @@ -1,6 +1,9 @@ # ChangeLog for eclass directory # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.669 2013/02/10 11:41:07 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.670 2013/02/10 11:42:48 mgorny Exp $ + + 10 Feb 2013; Michał Górny eutils.eclass: + QA-warn if epunt_cxx does not find any checks to punt. 10 Feb 2013; Michał Górny distutils-r1.eclass: Introduce a function to install package for running tests, solving all the 1.410 eclass/eutils.eclass file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/eutils.eclass?rev=1.410&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/eutils.eclass?rev=1.410&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/eutils.eclass?r1=1.409&r2=1.410 Index: eutils.eclass =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v retrieving revision 1.409 retrieving revision 1.410 diff -u -r1.409 -r1.410 --- eutils.eclass 23 Oct 2012 21:09:39 -0000 1.409 +++ eutils.eclass 10 Feb 2013 11:42:48 -0000 1.410 @@ -1,6 +1,6 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.409 2012/10/23 21:09:39 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.410 2013/02/10 11:42:48 mgorny Exp $ # @ECLASS: eutils.eclass # @MAINTAINER: @@ -1269,10 +1269,16 @@ local dir=$1 [[ -z ${dir} ]] && dir=${S} ebegin "Removing useless C++ checks" - local f + local f any_found find "${dir}" -name configure | while read f ; do - patch --no-backup-if-mismatch -p0 "${f}" "${PORTDIR}/eclass/ELT-patches/nocxx/nocxx.patch" > /dev/null + patch --no-backup-if-mismatch -p0 "${f}" \ + "${PORTDIR}/eclass/ELT-patches/nocxx/nocxx.patch" > /dev/null \ + && any_found=1 done + + if [[ -z ${any_found} ]]; then + eqawarn "epunt_cxx called unnecessarily (no C++ checks to punt)." + fi eend 0 }