# -*- 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-blockdiag
version             1.5.4
revision            0
categories-append   graphics
platforms           darwin
license             Apache-2
supported_archs     noarch

python.versions     27 34 35 36 37

maintainers         {stromnov @stromnov} openmaintainer

description         blockdiag generates block-diagram image from text
long_description    ${description}

homepage            http://blockdiag.com/
master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}

distname            blockdiag-${version}

checksums           rmd160  e4de1dd2967a05818307253e62725783ebcec1a3 \
                    sha256  929125db1cb59145e09dc561021389c7ca71108ef4e4c51a12728eea5b75fccc \
                    size    2693073

if {${name} ne ${subport}} {
    depends_lib-append  port:py${python.version}-setuptools \
                        port:py${python.version}-Pillow \
                        port:py${python.version}-funcparserlib \
                        port:py${python.version}-reportlab \
                        port:py${python.version}-wand \
                        port:py${python.version}-webcolors

    livecheck.type      none
}