From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1284229-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 5FEA71382C5
	for <garchives@archives.gentoo.org>; Thu, 20 May 2021 13:51:18 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 517CFE08CE;
	Thu, 20 May 2021 13:51:17 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 38BFCE08CE
	for <gentoo-commits@lists.gentoo.org>; Thu, 20 May 2021 13:51:17 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 2D2BC335D6A
	for <gentoo-commits@lists.gentoo.org>; Thu, 20 May 2021 13:51:16 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 6D8EF793
	for <gentoo-commits@lists.gentoo.org>; Thu, 20 May 2021 13:51:13 +0000 (UTC)
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" <mgorny@gentoo.org>
Message-ID: <1621518666.362684feef649a5f2ffd01d68632fd969f857efb.mgorny@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/flask/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-python/flask/flask-2.0.0-r1.ebuild
X-VCS-Directories: dev-python/flask/
X-VCS-Committer: mgorny
X-VCS-Committer-Name: Michał Górny
X-VCS-Revision: 362684feef649a5f2ffd01d68632fd969f857efb
X-VCS-Branch: master
Date: Thu, 20 May 2021 13:51:13 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 8e91da99-6e45-4b1a-8116-7927f77e4035
X-Archives-Hash: b95d0a3e652c07c5f62d7099e6098fc3

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