dev-python/flask: Enable py3.10

Enable py3.10 modulo asgiref test-dep, since the current version
triggers DeprecationWarnings.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2021-05-20 12:55:37 +02:00
parent fc4e470a26
commit 362684feef

View File

@@ -3,7 +3,7 @@
EAPI=7
PYTHON_COMPAT=( python3_{7..9} pypy3 )
PYTHON_COMPAT=( python3_{7..10} pypy3 )
inherit distutils-r1
DESCRIPTION="A microframework based on Werkzeug, Jinja2 and good intentions"
@@ -31,7 +31,9 @@ RDEPEND="
>=dev-python/werkzeug-2.0[${PYTHON_USEDEP}]"
BDEPEND="
test? (
>=dev-python/asgiref-3.2[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
>=dev-python/asgiref-3.2[${PYTHON_USEDEP}]
' python3_{7..9} pypy3)
)"
distutils_enable_sphinx docs