commit:     4db9f44cb6c26aa43583bccb3fd6436f25eed663
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  4 17:08:10 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Aug  4 17:54:56 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4db9f44c

dev-python/flask: add 2.2.1

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/flask/Manifest           |  1 +
 dev-python/flask/flask-2.2.1.ebuild | 63 +++++++++++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)

diff --git a/dev-python/flask/Manifest b/dev-python/flask/Manifest
index ccb41412d683..a84082af89d0 100644
--- a/dev-python/flask/Manifest
+++ b/dev-python/flask/Manifest
@@ -1,2 +1,3 @@
 DIST Flask-2.1.2.tar.gz 631846 BLAKE2B 
9024a12dd6fabeffcf5939e2852734b278f25fb99830bb165cf46a09e3fd67d0997558d1b06a0dec3425d9b750be25bde147341c937e874811fe2496224a1f3e
 SHA512 
65ca756d63da05e74863fbfd2ae574d6e75d6fab683dd08ea97b22a9b27be4f9a03ce7be44312a1f2c6a802bdf77ede3899734f3f1546000dd8b9c592571deec
 DIST Flask-2.1.3.tar.gz 630206 BLAKE2B 
83c876fe94d2cb1b35677227214664b35b6908270097d3ef0e1150a7259cdce82fb91fa6ba7cc90e819623bb9cc79f8254cc5688c6dd1e1dedaa673f23591bfb
 SHA512 
6289bcaa295265c501fda1292b496911768525acf4155c856e14479a213aec4ca50a45ddd81b30ccd31fd684da1942ec10400f2dc8280ceff6ded9baf55494e5
+DIST Flask-2.2.1.tar.gz 687433 BLAKE2B 
9d5fbc6827110882c64102f596b1d272bf5b16fd5540eedf0bad52f4456b54c3ab53e474ec74bb0e7d3cc7cfc26a22d19fd908d0973b94e64b47ee3a66c5a4e6
 SHA512 
845857cd6441e935a5274f362708c1e84654f757b0412bb57dd1235943d1d0562b081b53e77920ab9891bbe6810a06f7564e828cda472844413f7a1249335d1a

diff --git a/dev-python/flask/flask-2.2.1.ebuild 
b/dev-python/flask/flask-2.2.1.ebuild
new file mode 100644
index 000000000000..3a8c008e1ad8
--- /dev/null
+++ b/dev-python/flask/flask-2.2.1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="A microframework based on Werkzeug, Jinja2 and good intentions"
+HOMEPAGE="
+       https://palletsprojects.com/p/flask/
+       https://github.com/pallets/flask/
+       https://pypi.org/project/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="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86"
+       S="${WORKDIR}/${MY_P}"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="examples"
+
+RDEPEND="
+       >=dev-python/click-8.0[${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.2[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               >=dev-python/importlib_metadata-3.6.0[${PYTHON_USEDEP}]
+       ' 3.8 3.9)
+"
+BDEPEND="
+       test? (
+               >=dev-python/asgiref-3.2[${PYTHON_USEDEP}]
+               !!dev-python/shiboken2
+       )
+"
+
+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
+}

Reply via email to