# -*- 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
python.rootname     CacheControl
version             0.12.6
revision            0
categories-append   devel
platforms           darwin
license             Apache-2
supported_archs     noarch

python.versions     37 38 39

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/ionrock/cachecontrol

checksums           rmd160  67bcb07c66fed67504390434cce0e02050336f72 \
                    sha256  be9aa45477a134aee56c8fac518627e1154df063e85f67d4f83ce0ccc23688e8 \
                    size    14616

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

    depends_lib-append \
        port:py${python.version}-requests \
        port:py${python.version}-msgpack

    livecheck.type  none
}
