Merged from trunk 4816:4828
authorFabian Groffen <grobian@gentoo.org>
Thu, 26 Oct 2006 17:40:15 +0000 (17:40 -0000)
committerFabian Groffen <grobian@gentoo.org>
Thu, 26 Oct 2006 17:40:15 +0000 (17:40 -0000)
commit85ed9c9eb0cb010bf7e7bcb97debe27530da0e36
tree4459b9086ce9813b59184c44f9ad47e09ad2a2b3
parent77187b0aafe273acb8b209de029dc2c39c9d2b92
Merged from trunk 4816:4828

For bug #152726, ignore hidden files in vardbapi.cp_list().

For full compatibility with older versions of portage, write the path in
the serialized _eclasses_ when possible.

Fix broken is_eclass_data_valid comparison logic.

Test for basestring instead of types.DictType so that the test more
generic.

Reverse the relationship between __contains__ and has_key in all cache
classes since python handles the "in" operator more efficiently than a
has_key method call.

Streamline portage pythonpath handling and add an override analog to how
the bash side does it.

rename getmaskingreason() to getpmaskcomment() to clarify its function,
report each license as a separate mask instead of combining them all
together into a single value for getmaskingstatus()

need a mutable config instance to use setcpv

add function getlicensetexts() to extract license texts relevant to a
given cpv (to be used by emerge masked by display)

show licenses or pointer to license files on 'masked by' message

svn path=/main/branches/prefix/; revision=4831
28 files changed:
NEWS
bin/archive-conf
bin/chkcontents
bin/clean_locks
bin/dispatch-conf
bin/ebuild
bin/emaint
bin/emerge
bin/env-update
bin/fix-db.py
bin/fixpackages
bin/md5check.py
bin/pkgname
bin/portageq
bin/regenworld
bin/repoman
bin/xpak
pym/cache/anydbm.py
pym/cache/flat_hash.py
pym/cache/flat_list.py
pym/cache/metadata.py
pym/cache/metadata_overlay.py
pym/cache/sql_template.py
pym/cache/sqlite.py
pym/cache/template.py
pym/dispatch_conf.py
pym/eclass_cache.py
pym/portage.py