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

python.versions     310 311 312 313 314

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  f1fc578808771f1854eae978b274d1ea91eb9bd8 \
                    sha256  73e7efec4b06b20d9267b441c1f733664f989fb8688391b670ca812d70795d11 \
                    size    28985

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