From e2713270ecf75d4b113029b00d069317aa730eae Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Fri, 13 Jan 2023 16:23:23 +0100 Subject: [PATCH] python3-pytest-httpserver: fix tests --- srcpkgs/python3-pytest-httpserver/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python3-pytest-httpserver/template b/srcpkgs/python3-pytest-httpserver/template index 0a68b3021b7..a2295ca1d09 100644 --- a/srcpkgs/python3-pytest-httpserver/template +++ b/srcpkgs/python3-pytest-httpserver/template @@ -3,7 +3,7 @@ pkgname=python3-pytest-httpserver version=1.0.5 revision=2 build_style=python3-pep517 -hostmakedepends="python3-poetry-core" +hostmakedepends="python3-poetry-core python3-pip" depends="python3-pytest python3-Werkzeug" checkdepends="${depends} python3-MarkupSafe python3-requests" short_desc="HTTP server for pytest" @@ -15,7 +15,7 @@ distfiles="https://github.com/csernazs/pytest-httpserver/archive/refs/tags/${ver checksum=932843df9fa584e6a664b2e7a21dec4ddf9507c235a78853f21e00b111352395 do_check() { - python3 -m pip install --no-deps --target test pytest_httpserver-${version}-*-*-*.whl + python3 -m pip install --no-deps --target test dist/pytest_httpserver-${version}-py3-none-any.whl PYTHONPATH=test python3 -m pytest tests }