27 lines
907 B
Bash
27 lines
907 B
Bash
# Template file for 'python3-quart'
|
|
pkgname=python3-quart
|
|
version=0.14.1
|
|
revision=1
|
|
wrksrc="${pkgname#*-}-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3-aiofiles python3-hypercorn python3-click
|
|
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=6ee8ccd58e2753cc50fe86f212cbb6e2296f809502fb6dd8bd0bf078ed72a544
|
|
|
|
do_check() {
|
|
vsed -e '/addopts/d' -i setup.cfg
|
|
PYTHONPATH=src python3 -m pytest
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|