On Mon, 09 Jun 2008 17:36:14 -0300 João Macaíba <[EMAIL PROTECTED]> wrote:
> May someone give me some help on this ? How does portage do the > searchs ? Walk into the ports tree and build some structure or store > this info on some embedded database like berkeley db or sqlite ? You're probably looking for the portdbapi class defined in pym/portage.py (or pym/portage/dbapi/porttree.py in 2.2), in particular the cp_all(), cpv_all(), cp_list() and aux_get() methods. Marius -- gentoo-portage-dev@lists.gentoo.org mailing list