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

27 lines
935 B
Bash

# Template file for 'python3-pytest-httpserver'
pkgname=python3-pytest-httpserver
version=1.0.8
revision=2
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="Orphaned <orphan@voidlinux.org>"
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=d25a765e660f252029738392cff49dd3b2d6e5070ac81c7fb794ae6eac93ef76
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
}