Gentoo Archives: gentoo-portage-dev

From: Andrew Gaffney <agaffney@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] quick questions about portage
Date: Fri, 23 Dec 2005 17:18:45
Message-Id: 43AC3159.10403@gentoo.org
In Reply to: [gentoo-portage-dev] quick questions about portage by Ricardo Loureiro
1 Ricardo Loureiro wrote:
2 > -----BEGIN PGP SIGNED MESSAGE-----
3 > Hash: SHA1
4 >
5 > Hi all,
6 >
7 > I'm the guy trying to put the portage tree in a relational database
8 > and making a portage-lite script to search and caculate deps from the
9 > database. I have currently some questions I couldn't find looking at
10 > the huge portage.py file:
11 >
12 > - - Where does portage saves information about installed files besides
13 > the world file, like versions installed and such?
14
15 /var/db/pkg/
16
17 > - - I came across some dependancies like "useflag? ( ||
18 > ( cat/package ) )". I can't find a logic in this and assume it's a
19 > mistake, or am I missing something?
20
21 "|| ( cat/pkga cat/pkgb )" means that either pkga or pkgb will satisfy the
22 dependency.
23
24 > - - What exactly are CDEPEND, PDEPEND and EAPI specified on the cache
25 > format?
26
27 I don't think CDEPEND is used anymore. PDEPEND is post-depend...packages that
28 should be installed *after* the current one is emerged. I'm not sure about EAPI.
29
30 --
31 Andrew Gaffney http://dev.gentoo.org/~agaffney/
32 Gentoo Linux Developer Installer Project
33 --
34 gentoo-portage-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-portage-dev] quick questions about portage Jason Stubbs <jstubbs@g.o>