pkg_use_enabled: return early for built pkgs
authorZac Medico <zmedico@gentoo.org>
Mon, 13 Jun 2011 21:50:04 +0000 (14:50 -0700)
committerZac Medico <zmedico@gentoo.org>
Mon, 13 Jun 2011 21:50:04 +0000 (14:50 -0700)
commita40c1905e53d3af20df6d4f940e1235551a6840e
tree928241b5aac30c2b18c43c7db14c421491661b8e
parentadc077443a2dbbecad8b4635b7cf1fcff7a9bd03
pkg_use_enabled: return early for built pkgs

Built/installed packages have frozen USE settings, so there's no sense
in considering them for autounmask USE config changes. They'll simply
be rejected by select_package, and an unbuilt ebuild will be selected
instead. This will fix bug 371423 by avoiding unnecessary use_reduce
calls on the deps of installed packages.
pym/_emerge/depgraph.py