# -*- 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-propcache
version             0.3.2
revision            0
categories-append   devel
license             Apache-2

python.versions     39 310 311 312 313

maintainers         {toby @tobypeterson} openmaintainer

description         fast implementation of cached properties
long_description    accelerated versions of functools.cached_property

homepage            https://github.com/aio-libs/propcache

checksums           rmd160  ca837e6087443cea6772c31cbcf1f2826f551bf0 \
                    sha256  20d7d62e4e7ef05f221e0db2856b979540686342e7dd9973b815599c7057e168 \
                    size    44139

if {${name} ne ${subport}} {
    depends_build-append    port:py${python.version}-cython \
                            port:py${python.version}-expandvars

    if {${python.version} < 311} {
        depends_build-append \
                            port:py${python.version}-tomli
    }
}
