From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Qhlqz-0007KZ-HE for garchives@archives.gentoo.org; Fri, 15 Jul 2011 17:07:05 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5C2DA21C0C4; Fri, 15 Jul 2011 17:06:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 31E9821C0C4 for ; Fri, 15 Jul 2011 17:06:58 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BC3E22AC317 for ; Fri, 15 Jul 2011 17:06:57 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id E70ED8003D for ; Fri, 15 Jul 2011 17:06:56 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <6620e74643e0baf040488557b1fff7273654a44d.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/ X-VCS-Repository: proj/portage X-VCS-Files: bin/ebuild.sh bin/isolated-functions.sh X-VCS-Directories: bin/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 6620e74643e0baf040488557b1fff7273654a44d Date: Fri, 15 Jul 2011 17:06:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 80d1d00e3abe9b000a74ac485a86d667 commit: 6620e74643e0baf040488557b1fff7273654a44d Author: Zac Medico gentoo org> AuthorDate: Fri Jul 15 17:06:47 2011 +0000 Commit: Zac Medico gentoo org> CommitDate: Fri Jul 15 17:06:47 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3D6620e746 Skip QA Notice for hasq/useq during *rm phases. --- bin/ebuild.sh | 3 ++- bin/isolated-functions.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 2ef40cb..4aef413 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -128,7 +128,8 @@ esyslog() { } =20 useq() { - eqawarn "QA Notice: The 'useq' function is deprecated (replaced by 'use= ')" + has $EBUILD_PHASE prerm postrm || eqawarn \ + "QA Notice: The 'useq' function is deprecated (replaced by 'use')" use ${1} } =20 diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh index 574f949..65bb1d5 100644 --- a/bin/isolated-functions.sh +++ b/bin/isolated-functions.sh @@ -512,7 +512,8 @@ if [[ -z ${XARGS} ]] ; then fi =20 hasq() { - eqawarn "QA Notice: The 'hasq' function is deprecated (replaced by 'has= ')" + has $EBUILD_PHASE prerm postrm || eqawarn \ + "QA Notice: The 'hasq' function is deprecated (replaced by 'has')" has "$@" } =20