# -*- 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-npe2
version             0.7.9
revision            0
license             BSD
maintainers         {mps @Schamschula} openmaintainer
description         napari plugin refactor
long_description    {*}${description}
homepage            https://github.com/napari/npe2

supported_archs     noarch
platforms           {darwin any}

checksums           rmd160  d3020e821db5da78bb6f684164b6f90929e4c025 \
                    sha256  b6d2f20c87c12bcf60294cab9b1645889c12d68c5338ff7abd66f2742e675ad4 \
                    size    121045

python.versions     310 311 312 313

python.pep517_backend \
                    hatch

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

    depends_lib-append  \
                    port:py${python.version}-appdirs \
                    port:py${python.version}-magicgui \
                    port:py${python.version}-psygnal \
                    port:py${python.version}-pydantic \
                    port:py${python.version}-pydantic-compat \
                    port:py${python.version}-pytomlpp \
                    port:py${python.version}-rich \
                    port:py${python.version}-typer \
                    port:py${python.version}-yaml
}
