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

python.versions     27 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  71223b21950b2e1fdf3ad3daf671a69978558bd3 \
                    sha256  e2d97bed5b199a10686486001fed5c854e4c04ebe28859923f27c52b93904754 \
                    size    17847575

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
}

subport py34-${python.rootname} {
    replaced_by py35-${python.rootname}
    PortGroup obsolete 1.0
}