# -*- 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-responses
version             0.25.8
revision            0

categories-append   devel
platforms           {darwin any}
supported_archs     noarch
license             Apache-2
maintainers         {petr @petrrr} openmaintainer

description         A utility library for mocking out the requests library
long_description    {*}${description}

homepage            https://github.com/getsentry/responses

checksums           rmd160  95e560be596f0484a752cf60b5f8feed52fba7d6 \
                    sha256  9374d047a575c8f781b94454db5cab590b6029505f488d12899ddb10a4af1cf4 \
                    size    79320

python.versions     310 311 312 313 314

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

    test.run        yes
    depends_test-append \
                    port:py${python.version}-pytest-asyncio \
                    port:py${python.version}-pytest-httpserver \
                    port:py${python.version}-tomli-w
}
