# -*- 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-requests-futures
python.rootname     requests_futures
version             1.1.0
revision            0

license             Apache-2
maintainers         {mps @Schamschula} openmaintainer
description         Small add-on for the python requests http library.
long_description    {*}${description} Makes use of python 3.2's concurrent.futures or the backport for prior versions of python.
homepage            https://github.com/ross/requests-futures

supported_archs     noarch
platforms           {darwin any}

checksums           rmd160  d3d3d98d48264a264ccefe8ad8adbd2b1f5876f8 \
                    sha256  f839cf536e6638a6e0ca1cfd54ac761bf3bb2b5a7ecf9349557e53acc5244d36 \
                    size    17945

python.versions     310 311 312 313 314

if {${name} ne ${subport}} {
    depends_lib-append  \
                    port:py${python.version}-certifi \
                    port:py${python.version}-charset-normalizer \
                    port:py${python.version}-idna \
                    port:py${python.version}-requests \
                    port:py${python.version}-urllib3
}
