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 BE4C71381F3 for ; Tue, 30 Jul 2013 05:49:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AA526E0ACC; Tue, 30 Jul 2013 05:48:57 +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 20F92E0ACC for ; Tue, 30 Jul 2013 05:48:57 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0D80E33E974 for ; Tue, 30 Jul 2013 05:48:56 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 8EA0EE468F for ; Tue, 30 Jul 2013 05:48:54 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1375163317.c1292a7c0b7092750fb94aac9680feb38da0bd78.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/dep/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/dep/dep_check.py X-VCS-Directories: pym/portage/dep/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: c1292a7c0b7092750fb94aac9680feb38da0bd78 X-VCS-Branch: master Date: Tue, 30 Jul 2013 05:48:54 +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: 123892fc-9039-44b9-a5d2-ec7149a66527 X-Archives-Hash: b93d685cbd661971bbe9c0572c7c4693 commit: c1292a7c0b7092750fb94aac9680feb38da0bd78 Author: Zac Medico gentoo org> AuthorDate: Tue Jul 30 05:48:37 2013 +0000 Commit: Zac Medico gentoo org> CommitDate: Tue Jul 30 05:48:37 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=c1292a7c dep_zapdeps: skip want_update_pkg if pkg in graph --- pym/portage/dep/dep_check.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pym/portage/dep/dep_check.py b/pym/portage/dep/dep_check.py index 0349853..86112a2 100644 --- a/pym/portage/dep/dep_check.py +++ b/pym/portage/dep/dep_check.py @@ -471,6 +471,8 @@ def dep_zapdeps(unreduced, reduced, myroot, use_binaries=0, trees=None): # installed yet for bug #478188. want_update = True for slot_atom, avail_pkg in slot_map.items(): + if avail_pkg in graph: + continue # New-style virtuals have zero cost to install. if slot_atom.startswith("virtual/") or \ vardb.match(slot_atom):