summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2026-02-20 03:39:25 +0100
committerMichał Górny <mgorny@gentoo.org>2026-02-20 03:59:11 +0100
commitbb962ceac906b2e3c834622f4eb766c0a5beff3a (patch)
tree2869423add5e40177a6ca790e12446b2b505e243 /dev-python
parent085530023378ca54bca32707a935bf41bb8c4544 (diff)
downloadgentoo-bb962ceac906b2e3c834622f4eb766c0a5beff3a.tar.gz
gentoo-bb962ceac906b2e3c834622f4eb766c0a5beff3a.tar.bz2
gentoo-bb962ceac906b2e3c834622f4eb766c0a5beff3a.zip
dev-python/flask: Bump to 3.1.3
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/flask/Manifest2
-rw-r--r--dev-python/flask/flask-3.1.3.ebuild56
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/flask/Manifest b/dev-python/flask/Manifest
index ec50be220914..d472421f2e0a 100644
--- a/dev-python/flask/Manifest
+++ b/dev-python/flask/Manifest
@@ -1 +1,3 @@
DIST flask-3.1.2.tar.gz 720160 BLAKE2B 504b78897fb62ebed541d63edb14063dce70cf6f5aaabfa2e53570f64ca2184ff1ba5720f559efa9fdb477917370e256619a97b9250e38559a8f759b2cbfb4d3 SHA512 4eacac745cc285d82956a040385ec08d134ef639a7fe802a0bbb8b8d92e0c341668eed3ab49eedf4500796b7f1d54930e6a94515f88daedb39928fdbc693ac9b
+DIST flask-3.1.3.tar.gz 759004 BLAKE2B ff058d5d1f3565072704542245296ea709bf34061277b3681cb600705e201ca6d38153e02df3a3e3a6c9e7bf78add85fc9209c13509bd92ca687a89df4c5b945 SHA512 17c290fdccf3c7e45eeaf5d12a967889f6b0c6aac06a518624a18eb4de67904e825a2724d0c4d7701bb7e75a2f4629089a658e30909c6c7fe20992cc431b273e
+DIST flask-3.1.3.tar.gz.provenance 9221 BLAKE2B 8f06b8964259a210d39814f5905bcd22a0ed023a8394b47f63612ddc74261c81dfb4af74e29078c222bf14e699dc1647a0638d6887d802e424b6463b1a482c1e SHA512 f7a4b0843fc0cf133c68cb3778217b2561cc3af40af233a1ec96abed5869a74ebd190eb915489ff97461ea8401683996614146d1dd21e423b452215bfb7a18a8
diff --git a/dev-python/flask/flask-3.1.3.ebuild b/dev-python/flask/flask-3.1.3.ebuild
new file mode 100644
index 000000000000..91a1094b87e4
--- /dev/null
+++ b/dev-python/flask/flask-3.1.3.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=flit
+PYPI_VERIFY_REPO=https://github.com/pallets/flask
+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
+}