# -*- 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.14.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/tlambert03/psygnal

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  57ffa64fcdf52317966c851be0a7b38dacecf7f7 \
                    sha256  cc663f571bd52c74168bba81d870e39d633d8281397df6d14874ec664122e41d \
                    size    124166

python.versions     39 310 311 312 313

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
}
