# -*- 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-niquests
version             3.21.0
revision            0
categories-append   net
supported_archs     noarch
platforms           {darwin any}
homepage            https://niquests.readthedocs.io/en/latest/
license             Apache-2
maintainers         {i0ntempest @i0ntempest} openmaintainer

description         simple, yet elegant, HTTP library
long_description    ${name} is a ${description}. It is a drop-in replacement for Requests,\
                    which is under feature freeze.

checksums           rmd160  9f248254d59ab93173bcb48ea24cfdddb3f4592e \
                    sha256  5b7d10a05f4c7ed08cede0af74f492ae7a8a5a71291833d029e23365fc3ea80a \
                    size    1070211

python.versions     313 314
python.pep517_backend \
                    hatch

if {${name} ne ${subport}} {
    # deps for niquests[full]
    depends_lib-append \
                    port:py${python.version}-charset-normalizer \
                    port:py${python.version}-urllib3-future \
                    port:py${python.version}-wassima \
                    port:py${python.version}-orjson            
}
