# -*- 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-beartype
version             0.22.9
revision            0

license             MIT
supported_archs     noarch
platforms           {darwin any}
maintainers         {@harens harens} openmaintainer

description         Unbearably fast O(1) runtime type-checking in pure Python
long_description    Beartype is an open-source pure-Python PEP-compliant \
                    constant-time runtime type checker emphasizing \
                    efficiency, portability, and thrilling puns.

homepage            https://github.com/beartype/beartype

checksums           rmd160 d4e31896dcbd024cc77a93ed054b0a465eb294b1 \
                    sha256 8f82b54aa723a2848a56008d18875f91c1db02c32ef6a62319a002e3e25a975f \
                    size   1608866

python.versions     310 311 312 313 314
python.pep517_backend hatch

if {${subport} ne ${name}} {
    test.run        yes
    test.env-append PYTHONPATH=${destroot}${python.pkgd}
}
