From f75ca67b8e00e9e24095ffff2dd31ed04c480b80 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 5 Sep 2010 02:18:36 -0700 Subject: [PATCH] Fix depgraph._wrapped_select_pkg_highest_available_imp() to check USE settings for installed packages when --newuse is enabled. --- pym/_emerge/depgraph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- 2.26.2