From 49d0750307ebbce63fd32ad0c0580c71bf22461a Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 18 Jun 2021 03:29:36 +0100 Subject: dev-python/flask: shift new BDEPENDs into new revision for rekeywording Given another one came along, let's rekeyword properly. Bug: https://bugs.gentoo.org/701140 Signed-off-by: Sam James --- dev-python/flask/flask-2.0.1-r1.ebuild | 51 ++++++++++++++++++++++++++++++++++ dev-python/flask/flask-2.0.1.ebuild | 2 +- dev-python/flask/flask-9999.ebuild | 8 ++++-- 3 files changed, 58 insertions(+), 3 deletions(-) create mode 100644 dev-python/flask/flask-2.0.1-r1.ebuild (limited to 'dev-python/flask') diff --git a/dev-python/flask/flask-2.0.1-r1.ebuild b/dev-python/flask/flask-2.0.1-r1.ebuild new file mode 100644 index 000000000000..feea1195fdd3 --- /dev/null +++ b/dev-python/flask/flask-2.0.1-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..10} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="A microframework based on Werkzeug, Jinja2 and good intentions" +HOMEPAGE="https://github.com/pallets/flask/" +MY_PN="Flask" +MY_P="${MY_PN}-${PV}" +if [[ ${PV} == *9999* ]]; then + EGIT_REPO_URI="https://github.com/mitsuhiko/flask.git" + inherit git-r3 +else + SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${MY_P}" +fi + +LICENSE="BSD" +SLOT="0" +IUSE="examples" + +RDEPEND=" + >=dev-python/click-7.1.2[${PYTHON_USEDEP}] + dev-python/blinker[${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 \ + dev-python/pallets-sphinx-themes \ + dev-python/sphinx-issues \ + dev-python/sphinx-tabs \ + dev-python/sphinxcontrib-log_cabinet +distutils_enable_tests pytest + +python_test() { + epytest -p no:httpbin +} + +python_install_all() { + use examples && dodoc -r examples + distutils-r1_python_install_all +} diff --git a/dev-python/flask/flask-2.0.1.ebuild b/dev-python/flask/flask-2.0.1.ebuild index 662b9a88046c..84efa3373280 100644 --- a/dev-python/flask/flask-2.0.1.ebuild +++ b/dev-python/flask/flask-2.0.1.ebuild @@ -34,7 +34,7 @@ BDEPEND=" >=dev-python/asgiref-3.2[${PYTHON_USEDEP}] )" -distutils_enable_sphinx docs dev-python/pallets-sphinx-themes dev-python/sphinxcontrib-log_cabinet +distutils_enable_sphinx docs dev-python/pallets-sphinx-themes distutils_enable_tests pytest python_test() { diff --git a/dev-python/flask/flask-9999.ebuild b/dev-python/flask/flask-9999.ebuild index 662b9a88046c..feea1195fdd3 100644 --- a/dev-python/flask/flask-9999.ebuild +++ b/dev-python/flask/flask-9999.ebuild @@ -15,7 +15,7 @@ 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 ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86" + KEYWORDS="~amd64 ~x86" S="${WORKDIR}/${MY_P}" fi @@ -34,7 +34,11 @@ BDEPEND=" >=dev-python/asgiref-3.2[${PYTHON_USEDEP}] )" -distutils_enable_sphinx docs dev-python/pallets-sphinx-themes dev-python/sphinxcontrib-log_cabinet +distutils_enable_sphinx docs \ + dev-python/pallets-sphinx-themes \ + dev-python/sphinx-issues \ + dev-python/sphinx-tabs \ + dev-python/sphinxcontrib-log_cabinet distutils_enable_tests pytest python_test() { -- cgit v1.2.3-65-gdbad