Ricardo Loureiro wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

I'm the guy trying to put the portage tree in a relational database
and making a portage-lite script to search and caculate deps from the
database. I have currently some questions I couldn't find looking at
the huge portage.py file:

- - Where does portage saves information about installed files besides
the world file, like versions installed and such?

/var/db/pkg/

- - I came across some dependancies like "useflag? ( ||
( cat/package ) )". I can't find a logic in this and assume it's a
mistake, or am I missing something?

"|| ( cat/pkga cat/pkgb )" means that either pkga or pkgb will satisfy the dependency.

- - What exactly are CDEPEND, PDEPEND and EAPI specified on the cache
format?

I don't think CDEPEND is used anymore. PDEPEND is post-depend...packages that should be installed *after* the current one is emerged. I'm not sure about EAPI.

--
Andrew Gaffney                            http://dev.gentoo.org/~agaffney/
Gentoo Linux Developer                                   Installer Project
--
[email protected] mailing list

Reply via email to