# -*- 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.2
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  e4838a3831bd7465b173bae6ec876783dc8447b3 \
                    sha256  ae7a4cbb7ef2028b827b1877cf0b06743d756074fe6ef849391d62448ab7b65d \
                    size    20946219

python.versions     310 311 312 313 314

python.pep517_backend \
                    hatch

if {${name} ne ${subport}} {
    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
}
