# -*- 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-jupyter_client
version             5.3.3
revision            0
platforms           darwin
license             BSD
supported_archs     noarch

python.versions     27 34 35 36 37

maintainers         {stromnov @stromnov} openmaintainer

description         Jupyter protocol implementation and client libraries.
long_description    ${description}

homepage            https://jupyter.org
master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}

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

checksums           rmd160  fd4e8cbe87759d4e7195e079d502b70182048c4d \
                    sha256  f406f214f9daa92be110d5b83d62f3451ffc73d3522db7350f0554683533ab18 \
                    size    276735

if {${name} ne ${subport}} {
    if {${python.version} eq 34} {
        version     5.2.4
        revision    0
        epoch       1
        checksums   rmd160  6593fbcb55aa1104534fff8cc6fe68a22b9384a5 \
                    sha256  b5f9cb06105c1d2d30719db5ffb3ea67da60919fb68deaefa583deccd8813551 \
                    size    273397
        distname    ${python.rootname}-${version}
    }

    depends_lib-append  port:py${python.version}-setuptools \
                        port:py${python.version}-traitlets \
                        port:py${python.version}-jupyter_core \
                        port:py${python.version}-zmq \
                        port:py${python.version}-dateutil \
                        port:py${python.version}-tornado

    livecheck.type      none
}