# -*- 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             1.0.4
revision            1
categories-append   devel
platforms           darwin
license             BSD

python.versions     27 34 35 36 37

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
master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}

distname            ${python.rootname}-${version}

checksums           rmd160  d6c216ed19ab8e948d86ca26038c3119107b2407 \
                    sha256  ceeb6a75afc1b2de00c2b8b6da121dec3fb77031326897b80d4375a70e96aebf \
                    size    16309654

if {${name} ne ${subport}} {
    depends_build-append \
                        port:py${python.version}-setuptools
    depends_lib-append  port:py${python.version}-six \
                        port:py${python.version}-yaml \
                        port:py${python.version}-dateutil \
                        port:py${python.version}-jinja2 \
                        port:py${python.version}-numpy \
                        port:py${python.version}-packaging \
                        port:py${python.version}-Pillow \
                        port:py${python.version}-tornado

    if {${python.version} == 27} {
        depends_lib-append  port:py${python.version}-futures
    }

    livecheck.type      none
}