# -*- 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-beaker
version             1.11.0
revision            0
categories-append   www
platforms           darwin
license             BSD MIT
supported_archs     noarch

python.versions     27 35 36 37 38 39

maintainers         {stromnov @stromnov} openmaintainer

description         A Session and Caching library with WSGI Middleware

long_description    Beaker is a web session and general caching library that \
                    includes WSGI middleware for use in web applications. \
                    \
                    As a general caching library, Beaker can handle storing \
                    for various times any Python object that can be pickled \
                    with optional back-ends on a fine-grained basis. \
                    \
                    Beaker was built largely on the code from MyghtyUtils, \
                    then refactored and extended with database support. \
                    \
                    Beaker includes Cache and Session WSGI middleware to ease \
                    integration with WSGI capable frameworks.

homepage            https://beaker.readthedocs.io/
master_sites        pypi:B/Beaker

distname            Beaker-${version}

checksums           rmd160  98b78f5963f58c6db6b66a54d40297c226a98452 \
                    sha256  ad5d1c05027ee3be3a482ea39f8cb70339b41e5d6ace0cb861382754076d187e \
                    size    40932

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

    if {${python.version} < 30} {
        depends_lib-append  port:py${python.version}-funcsigs
    }

    livecheck.type      none
} else {
    livecheck.name      Beaker
}
