public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/flask/
Date: Thu, 20 May 2021 20:11:05 +0000 (UTC)	[thread overview]
Message-ID: <1621541462.ad483690847a3425931f11eedfe18f126d9d5842.mgorny@gentoo> (raw)

commit:     ad483690847a3425931f11eedfe18f126d9d5842
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu May 20 20:08:58 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu May 20 20:11:02 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad483690

dev-python/flask: asgiref is now py3.10 happy

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/flask/flask-2.0.0-r1.ebuild |  4 +---
 dev-python/flask/flask-9999.ebuild     | 29 ++++++++++++++---------------
 2 files changed, 15 insertions(+), 18 deletions(-)

diff --git a/dev-python/flask/flask-2.0.0-r1.ebuild b/dev-python/flask/flask-2.0.0-r1.ebuild
index dbdf7ce66d9..aa5080465c2 100644
--- a/dev-python/flask/flask-2.0.0-r1.ebuild
+++ b/dev-python/flask/flask-2.0.0-r1.ebuild
@@ -31,9 +31,7 @@ RDEPEND="
 	>=dev-python/werkzeug-2.0[${PYTHON_USEDEP}]"
 BDEPEND="
 	test? (
-		$(python_gen_cond_dep '
-			>=dev-python/asgiref-3.2[${PYTHON_USEDEP}]
-		' python3_{7..9} pypy3)
+		>=dev-python/asgiref-3.2[${PYTHON_USEDEP}]
 	)"
 
 distutils_enable_sphinx docs

diff --git a/dev-python/flask/flask-9999.ebuild b/dev-python/flask/flask-9999.ebuild
index 586061db936..aa5080465c2 100644
--- a/dev-python/flask/flask-9999.ebuild
+++ b/dev-python/flask/flask-9999.ebuild
@@ -3,8 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8,9} pypy3 )
-
+PYTHON_COMPAT=( python3_{7..10} pypy3 )
 inherit distutils-r1
 
 DESCRIPTION="A microframework based on Werkzeug, Jinja2 and good intentions"
@@ -16,33 +15,33 @@ if [[ ${PV} == *9999* ]]; then
 	inherit git-r3
 else
 	SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
-	KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+	KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 	S="${WORKDIR}/${MY_P}"
 fi
 
 LICENSE="BSD"
 SLOT="0"
-IUSE="examples test"
-RESTRICT="!test? ( test )"
+IUSE="examples"
 
-RDEPEND="dev-python/click[${PYTHON_USEDEP}]
+RDEPEND="
+	>=dev-python/click-7.1.2[${PYTHON_USEDEP}]
 	dev-python/blinker[${PYTHON_USEDEP}]
