# -*- 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.5.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  3d89c1ead198b7232d6e7206d4ee6029efd306ea \
                    sha256  849c5573c9a38f155cd4173103c702b637ede0361c12e864876877d0cd125eec \
                    size    947962

python.versions     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
}
