mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
dev-python/hypercorn: add 0.13.2
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST hypercorn-0.11.2.tar.gz 150475 BLAKE2B fa2c2572fe61aa09bfa62691ac18a8d0149a2e31dda82c77c4fc6ff2720739a824e05ff754d9aec9c499e6c02fb77e1f0a2bd4e3efbb3154730fc369f91b949c SHA512 7d90f654445cc3db6cec001ac8523513dec78bd8bce03ddfb56cd46b999c6d5b4f44a7853f2e88673c3e288c104adae3d105c8c8147f306656136cbb9771b289
|
||||
DIST hypercorn-0.13.2.tar.gz 151984 BLAKE2B b0176016819409cb6958a758041bfe710a008d141a52348ce545deb285cb9e6fc0a4c05321d021bfae5b9de96149db9302f9ce40d01b57c3176d6ad9aef61402 SHA512 c7f12c173b2e9da6108388b2a66b2abca7e26e0d2952e9f3828e94d37b9e3df6076395afd8438aaaa7e328f9a4b085d62f6efd28e2503c4db9bc1f430795048e
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
--- a/pyproject.toml
|
||||
+++ b/pyproject.toml
|
||||
@@ -88,7 +88,7 @@
|
||||
ignore_missing_imports = true
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
-addopts = "--no-cov-on-fail --showlocals --strict-markers"
|
||||
+addopts = "--showlocals --strict-markers"
|
||||
testpaths = ["tests"]
|
||||
|
||||
[build-system]
|
||||
49
dev-python/hypercorn/hypercorn-0.13.2.ebuild
Normal file
49
dev-python/hypercorn/hypercorn-0.13.2.ebuild
Normal file
@@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=poetry
|
||||
DOCS_BUILDER="sphinx"
|
||||
DOCS_DEPEND="
|
||||
dev-python/sphinxcontrib-napoleon
|
||||
dev-python/pydata-sphinx-theme
|
||||
"
|
||||
DOCS_DIR="${S}/docs"
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1 docs
|
||||
|
||||
DESCRIPTION="ASGI Server based on Hyper libraries and inspired by Gunicorn"
|
||||
HOMEPAGE="
|
||||
https://pgjones.gitlab.io/hypercorn
|
||||
https://gitlab.com/pgjones/hypercorn
|
||||
https://github.com/pgjones/hypercorn
|
||||
https://pypi.org/project/Hypercorn/
|
||||
"
|
||||
SRC_URI="https://github.com/pgjones/hypercorn/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/h11[${PYTHON_USEDEP}]
|
||||
>=dev-python/h2-3.1.0[${PYTHON_USEDEP}]
|
||||
dev-python/priority[${PYTHON_USEDEP}]
|
||||
dev-python/toml[${PYTHON_USEDEP}]
|
||||
>=dev-python/wsproto-0.14.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/hypothesis[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-4[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-trio[${PYTHON_USEDEP}]
|
||||
dev-python/trio[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-no-coverage.patch" )
|
||||
|
||||
distutils_enable_tests pytest
|
||||
Reference in New Issue
Block a user