# -*- 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.13.0
revision            0
license             BSD
platforms           {darwin any}
supported_archs     noarch
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/tlambert03/psygnal

python.versions     39 310 311 312 313

checksums           rmd160  9d327c37474828e6f61f2439152f85104c668b87 \
                    sha256  086cd929960713d7bf1e87242952b0d90330a1028827894dcb0cd174b331c1e4 \
                    size    107299

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

    depends_build-append \
                    port:py${python.version}-hatch-vcs

    depends_lib-append  \
                    port:py${python.version}-mypy_extensions \
                    port:py${python.version}-typing_extensions
}
