depgraph: pull in new virtual slots with --update
authorZac Medico <zmedico@gentoo.org>
Sun, 11 Sep 2011 20:43:10 +0000 (13:43 -0700)
committerZac Medico <zmedico@gentoo.org>
Sun, 11 Sep 2011 20:43:10 +0000 (13:43 -0700)
commitb95cbb6b78ad6d9b8e2d3edc5fafff122c3ce7c5
tree2f925bfca9498dae2bc32549415d756d06d4fc60
parent676d6b23b096ef65d97fb9f02cc61959004d9edf
depgraph: pull in new virtual slots with --update

This re-implements the fix from commit
21330075f07248765016e104b3ba8216903f1ecb, without introducing the
unwanted behavior reported in bug 382557. This involves checking the
direct dependencies of virtual slot updates to make sure they are all
visible, before pulling them in.
pym/_emerge/depgraph.py
pym/portage/tests/resolver/test_virtual_slot.py