mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-23 14:03:33 -04:00
dev-python/hypercorn: switch to pyproject2setuppy
Closes: https://bugs.gentoo.org/834994 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -3,16 +3,9 @@
|
|||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517=poetry
|
DISTUTILS_USE_SETUPTOOLS=pyproject.toml
|
||||||
DOCS_BUILDER="sphinx"
|
|
||||||
DOCS_DEPEND="
|
|
||||||
dev-python/sphinxcontrib-napoleon
|
|
||||||
dev-python/pydata-sphinx-theme
|
|
||||||
"
|
|
||||||
DOCS_DIR="${S}/docs"
|
|
||||||
PYTHON_COMPAT=( python3_{8..10} )
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
inherit distutils-r1
|
||||||
inherit distutils-r1 docs
|
|
||||||
|
|
||||||
DESCRIPTION="ASGI Server based on Hyper libraries and inspired by Gunicorn"
|
DESCRIPTION="ASGI Server based on Hyper libraries and inspired by Gunicorn"
|
||||||
HOMEPAGE="
|
HOMEPAGE="
|
||||||
@@ -21,7 +14,7 @@ HOMEPAGE="
|
|||||||
https://github.com/pgjones/hypercorn
|
https://github.com/pgjones/hypercorn
|
||||||
https://pypi.org/project/Hypercorn/
|
https://pypi.org/project/Hypercorn/
|
||||||
"
|
"
|
||||||
SRC_URI="https://github.com/pgjones/hypercorn/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
SRC_URI="https://github.com/pgjones/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
LICENSE="MIT"
|
LICENSE="MIT"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
@@ -47,3 +40,7 @@ BDEPEND="
|
|||||||
PATCHES=( "${FILESDIR}/${P}-no-coverage.patch" )
|
PATCHES=( "${FILESDIR}/${P}-no-coverage.patch" )
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
distutils_enable_sphinx docs \
|
||||||
|
dev-python/sphinxcontrib-napoleon \
|
||||||
|
dev-python/pydata-sphinx-theme
|
||||||
|
|||||||
Reference in New Issue
Block a user