Maxime Gauduin pushed to branch main at Arch Linux / Packaging / Packages / hypercorn
Commits: 2cf18979 by Maxime Gauduin at 2024-04-10T11:03:14+02:00 python 3.12 rebuild - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,7 +1,7 @@ pkgbase = hypercorn pkgdesc = An ASGI Server based on Hyper libraries and inspired by Gunicorn pkgver = 0.16.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/pgjones/hypercorn arch = any license = MIT @@ -9,19 +9,20 @@ pkgbase = hypercorn checkdepends = python-hypothesis checkdepends = python-pytest checkdepends = python-pytest-asyncio + checkdepends = python-pytest-cov checkdepends = python-pytest-sugar checkdepends = python-pytest-trio - checkdepends = python-tox checkdepends = python-trio makedepends = git makedepends = python-build makedepends = python-installer makedepends = python-poetry-core + depends = python + depends = python-exceptiongroup depends = python-h11 depends = python-h2 depends = python-priority - depends = python-toml - depends = python-typing_extensions + depends = python-tomli depends = python-wsproto optdepends = python-trio: trio support source = git+https://github.com/pgjones/hypercorn.git#tag=f8e4e5de3aec7f8eb986535163c3d5b4f424465c ===================================== PKGBUILD ===================================== @@ -2,17 +2,18 @@ pkgname=hypercorn pkgver=0.16.0 -pkgrel=1 +pkgrel=2 pkgdesc='An ASGI Server based on Hyper libraries and inspired by Gunicorn' url=https://github.com/pgjones/hypercorn arch=(any) license=(MIT) depends=( + python + python-exceptiongroup python-h11 python-h2 python-priority - python-toml - python-typing_extensions + python-tomli python-wsproto ) makedepends=( @@ -26,6 +27,7 @@ checkdepends=( python-hypothesis python-pytest python-pytest-asyncio + python-pytest-cov python-pytest-sugar python-pytest-trio python-trio @@ -35,10 +37,6 @@ _tag=f8e4e5de3aec7f8eb986535163c3d5b4f424465c source=(git+https://github.com/pgjones/hypercorn.git#tag=${_tag}) sha256sums=(SKIP) -prepare() { - sed -i 's/--no-cov-on-fail//' hypercorn/pyproject.toml -} - pkgver() { cd hypercorn git describe --tags @@ -51,7 +49,8 @@ build() { check() { cd hypercorn - PYTHONPATH="$PWD"/src pytest + PYTHONPATH="src:$PYTHONPATH" python -m pytest \ + --ignore=tests/trio/test_lifespan.py } package() { View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/hypercorn/-/commit/2cf189790b04123d016bfdba594101fa3b5e673e -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/hypercorn/-/commit/2cf189790b04123d016bfdba594101fa3b5e673e You're receiving this email because of your account on gitlab.archlinux.org.