Gentoo Archives: gentoo-portage-dev

From: tvali <qtvali@×××××.com>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] Hello! && portage UI
Date: Wed, 15 Mar 2006 15:13:00
Message-Id: cea53e3c0603150712y515db035t@mail.gmail.com
In Reply to: Re: [gentoo-portage-dev] Hello! && portage UI by solar
1 Could :P
2
3 Python has this interactive interpreter, what every scripting language has.
4
5 If you are able to run command-line app, send keyboard input and catch
6 it's output, you're done with it.
7
8 You can also write some small python function, which will parse python
9 variables into some form, which you can simply parse into something,
10 what is easily readable in C.
11
12 2006/3/15, solar <solar@g.o>:
13 > On Wed, 2006-03-15 at 10:51 +0100, Paul de Vrieze wrote:
14 >
15 > [snip]
16 >
17 > > Actually, C++ being strongly related to C, can just use the C python
18 > > api's. As such it could directly interface with python, and use the
19 > > python portage api.
20 >
21 > If you could demonstrate an 'import portage' and a simple
22 > printf("PORTDIR=%s\n", PORTDIR); in C I'd be highly interested.
23 >
24 > --
25 > solar <solar@g.o>
26 > Gentoo Linux
27 >
28 > --
29 > gentoo-portage-dev@g.o mailing list
30 >
31 >
32
33
34 --
35 tvali
36 (e-mail: "qtvali@×××××.com"; msn: "qtvali@×××××.com";
37 icq: "317-492-912")
38
39 Ühe eesti internetifirma lehel kohtasin tsitaati:
40 If you don't do it excellently, dont do it at all. Because if it's not
41 excellent, it won't be profitable or fun, and if you're not in
42 business for fun or profit, what the hell are you doing here?
43 Robert Townsend
44
45 --
46 gentoo-portage-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-portage-dev] Hello! && portage UI solar <solar@g.o>