# $Id: Portfile 82855 2011-08-21 03:10:38Z jmr@macports.org $

PortSystem              1.0
PortGroup               python26 1.0

name                    py26-pygraphviz
version                 1.0
categories-append       science
maintainers             singingwolfboy openmaintainer
description             A Python wrapper for the Graphviz Agraph data structure.
long_description        PyGraphviz is a Python interface to the Graphviz graph layout \
                        and visualization package. With PyGraphviz you can create, edit, \
                        read, write, and draw graphs using Python to access the Graphviz \
                        graph data structure and layout algorithms. PyGraphviz is \
                        independent from NetworkX but provides a similar programming \
                        interface.

platforms               darwin

homepage                http://networkx.lanl.gov/pygraphviz/
master_sites            http://pypi.python.org/packages/source/p/pygraphviz/ \
                        https://networkx.lanl.gov/download/networkx/
distname                pygraphviz-${version}

checksums               md5     f0cb263f4f56a0ba5c10e3ddcbbdf314 \
                        sha1    a2b9a725f331a2170f881022eba6ac2d4272d68f \
                        rmd160  119bd95ae07d76a79fe54b12b8afe2d308bbf035

depends_build           port:pkgconfig
depends_lib-append      port:swig-python \
                        path:bin/dot:graphviz \
                        port:py26-distribute

livecheck.type          regex
livecheck.url           ${master_sites}
livecheck.regex         "pygraphviz-(\\d+(?:\\.\\d+)*)${extract.suffix}"
