diff options
author | Sam James <sam@gentoo.org> | 2021-06-18 03:29:36 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-06-18 03:30:47 +0100 |
commit | 49d0750307ebbce63fd32ad0c0580c71bf22461a (patch) | |
tree | 4035ce2df56d1381cad2b18dd765ed8c10a4f9b7 /dev-python/flask | |
parent | dev-python/sphinx-tabs: initial import (diff) | |
download | gentoo-49d0750307ebbce63fd32ad0c0580c71bf22461a.tar.gz gentoo-49d0750307ebbce63fd32ad0c0580c71bf22461a.tar.bz2 gentoo-49d0750307ebbce63fd32ad0c0580c71bf22461a.zip |
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 <sam@gentoo.org>
Diffstat (limited to 'dev-python/flask')
-rw-r--r-- | dev-python/flask/flask-2.0.1-r1.ebuild | 51 | ||||
-rw-r--r-- | dev-python/flask/flask-2.0.1.ebuild | 2 | ||||
-rw-r--r-- | dev-python/flask/flask-9999.ebuild | 8 |
3 files changed, 58 insertions, 3 deletions
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() { |