# -*- 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
version             1.0.1
platforms           darwin
maintainers         nomaintainer
license             MIT
supported_archs     noarch

description         Caching front-end based on the Dogpile lock
long_description    ${description}
homepage            https://github.com/sqlalchemy/dogpile.cache
master_sites        pypi:d/dogpile.cache/
distname            dogpile.cache-${version}
checksums           md5     98a89b45f2c7a8c66b5d03801cb356e8 \
                    rmd160  e2543c06ee36c130b689911fcf0021a72ae958df \
                    sha256  695dd61f32d97233d5c5e1d7ac1238f5116391ea990b4b24a239229e280bf36e \
                    size    339926

python.versions     36 37 38

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

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

    livecheck.type  none
} else {
    livecheck.name  dogpile.cache
}
