# -*- 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-psygnal
version             0.16.1
revision            0

license             BSD
maintainers         {mps @Schamschula} openmaintainer
description         Pure python implementation of Qt-style Signals
long_description    {*}${description}, with (optional) signature and type checking, and \
                    support for threading.
homepage            https://github.com/pyapp-kit/psygnal

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  100654f64e926f044e48d7d885c517961cfc2443 \
                    sha256  8e30df5e8f2a927191afacd22653924ba5ec54ca00f965f4af3ed38e37b727a9 \
                    size    129789

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}-pydantic \
                    port:py${python.version}-typing_extensions
}
