mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 23:46:14 -04:00
Closes: https://bugs.gentoo.org/875857 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
49 lines
1.1 KiB
Bash
49 lines
1.1 KiB
Bash
# Copyright 1999-2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DISTUTILS_USE_PEP517=poetry
|
|
PYTHON_COMPAT=( python3_{8..10} )
|
|
inherit distutils-r1
|
|
|
|
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}.gh.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
|
|
|
|
distutils_enable_sphinx docs \
|
|
dev-python/pydata-sphinx-theme
|