mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 01:44:32 +04:00
Changes can be found here: https://github.com/maxcountryman/flask-seasurf/tree/2.0.0 Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
46 lines
1.2 KiB
Makefile
46 lines
1.2 KiB
Makefile
#
|
|
# Copyright (C) 2019-2021 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=python-flask-seasurf
|
|
PKG_VERSION:=2.0.0
|
|
PKG_RELEASE:=1
|
|
|
|
PYPI_NAME:=Flask-SeaSurf
|
|
PYTHON3_PKG_WHEEL_NAME:=flask_seasurf
|
|
PKG_HASH:=8e4003be1580ea8663d6bd3adf272f549ca4d735848895192618ed1945d5ad3c
|
|
|
|
PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
|
|
PKG_LICENSE:=BSD-3-Clause
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
include ../pypi.mk
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include ../python3-package.mk
|
|
|
|
define Package/python3-flask-seasurf
|
|
SECTION:=lang
|
|
CATEGORY:=Languages
|
|
SUBMENU:=Python
|
|
TITLE:=Updated CSRF extension for Flask
|
|
URL:=https://github.com/maxcountryman/flask-seasurf
|
|
DEPENDS:= \
|
|
+python3-flask \
|
|
+python3-light \
|
|
+python3-urllib
|
|
endef
|
|
|
|
define Package/python3-flask-seasurf/description
|
|
SeaSurf is a Flask extension for preventing cross-site request forgery
|
|
(CSRF).
|
|
endef
|
|
|
|
$(eval $(call Py3Package,python3-flask-seasurf))
|
|
$(eval $(call BuildPackage,python3-flask-seasurf))
|
|
$(eval $(call BuildPackage,python3-flask-seasurf-src))
|