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

python.versions     27 34 35 36

maintainers         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  5059a467f908b7d3356c8de86cbee94fb001ffc6 \
                    sha256  2891b883b30107dc610a7e963a21222f1fd096844d157c09db115179cfab6513

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

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

    livecheck.type      none
}