# -*- 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-notebook
version             5.4.1
revision            0
categories-append   devel science
platforms           darwin
license             BSD
supported_archs     noarch

python.versions     27 34 35 36

maintainers         stromnov openmaintainer

description         Web-based notebook environment for interactive computing.
long_description    ${description}

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

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

checksums           rmd160  b13485d07a53f8e5a9f21002457daddf1866c6fa \
                    sha256  7d6143d10e9b026df888e0b2936ceff1827ef2f2087646b4dd475c8dcef58606

if {${name} ne ${subport}} {
    depends_lib-append  port:py${python.version}-jinja2 \
                        port:py${python.version}-tornado \
                        port:py${python.version}-ipython_genutils \
                        port:py${python.version}-traitlets \
                        port:py${python.version}-jupyter_core \
                        port:py${python.version}-jupyter_client \
                        port:py${python.version}-nbformat \
                        port:py${python.version}-nbconvert \
                        port:py${python.version}-ipykernel \
                        port:py${python.version}-terminado \
                        port:py${python.version}-send2trash

    livecheck.type      none
}