# -*- 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-magicgui
version             0.10.1
revision            0
categories          python
license             MIT
maintainers         {mps @Schamschula} openmaintainer
description         magicgui: build GUIs from functions, using magic.
long_description    {*}${description}
homepage            https://github.com/pyapp-kit/magicgui

supported_archs     noarch
platforms           {darwin any}

checksums           rmd160  1ab2877753a0308d94619cd28aec27df192d44ad \
                    sha256  422cd0c0b5fea2fb37f3d3ea9b5591a160919baeae16061efea6f74c9b8fcfd1 \
                    size    20944533

python.versions     310 311 312 313

if {${name} ne ${subport}} {
    python.pep517_backend \
                    hatch

    depends_build-append \
                    port:py${python.version}-hatch-vcs

    depends_lib-append  \
                    port:py${python.version}-docstring_parser \
                    port:py${python.version}-psygnal \
                    port:py${python.version}-pyqt5 \
                    port:py${python.version}-qtpy \
                    port:py${python.version}-superqt \
                    port:py${python.version}-typing_extensions
}
