Gentoo Archives: gentoo-dev

From: Matt Tucker <tuck@×××××××××××××.net>
To: Riyad Kalla <rsk@×××××××××.edu>
Cc: gentoo-dev@g.o
Subject: RE: [gentoo-dev] portage database management
Date: Fri, 07 Feb 2003 07:01:21
Message-Id: 62800000.1044600798@dsl231-045-162.sea1.dsl.speakeasy.net
In Reply to: RE: [gentoo-dev] portage database management by Riyad Kalla
1 -- Riyad Kalla <rsk@×××××××××.edu> spake thusly:
2
3 >> -----Original Message-----
4 >> From: Brian Friday [mailto:bfriday@××××××××.edu]
5 >>
6 >> I agree as well, the example I gave earlier of a possible XML
7 >> package file was based on my incorrect assumption portage
8 >> was python and not bash based. Not sure why I got that
9 >> impression, especially as I realize all the conf files have
10 >> bash syntax...
11
12 > come to think of it, I thought it was all python as well....
13 >
14 > anybody know why we thought this?
15
16 Portage itself is implemented in Python, but the ebuild mechanism is
17 all done with shell scripts. It goes something like:
18
19 emerge [python] loads:
20 portage.py [python] and calls
21 portage.doebuild() [python] which executes
22 ebuild.sh [shell] which sources
23 category/pkg/pkg-version.ebuild [shell]
24
25 The line is pretty blurred between the two though, so I could certainly
26 understand the confusion.
27
28
29 --
30 gentoo-dev@g.o mailing list