25 lines
874 B
Bash
25 lines
874 B
Bash
# Template file for 'python3-pytest-httpserver'
|
|
pkgname=python3-pytest-httpserver
|
|
version=1.0.5
|
|
revision=2
|
|
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 <mobinmob@disroot.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=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
|
|
}
|