# -*- 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.7.3
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  009030dac65d444d2c1c3999158a0f7d5c970f5b \
                    sha256  70a89a9f797b103d5ee6ad15fb7944adda115cf0da996ed0b75cfba61cb12f2b \
                    size    6366610

if {${name} ne ${subport}} {
    if {${python.version} eq 39} {
        version     3.4.0
        revision    0
        checksums   rmd160  9d71bf790b903d97d188e0d3c48d086122b23e87 \
                    sha256  9ea6bc407b5e7d04ba7a2f07d8f00e8b6ffe02c2368e707f41bb362a9928569a \
                    size    6401773
    }

    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
}
