# -*- 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-pytest-httpserver
version             1.1.3
revision            0
maintainers         nomaintainer
platforms           {darwin any}
supported_archs     noarch
license             MIT

description         HTTP server for pytest
long_description    This library is designed to help to test http clients \
                    without contacting the real http server. In other words, \
                    it is a fake http server which is accessible via localhost \
                    can be started with the pre-defined expected http requests \
                    and their responses.

homepage            https://github.com/csernazs/pytest-httpserver

distname            pytest_httpserver-${version}

checksums           rmd160  245938f57efffe73ed6fcb490d39593bcb37fa41 \
                    sha256  af819d6b533f84b4680b9416a5b3f67f1df3701f1da54924afd4d6e4ba5917ec \
                    size    68870

python.versions     310 311 312 313 314
python.pep517_backend poetry

if {${name} ne ${subport}} {
    test.run        yes
    depends_test-append \
                    port:py${python.version}-requests \
                    port:py${python.version}-werkzeug
}
