dev-python/hypercorn: Bump to 0.18.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-11-08 19:06:01 +01:00
parent 2149805f95
commit 18c4f89430
2 changed files with 45 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST hypercorn-0.17.3.gh.tar.gz 162354 BLAKE2B 60e5e0edbf60330e1a172d8b86ed1e0b2bfbb047dca22bf9eecfd672d8bdcf7a224658d0b5b123fb5f63fcff74ad2928760df58c1be065e4849c5bd36cc5f90f SHA512 d1dd42445af580d4083cfae906cbed7d74b9378be93b476ef2188744f9f17a041b496b270847a8a47ffd99198513f6133942367fc7a11d4d502353c1204a1abb
DIST hypercorn-0.18.0.gh.tar.gz 162840 BLAKE2B f4bee105da7538a3ae6e28adf8b1274c6ad19a98d4789e2086000aa77b4901cdc7c9c4538e9a82d232a25a5c802bcb868866b41cbeb05b589bd9b79d6bee60e2 SHA512 ed21ddfe01c53bd823b406663eba09b7366af99ba478939ca6d948e3dc284b63681a7f57c96dd65f4a3156cb0d4bd1a7464dabc3f6d86ed6ccf5911640393731

View File

@@ -0,0 +1,44 @@
# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=pdm-backend
PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
inherit distutils-r1
DESCRIPTION="A ASGI Server based on Hyper libraries and inspired by Gunicorn"
HOMEPAGE="
https://github.com/pgjones/hypercorn/
https://pypi.org/project/Hypercorn/
"
SRC_URI="
https://github.com/pgjones/hypercorn/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
RDEPEND="
dev-python/h11[${PYTHON_USEDEP}]
>=dev-python/h2-4.3.0[${PYTHON_USEDEP}]
dev-python/priority[${PYTHON_USEDEP}]
>=dev-python/wsproto-0.14.0[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/httpx[${PYTHON_USEDEP}]
>=dev-python/trio-0.22.0[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=( pytest-{asyncio,trio} )
distutils_enable_tests pytest
src_prepare() {
sed -i -e 's:--no-cov-on-fail::' pyproject.toml || die
distutils-r1_src_prepare
}