From: Zac Medico Date: Sun, 5 Sep 2010 09:18:36 +0000 (-0700) Subject: Fix depgraph._wrapped_select_pkg_highest_available_imp() to check X-Git-Tag: v2.2_rc76~44 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f75ca67b8e00e9e24095ffff2dd31ed04c480b80;p=portage.git Fix depgraph._wrapped_select_pkg_highest_available_imp() to check USE settings for installed packages when --newuse is enabled. --- diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index 5f406c878..3cbd182ca 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -2787,7 +2787,7 @@ class depgraph(object): break # Compare built package to current config and # reject the built package if necessary. - if built and not installed and \ + if built and (not installed or matched_packages) and \ ("--newuse" in self._frozen_config.myopts or \ "--reinstall" in self._frozen_config.myopts or \ "--binpkg-respect-use" in self._frozen_config.myopts):