Merged from trunk 5247:5256
authorFabian Groffen <grobian@gentoo.org>
Sun, 10 Dec 2006 11:23:47 +0000 (11:23 -0000)
committerFabian Groffen <grobian@gentoo.org>
Sun, 10 Dec 2006 11:23:47 +0000 (11:23 -0000)
commitafddd1ec1e3504ab96bd39533a0bdd25e008fa23
treeda8c58d571ddbab1cc09cd77adb675733e7f0957
parent8f02a7e9cf5438d7e7259ae945dbb3af132da296
Merged from trunk 5247:5256

For bug #128809, process blockers for all installed packages.  Due to
the performance penalty incurred by additional dep_check calls, this is
only enabled with the --deep option.

Avoid unnecessary dbapi.cp_list() calls inside cpv_expand().

Cache the results of match_from_list() calls.

Cache results of dep_getcpv() calls.

Use dep_getcpv() inside dep_expand() for code sharing and caching.

Cache the results of fakedbapi.match() calls and clear the cache
automatically when necessary.

Initialize the match cache in the bindbapi constructor.

For bug #128809, optimize dep_check calls and enable the blocker
detection by default since the performance now seems acceptable.

Make sure the SLOT comes from the vardb instead of the portdb (for
multislot,   etc..). Thanks to jakub for reporting.

svn path=/main/branches/prefix/; revision=5259
bin/emerge
pym/portage.py
pym/portage_dep.py