# -*- 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.12.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  cbde467e1d3be9f31aa1fd4ca5fff17eff432a4d \
                    sha256  8d2a99803f3152c469d3642d36c04d680213a20e114245558e026695adf9a9c2 \
                    size    104400

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
}
