# -*- 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.5.2
revision            0

categories-append   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  554265172aee73f706c8e7f3f81cb64c3e5c25da \
                    sha256  7478555be0198562d1435dee4c308268187553cc15516a2f4dd034453699e393 \
                    size    7015695

python.versions     310 311 312 313 314

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
}
