# -*- 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-wordcloud
version             1.9.3
revision            0

license             MIT
maintainers         nomaintainer

description         A little word cloud generator
long_description    {*}${description}.

homepage            https://github.com/amueller/word_cloud

checksums           rmd160  bf30a119dd95c332699166a5db7b0282b3a84339 \
                    sha256  a9aa738d63ed674a40f0cc31adb83f4ca5fc195f03a6aff6e010d1f5807d1c58 \
                    size    27563752

python.versions     39 310 311 312

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-cython \
                    port:py${python.version}-setuptools_scm

    depends_run-append \
                    port:py${python.version}-matplotlib \
                    port:py${python.version}-numpy \
                    port:py${python.version}-Pillow

    test.run        yes
}
