# -*- 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-seaborn
version             0.11.1
revision            0
categories-append   science
license             BSD
platforms           darwin

python.versions     27 35 36 37 38 39

maintainers         {stromnov @stromnov} openmaintainer

description         Statistical data visualization library

long_description    Seaborn is a library for making attractive and \
                    informative statistical graphics in Python. It is \
                    built on top of matplotlib and tightly integrated \
                    with the PyData stack, including support for numpy \
                    and pandas data structures and statistical routines \
                    from scipy and statsmodels.

homepage            https://seaborn.pydata.org/

checksums           rmd160  e8ce9479115dc905709a359b0f7db764fca9d737 \
                    sha256  44e78eaed937c5a87fc7a892c329a7cc091060b67ebd1d0d306b446a74ba01ad \
                    size    261397

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

    if {${python.version} <= 35} {
        version             0.9.0
        revision            0
        distname            ${python.rootname}-${version}
        checksums           rmd160  c6fc0b1181a177c1490585f6de6cf83f05df6750 \
                            sha256  76c83f794ca320fb6b23a7c6192d5e185a5fcf4758966a0c0a54baee46d41e2f \
                            size    198184
        depends_lib-append  port:py${python.version}-statsmodels \
                            port:py${python.version}-patsy
    }

    depends_build-append \
                        port:py${python.version}-setuptools

    depends_lib-append  port:py${python.version}-numpy \
                        port:py${python.version}-scipy \
                        port:py${python.version}-pandas \
                        port:py${python.version}-matplotlib

    livecheck.type      none
}
