dev-python/uvicorn: minor version bump 0.11.4

new optional dep dev-python/watchgod

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
This commit is contained in:
Andrew Ammerlaan
2020-04-28 19:26:54 +02:00
parent bfad6edf10
commit 52fde1b9e4
2 changed files with 11 additions and 19 deletions

View File

@@ -1 +1 @@
DIST uvicorn-0.11.3.tar.gz 490532 BLAKE2B 521f137ec94906d5fe9411e780551fb3f4a6eb3da2e7e49d67524b380267e1089bd778b5294f4c72e0da270aeddd89e598bb2c79251262fa528da29103eb259b SHA512 c7e5badbd57bf2962fb4ef538072bed8e509ade20ff98856dd88099adeaeb9044b35a547b9f1ade3575c6dbc4564519d69aaeca7dad95a3b463160cdd9a464a9
DIST uvicorn-0.11.4.tar.gz 499965 BLAKE2B e6d2bd13a28d639ff43597ba7346aaa4210ef1572930f12c07f9984ba8ef7a52154007e53465147b78ce4988a61051c48f0d6c76398383a32cd697aa6e7e6c81 SHA512 3ad23f64ad150210e4c70428d39c791a931b74f63c896351fe20fb71f0cd955e66122b9230ff64ab9e0b741016106ca08c43ca22ad5e43a5327d9c4f3cd51b7f

View File

@@ -7,7 +7,10 @@ PYTHON_COMPAT=( python3_{6,7} )
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1 eutils
DOCBUILDER="mkdocs"
DOCDEPEND="dev-python/mkdocs-material"
inherit distutils-r1 docs eutils
DESCRIPTION="The lightning-fast ASGI server"
HOMEPAGE="https://www.uvicorn.org/
@@ -18,23 +21,19 @@ LICENSE="BSD"
KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE="doc"
RDEPEND="
dev-python/click[${PYTHON_USEDEP}]
dev-python/h11[${PYTHON_USEDEP}]"
BDEPEND="doc? (
dev-python/mkdocs
dev-python/mkdocs-material )"
DEPEND="test? (
dev-python/isort[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
>=dev-python/uvloop-0.14.0[${PYTHON_USEDEP}]
dev-python/wsproto[${PYTHON_USEDEP}]
>=dev-python/websockets-6.0[${PYTHON_USEDEP}]
>=dev-python/httptools-0.1.1[${PYTHON_USEDEP}] )"
>=dev-python/wsproto-0.13.0[${PYTHON_USEDEP}]
>=dev-python/websockets-8.0[${PYTHON_USEDEP}]
dev-python/httptools[${PYTHON_USEDEP}]
>=dev-python/watchgod-0.6[${PYTHON_USEDEP}]
)"
distutils_enable_tests pytest
@@ -54,17 +53,10 @@ python_prepare_all() {
distutils-r1_python_prepare_all
}
python_compile_all() {
default
if use doc; then
mkdocs build || die "failed to make docs"
HTML_DOCS="site"
fi
}
pkg_postinst() {
optfeature "asyncio event loop on top of libuv" dev-python/uvloop
optfeature "websockets support using wsproto" dev-python/wsproto
optfeature "websockets support using websockets" dev-python/websockets
optfeature "httpstools package for http protocol" dev-python/httptools
optfeature "efficient debug reload" dev-python/watchgod
}