# -*- 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-guidata
version             3.14.0
revision            0

platforms           {darwin any}
supported_archs     noarch
license             BSD
maintainers         {reneeotten @reneeotten} openmaintainer

description         Automatic GUI generation for easy dataset editing and \
                    display
long_description    {*}${description}

homepage            https://github.com/PlotPyStack/guidata

checksums           rmd160  f72ee2af4ea32d76a0615a5807e4beea23cc45c0 \
                    sha256  c8b7e5d8ddf77dac448d04b928721f3d1982daa9ef1f81da0ae6873e644f418b \
                    size    868605

python.versions     313 314

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-h5py \
                    port:py${python.version}-numpy \
                    port:py${python.version}-qtpy \
                    port:py${python.version}-requests

    if {${python.version} < 311} {
        depends_lib-append \
                    port:py${python.version}-tomli
    }
}
