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>
Sat, 12 Feb 2011 00:09:22 +0000 (16:09 -0800)
commit5b16e0d800f34dc90cdd8c505172ad16b97f0af4
tree0131bf6b28aa77d47632ebacf025876ff460416c
parente4bcbdace3e0c28c39fdc9a92da38b21611638bf
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