Add a comment about special USE deps handling which is required in order to
authorZac Medico <zmedico@gentoo.org>
Tue, 27 Apr 2010 21:35:08 +0000 (14:35 -0700)
committerZac Medico <zmedico@gentoo.org>
Tue, 27 Apr 2010 21:35:08 +0000 (14:35 -0700)
avoid missing updates.

pym/_emerge/depgraph.py

index 385d18b1d7a3fa546d2665dd73cd9d4cdaee7328..566cd24637771c23b5f0d9e2b117f9cd22b522ed 100644 (file)
@@ -2442,6 +2442,9 @@ class depgraph(object):
                                        if want_reinstall and matched_packages:
                                                continue
 
+                               # Ignore USE deps for the initial match since we want to
+                               # ensure that updates aren't missed solely due to the user's
+                               # USE configuration.
                                for pkg in self._iter_match_pkgs(root_config, pkg_type, atom.without_use, 
                                        onlydeps=onlydeps):
                                        if pkg in self._dynamic_config._runtime_pkg_mask: