# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           python 1.0

name                py-pygraph-dot
version             1.8.0
license             MIT
maintainers         nomaintainer
description         DOT language support for python-graph
long_description    python-graph provides a suitable data structure for \
                    representing graphs and a whole set of important \
                    algorithms. This port adds support for reading and \
                    writing graphs in the DOT language.

homepage            https://code.google.com/p/python-graph/
master_sites        googlecode:python-graph
distname            python-graph-dot-${version}
platforms           {darwin any}
supported_archs     noarch

checksums           md5     c9d2a2165e331b55b2ea662b49ac08e1 \
                    sha1    285fa7433a71ebcbbda1c8d0b9dbd490e2b5e354 \
                    rmd160  047edddef0953bb262aef301aa29eea1fd16f2dd

python.versions     27

if {${name} ne ${subport}} {
    depends_lib     port:py${python.version}-pygraph-core \
                    port:py${python.version}-pydot
    post-destroot {
        file delete ${destroot}${python.pkgd}/pygraph/readwrite/__init__.py
        file delete ${destroot}${python.pkgd}/pygraph/readwrite/__init__.pyc
    }
}
