[aur-dev] Safe and relatively reliable PKGBUILD parser.

Xyne xyne at archlinux.ca
Fri Jan 8 12:06:53 EST 2010


Hi,

There was no response on the pacman-dev list but someone here might
find this potentially useful:

http://mailman.archlinux.org/pipermail/pacman-dev/2010-January/010322.html

It's written in Perl but it could easily be adapted to Python. It
handles Bash variable interpolation and string substitutions so far.
I'll add support for other PKGBUILD "tricks"as I come across them, e.g.
setting dependencies by architecture. The post linked above includes
simplified JSON output from the split kernel26 package.

Regards,
Xyne


More information about the aur-dev mailing list