# -*- 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.2
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  f1bedd6bf546e7ffc29964aa8087ebc3bd9a108b \
                    sha256  80c21885cec276431acd4db92f831c71eb999ea995470ce777e0c577b0cfc1d8 \
                    size    6364893

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
}
