python3-hypercorn: update to 0.12.0.

This commit is contained in:
Andrew J. Hesford 2021-11-09 09:41:39 -05:00
parent 628da634bc
commit 7c8aeb8641
1 changed files with 7 additions and 6 deletions

View File

@ -1,10 +1,11 @@
# Template file for 'python3-hypercorn'
pkgname=python3-hypercorn
version=0.11.2
revision=2
version=0.12.0
revision=1
wrksrc="${pkgname#*-}-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
build_style=python3-pep517
make_install_target="Hypercorn-${version}-*-*-*.whl"
hostmakedepends="python3-poetry-core"
depends="python3-h11 python3-h2 python3-priority
python3-toml python3-typing_extensions python3-wsproto"
checkdepends="python3-pytest-asyncio $depends"
@ -14,10 +15,10 @@ license="MIT"
homepage="https://gitlab.com/pgjones/hypercorn"
changelog="https://gitlab.com/pgjones/hypercorn/-/blob/master/CHANGELOG.rst"
distfiles="${homepage}/-/archive/${version}/${pkgname#*-}-${version}.tar.gz"
checksum=5030666663b3a048f971db9f728a76d4e0075a06e2a1fbed67b5c47cb11e7a5f
checksum=c373eda54f301fdf58c5728454fb8c7cb9585aeb73f169430d9d88b5a62f7d10
do_check() {
vsed -i setup.cfg -e '/addopts/d'
vsed -i pyproject.toml -e '/addopts/d'
# Ignored tests depend on packages not offered by Void
PYTHONPATH=src python3 -m pytest \
--ignore-glob="tests/trio/*" \