commit:     362684feef649a5f2ffd01d68632fd969f857efb
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu May 20 10:55:37 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu May 20 13:51:06 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=362684fe

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 <AT> gentoo.org>

 dev-python/flask/flask-2.0.0-r1.ebuild | 6 ++++--
 1 file 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 6e9937852c2..dbdf7ce66d9 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

Reply via email to