void-packages/srcpkgs/python3-pytest-httpserver/template

27 lines
944 B
Bash

# Template file for 'python3-pytest-httpserver'
pkgname=python3-pytest-httpserver
version=1.1.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-poetry-core"
depends="python3-pytest python3-Werkzeug"
checkdepends="${depends} python3-MarkupSafe python3-requests python3-toml"
short_desc="HTTP server for pytest"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="MIT"
homepage="https://www.github.com/csernazs/pytest-httpserver"
changelog="https://raw.githubusercontent.com/csernazs/pytest-httpserver/master/CHANGES.rst"
distfiles="https://github.com/csernazs/pytest-httpserver/archive/refs/tags/${version}.tar.gz"
checksum=4378ff64c5c305d7174d3f7aed9c00330c8bf6caa60ea0340885a9879aeee94d
if [ "$XBPS_BUILD_ENVIRONMENT" = "void-packages-ci" ]; then
# this test fails on CI (bind to ipv6 "::1" address)
make_check_args="
--deselect=tests/test_ip_protocols.py::test_ipv6
"
fi
post_install() {
vlicense LICENSE
}