# -*- 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
# $Id: Portfile 119105 2014-04-17 10:48:15Z stromnov@macports.org $

PortSystem          1.0
PortGroup           github 1.0
PortGroup           python 1.0

github.setup        ContinuumIO bokeh 0.4.4

name                py-bokeh
revision            0
categories-append   devel
platforms           darwin
license             BSD

python.versions     27

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/ContinuumIO/Bokeh

checksums           rmd160  558872fbbd779daf9c3e9f1422829ce70c1c3ec2 \
                    sha256  7d52474a8b6e90c80befc8964d5add95dfd5928d3cade37092ab77d9fd46d849

if {${name} ne ${subport}} {
    depends_lib-append  port:py${python.version}-flask \
                        port:py${python.version}-jinja2 \
                        port:py${python.version}-markupsafe \
                        port:py${python.version}-werkzeug \
                        port:py${python.version}-gevent \
                        port:py${python.version}-gevent-websocket \
                        port:py${python.version}-greenlet \
                        port:py${python.version}-itsdangerous \
                        port:py${python.version}-numpy \
                        port:py${python.version}-pandas \
                        port:py${python.version}-dateutil \
                        port:py${python.version}-tz \
                        port:py${python.version}-redis \
                        port:py${python.version}-requests \
                        port:py${python.version}-six \
                        port:py${python.version}-pygments \
                        port:py${python.version}-pystache \
                        port:py${python.version}-markdown \
                        port:py${python.version}-yaml \
                        port:py${python.version}-chaco \
                        port:py${python.version}-traits

    depends_run-append  port:redis

    livecheck.type      none
} else {
    livecheck.regex     {archive/(\d+(?:\.\d+)*)\.[tz]}
}
