# -*- 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.13.2
revision            0
categories-append   science
license             BSD
platforms           {darwin any}
supported_archs     noarch

python.versions     39 310 311 312 313
python.pep517_backend flit

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  718e3cb1d8456b7250cce5676464de2072fa43f9 \
                    sha256  93e60a40988f4d65e9f4885df477e2fdaff6b73a9ded434c1ab356dd57eefff7 \
                    size    1457696

if {${name} ne ${subport}} {
    depends_lib-append  port:py${python.version}-numpy \
                        port:py${python.version}-pandas \
                        port:py${python.version}-matplotlib

    variant stats description {Install extra stats dependencies} {
        depends_lib-append  port:py${python.version}-scipy \
                            port:py${python.version}-statsmodels
    }

    test.run            yes
}
