mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-19 07:37:01 +02:00
python3-quart: repackage with updated pep517 build style
This commit is contained in:
parent
3f0d0963eb
commit
35c908db9f
1 changed files with 2 additions and 8 deletions
|
@ -7,7 +7,7 @@ make_install_target="dist/quart-${version}-*-*-*.whl"
|
|||
hostmakedepends="python3-poetry-core"
|
||||
depends="python3-aiofiles python3-hypercorn python3-click python3-MarkupSafe
|
||||
python3-blinker python3-itsdangerous python3-Jinja2 python3-Werkzeug"
|
||||
checkdepends="python3-pytest-asyncio python3-hypothesis python3-mock python3-dotenv unzip $depends"
|
||||
checkdepends="python3-pytest-asyncio python3-hypothesis python3-mock python3-dotenv $depends"
|
||||
short_desc="Python asyncio ASGI web framework with Flask API"
|
||||
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
||||
license="MIT"
|
||||
|
@ -16,14 +16,8 @@ changelog="https://raw.githubusercontent.com/pallets/quart/main/CHANGES.rst"
|
|||
distfiles="https://github.com/pallets/quart/archive/refs/tags/${version}.tar.gz"
|
||||
checksum=68ce4e6f786d5bf4a6056569e07e7055e1dfbb7136a531a18087345d8ba34c5c
|
||||
|
||||
do_check() {
|
||||
# Tests require dist-info on the package, which is only in the wheel.
|
||||
# Pip can install the wheel in the build tree, but unzip is less evil.
|
||||
mkdir -p test
|
||||
unzip ${make_install_target} -d test
|
||||
|
||||
pre_check() {
|
||||
vsed -e '/addopts/d' -i pyproject.toml
|
||||
PYTHONPATH=test python3 -m pytest
|
||||
}
|
||||
|
||||
post_install() {
|
||||
|
|
Loading…
Add table
Reference in a new issue