# -*- 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-treq
version             25.5.0
revision            0

maintainers         nomaintainer
description         A requests-like API built on top of twisted.web's Agent
long_description    {*}${description}

supported_archs     noarch
platforms           {darwin any}

homepage            https://github.com/twisted/treq

license             MIT

checksums           sha256  25dde3a55ae85ec2f2c56332c99aef255ab14f997d0d00552ebff13538a9804a \
                    rmd160  2e70da9ac6a6a5b5e2c5526753f02b3dea37c7c8 \
                    size    83588

python.versions     310 311 312 313

python.pep517_backend \
                    hatch

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-incremental \
                    port:py${python.version}-requests \
                    port:py${python.version}-hyperlink \
                    port:py${python.version}-twisted \
                    port:py${python.version}-attrs \
                    port:py${python.version}-typing_extensions \
                    port:py${python.version}-python-multipart
}
