Gentoo Archives: gentoo-dev

From: "Robin H. Johnson" <robbat2@××××××××××××××.net>
To: Gentoo Developer <gentoo-dev@g.o>
Cc: sethbc@g.o
Subject: Re: [gentoo-dev] Portage programming question
Date: Sun, 30 Mar 2003 07:51:53
Message-Id: 20030330075150.GA20237@cherenkov.orbis-terrarum.net
In Reply to: [gentoo-dev] Portage programming question by "Robin H. Johnson"
1 On Sat, Mar 29, 2003 at 10:35:05PM -0800, Robin H. Johnson wrote:
2 > I'm trying to convert some scripts I wrote (see bug 16331) to Python,
3 > and I was wondering if there is any API documentation for
4 > Portage/Lintool.
5 >
6 > In particular, some documents on the Portage DB API would go a long
7 > way.
8 Argh!
9
10 Thanks to sethbc for pointing out:
11 python
12 help()
13 portage
14
15 Now after looking at that I'm totally scared off writing Python code t
16 deal with it.
17
18 My previous Python experience was limited to setting up some C code I
19 have (http://mvs.sf.net/) to use Python configuration files and set up
20 scenes with Python scene descriptions
21 (http://cvs.sf.net/cgi-bin/viewcvs.cgi/mvs/mvs/vis/starfishJK16spread.py?rev=1.2&content-type=text/vnd.viewcvs-markup)
22 that called back to C for everything.
23
24 I'm going to write some C++ or Java instead for what I want. Python
25 seems to lack the Sets and other sequence datatypes that would be
26 greatly useful.
27
28 --
29 Robin Hugh Johnson
30 E-Mail : robbat2@××××××××××××××.net
31 Home Page : http://www.orbis-terrarum.net/?l=people.robbat2
32 ICQ# : 30269588 or 41961639
33 GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85

Replies

Subject Author
Re: [gentoo-dev] Portage programming question George Shapovalov <george@g.o>