# -*- 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-wxmplot
version             2025.1.5
revision            0

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

description         Provides wxPython widgets and python functions for displaying numerical data.
long_description    \
    ${description} wxmplot bridges the gap between matplotlib and wxPython by providing \
    wxPython widgets and user-friendly functions for basic 2D line plots, image display, \
    and some custom plots.

homepage            https://newville.github.io/wxmplot

checksums           rmd160  54812d335a5a2b4c0de80da9d1a769fa437f636f \
                    sha256  96472a0e28f9d1f100959d934d292f625390d26716a575c355a6ef058dd06130 \
                    size    146893

python.versions     310 311 312 313

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-setuptools_scm

    depends_run-append \
                    port:py${python.version}-darkdetect \
                    port:py${python.version}-matplotlib \
                    port:py${python.version}-numpy \
                    port:py${python.version}-yaml \
                    port:py${python.version}-Pillow \
                    port:py${python.version}-pyshortcuts \
                    port:py${python.version}-tz \
                    port:py${python.version}-wxpython-4.0 \
                    port:py${python.version}-wxutils
}
