# -*- 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.15.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  a8b41215e4bed5a5bf482ecb3ddd8f8a2177ecab \
                    sha256  f64f62dee2306fc1c22050a59b6c6cdad126e04b0cf50e393ff858a1da719096 \
                    size    123147

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