Make dep_expand() stop relying on having a categories list:
authorZac Medico <zmedico@gentoo.org>
Fri, 28 Dec 2007 18:20:29 +0000 (18:20 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 28 Dec 2007 18:20:29 +0000 (18:20 -0000)
commit7df38f87fddbcf7c9ac23e2da801c4c75bf3c6ff
tree0f145135e940dacc98bfd212c6215f1e1935e098
parent7d4568d88aa55ec458ae6057fc6347785e6630ed
Make dep_expand() stop relying on having a categories list:
* Create and use a dbapi.categories property that is
  automatically generated from dbapi.cp_all().
* Make mutable dbapi instances delete the invalidate the
  cached categories when they need to be regenerated.

svn path=/main/trunk/; revision=9080
pym/portage/__init__.py
pym/portage/dbapi/__init__.py
pym/portage/dbapi/vartree.py
pym/portage/dbapi/virtual.py