depgraph: fix distorted display of virtuals
authorZac Medico <zmedico@gentoo.org>
Sat, 12 Feb 2011 00:09:22 +0000 (16:09 -0800)
committerZac Medico <zmedico@gentoo.org>
Mon, 14 Feb 2011 04:25:08 +0000 (20:25 -0800)
commita81a22889c1eaec729badb498adc3b381b77818e
treea756305955f2af9e43f3d1b495212e0e9c8dbef3
parentfe1da139518296dbd31c8d55c6baca065ace0017
depgraph: fix distorted display of virtuals

As mentioned in bug #353933, comment #4, special new-style virtual
atoms generated/distorted by _expand_new_virtuals() can prevent
extract_affecting_use() from working properly. This is fixed by
saving the original atoms so that the depgraph can map them back
into place at the appropriate step in dependency evaluation.
pym/_emerge/depgraph.py
pym/portage/dep/dep_check.py