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 2ED021381F3 for ; Tue, 30 Jul 2013 05:41:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0C084E0AC4; Tue, 30 Jul 2013 05:41:34 +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 9F399E0AC4 for ; Tue, 30 Jul 2013 05:41:33 +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 B57D533DAA9 for ; Tue, 30 Jul 2013 05:41:32 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 49517E468F for ; Tue, 30 Jul 2013 05:41:31 +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: <1375162871.668c82dd9f651a688ee0302275ae6b8d9c43228b.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: 668c82dd9f651a688ee0302275ae6b8d9c43228b X-VCS-Branch: master Date: Tue, 30 Jul 2013 05:41:31 +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: 7f3a0739-86b2-482f-b284-32fb68924da4 X-Archives-Hash: 4a2e86f27a957954d00820c49610d3d3 commit: 668c82dd9f651a688ee0302275ae6b8d9c43228b Author: Zac Medico gentoo org> AuthorDate: Tue Jul 30 05:41:11 2013 +0000 Commit: Zac Medico gentoo org> CommitDate: Tue Jul 30 05:41:11 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=668c82dd _want_update_pkg: respect --exclude --- pym/_emerge/depgraph.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index c1f1ab0..76fda2c 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -4317,6 +4317,11 @@ class depgraph(object): return not arg def _want_update_pkg(self, parent, pkg): + + if self._frozen_config.excluded_pkgs.findAtomForPackage(pkg, + modified_use=self._pkg_use_enabled(pkg)): + return False + arg_atoms = None try: arg_atoms = list(self._iter_atoms_for_pkg(pkg))