# -*- 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
PortGroup               github 1.0

github.setup            xflr6 graphviz 0.14
name                    py-graphviz
categories-append       graphics devel
license                 MIT
platforms               darwin
maintainers             {mcalhoun @MarcusCalhoun-Lopez} openmaintainer
description             Facilitates the creation and rendering of graph descriptions in the DOT language of the Graphviz graph drawing software from Python
long_description        This package facilitates the creation and rendering of graph descriptions in the DOT language of the Graphviz graph drawing software (repo) from Python.
supported_archs         noarch
installs_libs           no

checksums               rmd160  38fb478b2af22b594a62d457699a52c857000688 \
                        sha256  8198c298091670490cf8709ebfd4c34e1b4b47a82e3f48e01656f4daa006bd9c \
                        size    153990

python.versions         27 35 36 37 38

if {${name} ne ${subport}} {

    depends_build-append \
                        port:py${python.version}-setuptools

    depends_run-append  path:bin/dot:graphviz

    test.run            yes

    livecheck.type      none
}
