diff --git a/srcpkgs/python3-pytest-httpserver/template b/srcpkgs/python3-pytest-httpserver/template index 8238f5d82c8..bb5e84559f3 100644 --- a/srcpkgs/python3-pytest-httpserver/template +++ b/srcpkgs/python3-pytest-httpserver/template @@ -1,18 +1,24 @@ # Template file for 'python3-pytest-httpserver' pkgname=python3-pytest-httpserver -version=1.0.4 +version=1.0.5 revision=1 wrksrc=pytest-httpserver-${version} build_style=python3-pep517 hostmakedepends="python3-poetry-core" depends="python3-pytest python3-Werkzeug" +checkdepends="${depends} python3-MarkupSafe python3-requests" short_desc="HTTP server for pytest" maintainer="mobinmob " 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=164ec7aa21b776d441bdb2fddb85b92a8a0a0cd7ad5d1d5210430d23b2624a4d +checksum=932843df9fa584e6a664b2e7a21dec4ddf9507c235a78853f21e00b111352395 + +do_check() { + python3 -m pip install --no-deps --target test pytest_httpserver-${version}-*-*-*.whl + PYTHONPATH=test python3 -m pytest tests +} post_install() { vlicense LICENSE