diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-11-08 19:06:01 +0100 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-11-08 19:23:05 +0100 |
| commit | 18c4f89430c731877353ebebfbf2c57bf204f41a (patch) | |
| tree | 779eedece30d2abdb18739a98c17687239ff296f /dev-python/hypercorn | |
| parent | 2149805f957c9dad6ce6d62413910301549a8827 (diff) | |
| download | gentoo-18c4f89430c731877353ebebfbf2c57bf204f41a.tar.gz gentoo-18c4f89430c731877353ebebfbf2c57bf204f41a.tar.bz2 gentoo-18c4f89430c731877353ebebfbf2c57bf204f41a.zip | |
dev-python/hypercorn: Bump to 0.18.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/hypercorn')
| -rw-r--r-- | dev-python/hypercorn/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/hypercorn/hypercorn-0.18.0.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/hypercorn/Manifest b/dev-python/hypercorn/Manifest index 3b4d3e8aec3c..e687cd116fd7 100644 --- a/dev-python/hypercorn/Manifest +++ b/dev-python/hypercorn/Manifest @@ -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 diff --git a/dev-python/hypercorn/hypercorn-0.18.0.ebuild b/dev-python/hypercorn/hypercorn-0.18.0.ebuild new file mode 100644 index 000000000000..e9a46bb20408 --- /dev/null +++ b/dev-python/hypercorn/hypercorn-0.18.0.ebuild @@ -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 +} |
