dep_zapdeps: use digraph for preference selection
authorZac Medico <zmedico@gentoo.org>
Tue, 31 May 2011 02:16:43 +0000 (19:16 -0700)
committerZac Medico <zmedico@gentoo.org>
Tue, 31 May 2011 02:16:43 +0000 (19:16 -0700)
commit4f66159887fc4e3ec8bd87ae0f08ba249f98631b
treecaf4087fed0c7c244e962be38cebf99389ff6282
parentf67dfd2c24aa127f5d596b3d1f051df8d8cbf5fb
dep_zapdeps: use digraph for preference selection

This is required in order for dep_zapdeps to work as intended for
solving cases of bug #264434 in which there is an installed
package that may need to be uninstalled in order to resolve blockers.
It fixes a failure to resolve blockers when attempting to replace
media-video/ffmpeg with media-video/libav (symptom is similar to
bug #339164, but with new-style virtual instead of old-style PROVIDE
virtual).
pym/_emerge/depgraph.py
pym/portage/dep/dep_check.py