commit: 5deed30f072964a1d0dcdd2178a159055a5913c2
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 20 04:58:17 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Aug 20 06:04:53 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5deed30f
dev-python/flask: Bump to 3.1.2
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/flask/Manifest | 1 +
dev-python/flask/flask-3.1.2.ebuild | 55 +++++++++++++++++++++++++++++++++++++
2 files changed, 56 insertions(+)
diff --git a/dev-python/flask/Manifest b/dev-python/flask/Manifest
index 5e8c4184384a..a5d70980f977 100644
--- a/dev-python/flask/Manifest
+++ b/dev-python/flask/Manifest
@@ -1 +1,2 @@
DIST flask-3.1.1.tar.gz 753440 BLAKE2B
272ffc7c97ed68c8929e4b9aa41b6efac0beb205471e60e5a14030328be28fe629fe35d02440920abedc27d288ba20d36221c83aa6f64ef090d6ed3b248576bd
SHA512
b582b71e10f72c2096f4a665a8182775165f48eece8bcded9ca5791bc575e3333ac913fb355279f0bee93fc57c16f9a8b635b329bfd71ed42df2b288c1a69741
+DIST flask-3.1.2.tar.gz 720160 BLAKE2B
504b78897fb62ebed541d63edb14063dce70cf6f5aaabfa2e53570f64ca2184ff1ba5720f559efa9fdb477917370e256619a97b9250e38559a8f759b2cbfb4d3
SHA512
4eacac745cc285d82956a040385ec08d134ef639a7fe802a0bbb8b8d92e0c341668eed3ab49eedf4500796b7f1d54930e6a94515f88daedb39928fdbc693ac9b
diff --git a/dev-python/flask/flask-3.1.2.ebuild
b/dev-python/flask/flask-3.1.2.ebuild
new file mode 100644
index 000000000000..290a823337d1
--- /dev/null
+++ b/dev-python/flask/flask-3.1.2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=flit
+PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
+
+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/
+"
+if [[ ${PV} == *9999* ]]; then
+ EGIT_REPO_URI="https://github.com/mitsuhiko/flask.git"
+ inherit git-r3
+else
+ inherit pypi
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64
~riscv ~s390 ~sparc ~x86"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="examples"
+
+RDEPEND="
+ >=dev-python/blinker-1.9[${PYTHON_USEDEP}]
+ >=dev-python/click-8.1.3[${PYTHON_USEDEP}]
+ >=dev-python/itsdangerous-2.2.0[${PYTHON_USEDEP}]
+ >=dev-python/jinja2-3.1.2[${PYTHON_USEDEP}]
+ >=dev-python/werkzeug-3.1.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ >=dev-python/asgiref-3.2[${PYTHON_USEDEP}]
+ !!dev-python/shiboken2[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_sphinx docs \
+ dev-python/pallets-sphinx-themes \
+ dev-python/sphinx-issues \
+ dev-python/sphinx-tabs \
+ dev-python/sphinxcontrib-log-cabinet
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+python_install_all() {
+ use examples && dodoc -r examples
+ distutils-r1_python_install_all
+}