Here's an ebuild and setup.py for a python interface to graphviz's libagraph written by Manos Renieris. It uses the "Brown Copyright" so a new license needs to be added.
Created attachment 13975 [details] pygraphviz-0.1.ebuild In the DEPENDS, python and graphviz probably need minimum versions.
Created attachment 13976 [details] files/setup.py This has the paths to graphviz's libs and includes hardcoded. `dotneato-config` gives a way around that, but its output isn't exactly what Extension() needs as input. What's the right way to specify the paths?
If you try to print the result of Agraph(), it segfaults. (It's passing a null pointer to a C function.) Look at the end of __init__.py for an example of how it should be used. I'm planning to write a wrapper for agopen() (see http://www.research.att.com/sw/tools/graphviz/Agraph.pdf) and modify __init__.py eventually so that doesn't happen.
this package is a little sticky because upstream doesn't do versioning. we'll have to make our own snapshot to put on our mirrors. will get around to this soon
Marking WONTFIX, because this package seems to be no longer developed, and it isn't especially popular. Unfortunately, we can't add to portage ebuilds for every piece of software. Anyway, thanks for submission Jeffrey.