# -*- 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.20.3
revision                0
name                    py-graphviz

categories-append       graphics devel
license                 MIT
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
platforms               {darwin any}

checksums               rmd160  fdc6d9fcd772615273977934430ed8c3f56f6284 \
                        sha256  6ae51c891c539a639b2db0862049979ce08214786b4beecc817b386596db428c \
                        size    190499
github.tarball_from     archive

python.versions         310 311 312 313 314

if {${name} ne ${subport}} {
    depends_run-append  path:bin/dot:graphviz

    depends_test-append \
                        port:py${python.version}-pytest-mock

    test.run            yes
}
