From: Zac Medico Date: Tue, 30 Jul 2013 05:41:11 +0000 (-0700) Subject: _want_update_pkg: respect --exclude X-Git-Tag: v2.2.0_alpha191~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=668c82dd9f651a688ee0302275ae6b8d9c43228b;p=portage.git _want_update_pkg: respect --exclude --- diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index c1f1ab051..76fda2c0c 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))