# -*- 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-vega
version             3.4.0
revision            0
categories-append   devel graphics
platforms           darwin
license             BSD
supported_archs     noarch

python.versions     27 36 37 38

maintainers         {stromnov @stromnov} openmaintainer

description         IPython/Jupyter notebook module for Vega and Vega-Lite.
long_description    ${description}

homepage            http://github.com/vega/ipyvega

checksums           rmd160  e12903e11fc896e179ed2e550eb449f4da44adeb \
                    sha256  f343ceb11add58d24cd320d69e410b111a56c98c9069ebb4ef89c608c4c1950d \
                    size    1256118

if {${name} ne ${subport}} {

    if {${python.version} <= 35} {
        version             2.6.0
        revision            0
        distname            ${python.rootname}-${version}
        checksums           rmd160  c92ca77c5e1905b85ad105982fdcfeadad759d9e \
                            sha256  c66354d6d164cc3d7254bcd129d8d861daf4a9e9cb8738b1724791777f6c29f0 \
                            size    1112095
    }

    depends_lib-append  port:py${python.version}-setuptools \
                        port:py${python.version}-jupyter \
                        port:py${python.version}-pandas

    livecheck.type      none
}
