summaryrefslogtreecommitdiff
path: root/lang/python/python-flask-session
diff options
context:
space:
mode:
authorJosef Schlehofer <pepe.schlehofer@gmail.com>2020-10-17 16:18:30 +0200
committerJosef Schlehofer <pepe.schlehofer@gmail.com>2020-10-29 15:20:04 +0100
commitcf3ad39f5978f47e6ccab378d741933ad63c43ab (patch)
tree5f40541a7b013a9e8dc34b469d489ef25707adfb /lang/python/python-flask-session
parent979aeda8fb2858e0873d65c04abe3f70f5f6bad4 (diff)
python-flask-session: add package
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Diffstat (limited to 'lang/python/python-flask-session')
-rw-r--r--lang/python/python-flask-session/Makefile43
1 files changed, 43 insertions, 0 deletions
diff --git a/lang/python/python-flask-session/Makefile b/lang/python/python-flask-session/Makefile
new file mode 100644
index 000000000..a27e95bff
--- /dev/null
+++ b/lang/python/python-flask-session/Makefile
@@ -0,0 +1,43 @@
+#
+# Copyright (C) 2019-2020 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-session
+PKG_VERSION:=0.3.2
+PKG_RELEASE:=1
+
+PYPI_NAME:=Flask-Session
+PKG_HASH:=0768e2bbf06f963ec1aa711bde7aa32dc39ff70f89b495d6db687d899eae4423
+
+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-session
+ SECTION:=lang
+ CATEGORY:=Languages
+ SUBMENU:=Python
+ TITLE:=Flask Session
+ URL:=https://github.com/fengsp/flask-session
+ DEPENDS:= \
+ +python3-cachelib \
+ +python3-flask \
+ +python3-light
+endef
+
+define Package/python3-flask-session/description
+ Adds server-side session support to your Flask application.
+endef
+
+$(eval $(call Py3Package,python3-flask-session))
+$(eval $(call BuildPackage,python3-flask-session))
+$(eval $(call BuildPackage,python3-flask-session-src))