# -*- 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.1.0
revision            0
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  e1cd0d2498a8660244c25af52bc17c4c80276e0b \
                    sha256  70c944ccb99faea9c1bc2b77caba4dbcd884e083fc32511efbd6f895d7cb6832 \


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}-Pillow \
                        port:py${python.version}-packaging \
                        port:py${python.version}-tornado

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

    livecheck.type      none
}