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 1QHjqO-00059Y-DO for garchives@archives.gentoo.org; Wed, 04 May 2011 21:42:53 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 84A371C005; Wed, 4 May 2011 21:42:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 5375A1C005 for ; Wed, 4 May 2011 21:42:44 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D19221B4066 for ; Wed, 4 May 2011 21:42:43 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 3583980505 for ; Wed, 4 May 2011 21:42:43 +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: <021da7d19f9da25329880096fccf1cc556a011e2.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/_emerge/ X-VCS-Repository: proj/portage X-VCS-Files: pym/_emerge/depgraph.py X-VCS-Directories: pym/_emerge/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 021da7d19f9da25329880096fccf1cc556a011e2 Date: Wed, 4 May 2011 21:42:43 +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: adfcab4844a7d313a2abf8769185d794 commit: 021da7d19f9da25329880096fccf1cc556a011e2 Author: Zac Medico gentoo org> AuthorDate: Wed May 4 21:40:11 2011 +0000 Commit: Zac Medico gentoo org> CommitDate: Wed May 4 21:40:11 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3D021da7d1 add_pkg_deps: removal action discard DEPEND early --- pym/_emerge/depgraph.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index dd65a45..52b92e2 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -1334,6 +1334,9 @@ class depgraph(object): ignore_build_time_deps =3D True =20 if removal_action and self._dynamic_config.myparams.get("bdeps", "y") = =3D=3D "n": + # Removal actions never traverse ignored buildtime + # dependencies, so it's safe to discard them early. + edepend["DEPEND"] =3D "" ignore_build_time_deps =3D True =20 if removal_action: