diff options
author | Zac Medico <zmedico@gentoo.org> | 2013-07-29 22:41:11 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2013-07-29 22:41:11 -0700 |
commit | 668c82dd9f651a688ee0302275ae6b8d9c43228b (patch) | |
tree | 3de097297ea88276faaaea72e13dbf317c158896 | |
parent | Exclude PORTAGE_BINPKG_FORMAT from ebuild env. (diff) | |
download | portage-668c82dd9f651a688ee0302275ae6b8d9c43228b.tar.gz portage-668c82dd9f651a688ee0302275ae6b8d9c43228b.tar.bz2 portage-668c82dd9f651a688ee0302275ae6b8d9c43228b.zip |
_want_update_pkg: respect --exclude
-rw-r--r-- | pym/_emerge/depgraph.py | 5 |
1 files changed, 5 insertions, 0 deletions
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)) |