void-packages/srcpkgs/python3-quart/template

26 lines
886 B
Bash

# Template file for 'python3-quart'
pkgname=python3-quart
version=0.15.1
revision=1
wrksrc="${pkgname#*-}-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-aiofiles python3-hypercorn python3-click python3-toml
python3-blinker python3-itsdangerous python3-Jinja2 python3-Werkzeug"
checkdepends="python3-pytest-asyncio python3-hypothesis python3-mock $depends"
short_desc="Python asyncio ASGI web framework with Flask API"
maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="MIT"
homepage="https://gitlab.com/pgjones/quart"
changelog="https://gitlab.com/pgjones/quart/-/blob/master/CHANGELOG.rst"
distfiles="${homepage}/-/archive/${version}/${pkgname#*-}-${version}.tar.gz"
checksum=d9fa92cfec967b8730ce75f90a454d0a687871960f5e334885e64bfae9d7cd3a
pre_check() {
sed -e '/addopts/d' -i setup.cfg
}
post_install() {
vlicense LICENSE
}