Gentoo Archives: gentoo-portage-dev

From: Amit Dor-Shifer <amitds@××××××.com>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] using python in installation scripts
Date: Thu, 16 Apr 2009 07:55:15
Message-Id: 49E6E460.4070804@oversi.com
1 I want to read/write an XML file while an ebuild executes. Since I'm
2 unaware of any XML support in bash, I'm thinking of using python: I'd
3 write some python code and bundle it somehow into the package, so that
4 is shall be usable from pkg_XXX scripts.
5
6 I browsed the tree and couldn't find other ebuilds that use python (nor
7 perl, for that matter), so I'm doing a sanity check: is this a wrong
8 path to follow? Appreciate comments. 10x.
9 Amit

Replies

Subject Author
Re: [gentoo-portage-dev] using python in installation scripts Zac Medico <zmedico@g.o>