From 48bf76fbdb507fb02ccaa45e42879995bf90307c Mon Sep 17 00:00:00 2001
From: Josef Schlehofer <pepe.schlehofer@gmail.com>
Date: Sat, 17 Oct 2020 16:14:07 +0200
Subject: [PATCH 3/5] python-flask-seasurf: add package

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 979aeda8fb2858e0873d65c04abe3f70f5f6bad4)
---
 lang/python/python-flask-seasurf/Makefile | 43 +++++++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 lang/python/python-flask-seasurf/Makefile

diff --git a/lang/python/python-flask-seasurf/Makefile b/lang/python/python-flask-seasurf/Makefile
new file mode 100644
index 000000000..c77026e32
--- /dev/null
+++ b/lang/python/python-flask-seasurf/Makefile
@@ -0,0 +1,43 @@
+#
+# 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:=0.3.0
+PKG_RELEASE:=1
+
+PYPI_NAME:=Flask-SeaSurf
+PKG_HASH:=10d4946fdd9745a8ae0a38a46c48a9add0cca4896333c0893b3133e3852c2e80
+
+PKG_MAINTAINER:=Josef Schlehofer <josef.schlehofer@nic.cz>
+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:=Flask SeaSurf
+  URL:=https://flask-seasurf.readthedocs.io/en/latest/
+  DEPENDS:= \
+    +python3-flask \
+    +python3-light \
+    +python3-urllib
+  VARIANT:=python3
+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))
--
2.25.1