# -*- 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-dogpile-cache
python.rootname     dogpile.cache
version             1.4.0
revision            0

maintainers         nomaintainer
license             MIT
supported_archs     noarch
platforms           {darwin any}

description         Caching front-end based on the Dogpile lock
long_description    {*}${description}
homepage            https://github.com/sqlalchemy/dogpile.cache
distname            dogpile_cache-${version}

checksums           rmd160  4c26ce100274c6988e491f7b77dc3942d0598926 \
                    sha256  b00a9e2f409cf9bf48c2e7a3e3e68dac5fa75913acbf1a62f827c812d35f3d09 \
                    size    937468

python.versions     39 310 311 312 313

if {${subport} ne ${name}} {

    if {${python.version} < 311} {
        depends_run-append  port:py${python.version}-typing_extensions
    }

    depends_run-append \
                    port:py${python.version}-decorator \
                    port:py${python.version}-stevedore
}
