public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-dev] Portage programming question
  @ 2003-03-30  7:51 99% ` Robin H. Johnson
  0 siblings, 0 replies; 1+ results
From: Robin H. Johnson @ 2003-03-30  7:51 UTC (permalink / raw
  To: Gentoo Developer; +Cc: sethbc

[-- Attachment #1: Type: text/plain, Size: 1192 bytes --]

On Sat, Mar 29, 2003 at 10:35:05PM -0800, Robin H. Johnson wrote:
> I'm trying to convert some scripts I wrote (see bug 16331) to Python,
> and I was wondering if there is any API documentation for
> Portage/Lintool.
> 
> In particular, some documents on the Portage DB API would go a long
> way.
Argh!

Thanks to sethbc for pointing out:
python
help()
portage

Now after looking at that I'm totally scared off writing Python code t
deal with it. 

My previous Python experience was limited to setting up some C code I
have (http://mvs.sf.net/) to use Python configuration files and set up
scenes with Python scene descriptions
(http://cvs.sf.net/cgi-bin/viewcvs.cgi/mvs/mvs/vis/starfishJK16spread.py?rev=1.2&content-type=text/vnd.viewcvs-markup)
that called back to C for everything.

I'm going to write some C++ or Java instead for what I want. Python
seems to lack the Sets and other sequence datatypes that would be
greatly useful.

-- 
Robin Hugh Johnson
E-Mail     : robbat2@orbis-terrarum.net
Home Page  : http://www.orbis-terrarum.net/?l=people.robbat2
ICQ#       : 30269588 or 41961639
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2003-03-30  6:35     [gentoo-dev] Portage programming question Robin H. Johnson
2003-03-30  7:51 99% ` Robin H. Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox