# -*- 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-plotly
version             6.3.0
revision            0

categories          python graphics
platforms           {darwin any}
supported_archs     noarch
license             MIT
maintainers         {nist.gov:joe.fowler @joefowler} openmaintainer

description         Interactive graphing library for Python.
long_description \
    Plotly's Python graphing library makes interactive, publication-quality graphs. Examples of how to \
    make line plots, scatter plots, area charts, bar charts, error bars, box plots, histograms, \
    heatmaps, subplots, multiple-axes, polar charts, and bubble charts.

homepage            https://plotly.com/python/

checksums           rmd160  7ca1f6ab41a742b77f541b952553e41b2ab07fcf \
                    sha256  8840a184d18ccae0f9189c2b9a2943923fd5cae7717b723f36eef78f444e5a73 \
                    size    6923926

python.versions     39 310 311 312 313

if {${name} ne ${subport}} {
    patchfiles      patch-pyproject.toml.diff

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

    depends_lib-append \
        port:py${python.version}-matplotlib \
        port:py${python.version}-jupyterlab \
        port:py${python.version}-tenacity
}
