From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 AF0BA1382C5 for ; Thu, 20 May 2021 20:11:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DFEA4E086D; Thu, 20 May 2021 20:11:07 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 C67A2E086D for ; Thu, 20 May 2021 20:11:07 +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 ADECF335DB1 for ; Thu, 20 May 2021 20:11:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3A1C7791 for ; Thu, 20 May 2021 20:11:05 +0000 (UTC) From: "Michał Górny" 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" Message-ID: <1621541462.ad483690847a3425931f11eedfe18f126d9d5842.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 dev-python/flask/flask-9999.ebuild X-VCS-Directories: dev-python/flask/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: ad483690847a3425931f11eedfe18f126d9d5842 X-VCS-Branch: master Date: Thu, 20 May 2021 20:11:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7f9be770-4e4d-433f-a637-47efa78e4f44 X-Archives-Hash: f15ed0b968a4a2ecdd3a2863676800cb commit: ad483690847a3425931f11eedfe18f126d9d5842 Author: Michał Górny gentoo org> AuthorDate: Thu May 20 20:08:58 2021 +0000 Commit: Michał Górny gentoo 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 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 }