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

checksums           rmd160  273e11e49fb8680cd203e29f432ea87238ceb870 \
                    sha256  55f66aaeff6c2c8d444222826f602799252e4a5008bed7f4e50290a314d712a7 \
                    size    118280

python.versions     39 310 311 312

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

    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
}
