# -*- 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-cachecontrol
version             0.14.1
revision            0
categories-append   devel
platforms           {darwin any}
license             Apache-2
supported_archs     noarch

python.versions     39 310 311 312

python.pep517_backend \
                    flit

maintainers         {gmail.com:davidgilman1 @dgilman} openmaintainer

description         httplib2 caching for requests
long_description    \
    CacheControl is a port of the caching algorithms in \
    httplib2 for use with requests session object.

homepage            https://github.com/psf/cachecontrol

checksums           rmd160  37018ab0ef5339cac0e578ac786057f293ad7678 \
                    sha256  06ef916a1e4eb7dba9948cdfc9c76e749db2e02104a9a1277e8b642591a0f717 \
                    size    28928

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