-	dev-python/itsdangerous[${PYTHON_USEDEP}]
-	>=dev-python/jinja-2.10[${PYTHON_USEDEP}]
-	>=dev-python/werkzeug-0.15[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
-	dev-python/setuptools[${PYTHON_USEDEP}]
-	test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+	>=dev-python/itsdangerous-2.0[${PYTHON_USEDEP}]
+	>=dev-python/jinja-3.0[${PYTHON_USEDEP}]
+	>=dev-python/werkzeug-2.0[${PYTHON_USEDEP}]"
+BDEPEND="
+	test? (
+		>=dev-python/asgiref-3.2[${PYTHON_USEDEP}]
+	)"
 
 distutils_enable_sphinx docs
+distutils_enable_tests pytest
 
 python_test() {
-	PYTHONPATH=${S}/examples/flaskr:${S}/examples/minitwit${PYTHONPATH:+:${PYTHONPATH}} \
-		pytest -vv -p no:httpbin || die "Testing failed with ${EPYTHON}"
+	epytest -p no:httpbin
 }
 
 python_install_all() {
 	use examples && dodoc -r examples
-
 	distutils-r1_python_install_all
 }


             reply	other threads:[~2021-05-20 20:11 UTC|newest]

Thread overview: 156+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-20 20:11 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-16 14:46 [gentoo-commits] repo/gentoo:master commit in: dev-python/flask/ Michał Górny
2024-11-30 11:40 Michał Górny
2024-11-14  4:39 Michał Górny
2024-05-14  9:54 Michał Górny
2024-04-24 17:15 Michał Górny
2024-04-24 15:31 Sam James
2024-04-08  3:06 Michał Górny
2024-02-20  9:09 Michał Górny
2024-02-20  7:41 Sam James
2024-02-04  4:01 Michał Górny
2024-02-03  9:36 Michał Górny
2024-02-03  9:17 Michał Górny
2024-02-03  8:48 Arthur Zamarin
2024-01-19  5:28 Michał Górny
2023-12-23 14:29 Arthur Zamarin
2023-12-14  4:15 Sam James
2023-11-25 15:14 Michał Górny
2023-11-03 16:24 Arthur Zamarin
2023-11-03 16:24 Arthur Zamarin
2023-11-03 16:24 Arthur Zamarin
2023-11-03 15:39 Sam James
2023-11-03 15:39 Sam James
2023-09-30 17:36 Michał Górny
2023-09-30 16:08 Michał Górny
2023-09-30 15:38 Arthur Zamarin
2023-09-30 15:36 Arthur Zamarin
2023-09-30 15:36 Arthur Zamarin
2023-09-30 15:36 Arthur Zamarin
2023-09-30 15:36 Arthur Zamarin
2023-09-30 15:36 Arthur Zamarin
2023-09-30 15:36 Arthur Zamarin
2023-09-30 15:36 Arthur Zamarin
2023-08-22 18:23 Michał Górny
2023-08-22 18:23 Michał Górny
2023-07-19 11:10 Michał Górny
2023-06-06  5:43 Michał Górny
2023-05-30 14:01 Michał Górny
2023-05-30  3:28 Sam James
2023-05-30  0:20 Sam James
2023-05-29 23:50 Sam James
2023-05-29  8:36 Michał Górny
2023-05-03  7:51 Michał Górny
2023-05-02  3:14 Michał Górny
2023-04-26  5:36 Michał Górny
2023-03-18 15:03 Michał Górny
2023-03-18 10:51 Arthur Zamarin
2023-02-16  5:04 Michał Górny
2022-09-11  5:33 Michał Górny
2022-09-10 23:07 Jakov Smolić
2022-09-06 20:35 Michał Górny
2022-09-06 18:57 Arthur Zamarin
2022-08-13 10:55 Arthur Zamarin
2022-08-13 10:54 Arthur Zamarin
2022-08-09 17:58 Arthur Zamarin
2022-08-04 17:55 Arthur Zamarin
2022-07-14  7:31 Michał Górny
2022-05-31  7:28 Michał Górny
2022-05-31  7:23 Jakov Smolić
2022-05-12 20:31 Michał Górny
2022-05-11 12:56 Jakov Smolić
2022-05-07 21:04 Michał Górny
2022-05-07 20:00 Michał Górny
2022-05-01 12:56 Michał Górny
2022-04-28 18:48 Michał Górny
2022-04-28 18:48 Michał Górny
2022-04-22 10:47 Michał Górny
2022-04-15 15:44 Arthur Zamarin
2022-04-15 15:41 Arthur Zamarin
2022-04-15 15:41 Arthur Zamarin
2022-04-15  6:36 Arthur Zamarin
2022-04-15  6:19 Arthur Zamarin
2022-04-15  6:16 Arthur Zamarin
2022-04-14 19:36 Jakov Smolić
2022-04-12 18:32 Arthur Zamarin
2022-03-29 12:18 Michał Górny
2022-03-18  8:02 Arthur Zamarin
2022-02-14 21:37 Michał Górny
2021-12-04 17:53 Arthur Zamarin
2021-11-25  0:12 Sam James
2021-11-25  0:12 Sam James
2021-11-20  6:35 Sam James
2021-11-19  8:37 Arthur Zamarin
2021-11-19  7:59 Arthur Zamarin
2021-10-06  7:16 Michał Górny
2021-09-07  5:30 Sam James
2021-09-07  2:47 Sam James
2021-09-06 23:42 Sam James
2021-09-06 21:26 Sam James
2021-09-04 21:29 Sam James
2021-08-22  5:15 Agostino Sarubbo
2021-08-22  5:14 Agostino Sarubbo
2021-08-04 21:57 Marek Szuba
2021-07-25  3:23 Sam James
2021-06-18  6:29 Agostino Sarubbo
2021-06-18  6:27 Agostino Sarubbo
2021-06-18  2:31 Sam James
2021-06-18  1:35 Sam James
2021-06-17 23:22 Sam James
2021-06-17  7:23 Agostino Sarubbo
2021-06-14 22:30 Michał Górny
2021-06-14 22:18 Sam James
2021-06-10 14:02 Yixun Lan
2021-05-22  7:58 Michał Górny
2021-05-20 13:51 Michał Górny
2021-05-20 13:51 Michał Górny
2021-05-18 17:28 Sam James
2021-05-15 19:39 Sergei Trofimovich
2021-05-15 19:36 Sam James
2021-05-14  8:14 Michał Górny
2021-05-12  8:37 Michał Górny
2021-03-02  8:40 Sam James
2020-11-28  8:35 Sam James
2020-09-20 10:24 Michał Górny
2020-07-15 20:18 Sergei Trofimovich
2020-05-26 10:35 Michał Górny
2020-05-11 19:33 Michał Górny
2020-05-11 16:49 Michał Górny
2020-05-08 17:15 Agostino Sarubbo
2020-05-06  6:28 Agostino Sarubbo
2020-05-05 22:13 Sergei Trofimovich
2020-05-04 16:56 Agostino Sarubbo
2020-05-04 11:04 Michał Górny
2020-05-04  6:16 Mart Raudsepp
2020-05-03 15:05 Agostino Sarubbo
2020-04-08 14:01 Agostino Sarubbo
2020-04-04 17:04 Michał Górny
2020-03-27  9:16 Michał Górny
2020-03-27  9:16 Michał Górny
2020-03-27  9:16 Michał Górny
2020-03-16  5:54 Matt Turner
2020-02-19 19:33 Sergei Trofimovich
2020-01-31 22:17 Sergei Trofimovich
2019-11-25 12:35 Michał Górny
2019-11-23  0:34 Michał Górny
2019-11-23  0:34 Michał Górny
2019-08-27  8:40 罗百科
2019-08-27  8:40 罗百科
2018-09-28 20:33 Matt Thode
2018-08-30 15:48 Virgil Dupras
2018-08-21  2:11 Virgil Dupras
2018-04-29 10:30 Michał Górny
2018-01-28 20:41 Markus Meier
2017-12-24 13:38 Sergei Trofimovich
2017-12-22 16:32 Jason Zaman
2017-12-19 19:27 Thomas Deutschmann
2017-07-30  9:15 Michał Górny
2017-06-26 11:04 Alexis Ballier
2017-05-17 17:31 Manuel Rüger
2017-05-04  4:51 Zac Medico
2017-02-13  7:57 Zac Medico
2017-01-26  3:55 Zac Medico
2016-08-09 11:01 Patrick Lauer
2016-07-21  6:50 Tiziano Müller
2015-12-17 14:48 Justin Lecher
2015-12-09 15:10 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1621541462.ad483690847a3425931f11eedfe18f126d9d5842.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox