# -*- 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-napari-svg
python.rootname     napari_svg
version             0.2.1
revision            0

license             BSD
maintainers         {mps @Schamschula} openmaintainer
description         A plugin for reading and writing svg files with napari.
long_description    {*}${description}
homepage            https://github.com/napari/napari-svg

supported_archs     noarch
platforms           {darwin any}

python.versions     310 311 312 313 314

checksums           rmd160  723623c34cea82dc1b5d5ca69d5485c254fb7a89 \
                    sha256  031f13b34b0948afbdcb11eb00728fe32ef7e4e3aa3905f923001d6871a08ad9 \
                    size    17533

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

    depends_lib-append  \
                    port:py${python.version}-imageio \
                    port:py${python.version}-napari-plugin-engine \
                    port:py${python.version}-numpy \
                    port:py${python.version}-vispy
}
