# -*- 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-bokeh
version             3.8.0
revision            0

categories-append   devel
license             BSD
platforms           {darwin any}
supported_archs     noarch

python.versions     39 310 311 312 313

maintainers         {stromnov @stromnov} openmaintainer

description         Bokeh is an implementation of Grammar of Graphics

long_description    Bokeh (pronounced boh-Kay) is an implementation of \
                    Grammar of Graphics for Python, that also supports \
                    the customized rendering flexibility of Protovis and d3.

homepage            https://github.com/bokeh/bokeh

checksums           rmd160  d1c0eb7f55e357fe0310a44728019c62d99368a1 \
                    sha256  bfdf5e9df910653b097f70cd38f4c2399d91af6e54a618126e2387cc33c9ec03 \
                    size    6529746

if {${name} ne ${subport}} {
    if {${python.version} eq 39} {
        version     3.4.3
        revision    0
        checksums   rmd160  1dc0fb2bf3aae8d8ebadd6e76179da5164095303 \
                    sha256  b7c22fb0f7004b04f12e1b7b26ee0269a26737a08ded848fb58f6a34ec1eb155 \
                    size    6410715
    }

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

    depends_lib-append  port:py${python.version}-jinja2 \
                        port:py${python.version}-contourpy \
                        port:py${python.version}-numpy \
                        port:py${python.version}-packaging \
                        port:py${python.version}-pandas \
                        port:py${python.version}-Pillow \
                        port:py${python.version}-yaml \
                        port:py${python.version}-tornado \
                        port:py${python.version}-xyzservices

    # required if subport versions differ
    livecheck.type      none
}
