Files
packages/lang/python/Flask/Makefile
Alexandru Ardelean 673344bd7c Flask: bump to 3.1.3; add test.sh
Changelog since 3.1.2:
- Fix security vulnerability GHSA-68rp-wp8r-4726: session now marked as
  accessed for key-existence checks (in, len) to prevent timing attacks

Add python3-blinker as dependency (should have been there also in 3.1.2)

Add test.sh.

Full changelog: https://flask.palletsprojects.com/en/stable/changes/

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-03-31 09:32:36 +03:00

46 lines
1.3 KiB
Makefile

# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=Flask
PKG_VERSION:=3.1.3
PKG_RELEASE:=1
PYPI_NAME:=Flask
PYPI_SOURCE_NAME:=flask
PKG_HASH:=0ef0e52b8a9cd932855379197dd8f94047b359ca0a78695144304cb45f87c9eb
PKG_MAINTAINER:=Michal Vasilek <michal.vasilek@nic.cz>
PKG_LICENSE:=BSD-3-Clause
PKG_LICENSE_FILES:=LICENSE.rst
PKG_CPE_ID:=cpe:/a:palletsprojects:flask
PKG_BUILD_DEPENDS:=python-flit-core/host
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python3-package.mk
define Package/python3-flask
SECTION:=lang
CATEGORY:=Languages
SUBMENU:=Python
TITLE:=Flask
URL:=https://palletsprojects.com/p/flask/
DEPENDS:=+python3-asyncio +python3-blinker +python3-click +python3-codecs \
+python3-decimal +python3-itsdangerous +python3-jinja2 +python3 \
+python3-logging +python3-markupsafe +python3-multiprocessing \
+python3-setuptools +python3-werkzeug
endef
define Package/python3-flask/description
Flask is a microframework for Python based on Werkzeug, Jinja 2 and good
intentions. And before you ask: It.s BSD licensed!
endef
$(eval $(call Py3Package,python3-flask))
$(eval $(call BuildPackage,python3-flask))
$(eval $(call BuildPackage,python3-flask-src))