diff options
author | 2021-05-20 12:55:37 +0200 | |
---|---|---|
committer | 2021-05-20 15:51:06 +0200 | |
commit | 362684feef649a5f2ffd01d68632fd969f857efb (patch) | |
tree | 4680f143a29337091ed69e3c2c979e34ed1d5e88 /dev-python | |
parent | dev-python/requests: Fix tests (diff) | |
download | gentoo-362684feef649a5f2ffd01d68632fd969f857efb.tar.gz gentoo-362684feef649a5f2ffd01d68632fd969f857efb.tar.bz2 gentoo-362684feef649a5f2ffd01d68632fd969f857efb.zip |
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>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/flask/flask-2.0.0-r1.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dev-python/flask/flask-2.0.0-r1.ebuild b/dev-python/flask/flask-2.0.0-r1.ebuild index 6e9937852c21..dbdf7ce66d96 100644 --- a/dev-python/flask/flask-2.0.0-r1.ebuild +++ b/dev-python/flask/flask-2.0.0-r1.ebuild @@ -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 |