On 04/14/2013 06:09 AM, Rich Freeman wrote: > Also, I'm sure I've used the portage API in less-than-ideal ways. > Having not really used it before this was half a learning exercise. > Feel free to send me suggestions/pointers. If somebody knows of an > easy way to process metadata in python (short of just parsing the xml > myself) let me know - I didn't see any kind of API for that.
See the MetaDataXML class, in /usr/lib/portage/pym/portage/xml/metadata.py. -- Thanks, Zac
