# -*- 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.2.0
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 5c1d80255aae288a77607bb08f24e0e1e6a0fc52 \
sha256 d07744ce2efaafa0575ed3081d416b999c773b09e84aa95065138bedc3e12352 \
size 71860
python.versions 310 311 312 313 314 315
python.pep517_backend poetry
if {${name} ne ${subport}} {
depends_lib-append \
port:py${python.version}-werkzeug
test.run yes
depends_test-append \
port:py${python.version}-requests
}