summaryrefslogtreecommitdiff
path: root/lang/python/python3-flask-login
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2019-06-10 08:36:37 -0700
committerGitHub <noreply@github.com>2019-06-10 08:36:37 -0700
commit76ec2891e37b71513f9fc1b7cc9dce2deb14ec03 (patch)
tree70051cf12e2a32cac36a7c8640efd0d57fe653d5 /lang/python/python3-flask-login
parente4355175b30fb17ccfa6561ed94e202184d7e458 (diff)
parent21f01685afa371929790c1d8e6710e1ce56ba8d3 (diff)
Merge pull request #9213 from ja-pa/python3-flask-login
python3-flask-login: add new package
Diffstat (limited to 'lang/python/python3-flask-login')
-rw-r--r--lang/python/python3-flask-login/Makefile44
1 files changed, 44 insertions, 0 deletions
diff --git a/lang/python/python3-flask-login/Makefile b/lang/python/python3-flask-login/Makefile
new file mode 100644
index 000000000..67df225a8
--- /dev/null
+++ b/lang/python/python3-flask-login/Makefile
@@ -0,0 +1,44 @@
+#
+# Copyright (C) 2019 CZ.NIC z.s.p.o. (http://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:=Flask-Login
+PKG_VERSION:=0.4.1
+PKG_RELEASE:=1
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/f/flask-login/
+PKG_HASH:=c815c1ac7b3e35e2081685e389a665f2c74d7e077cb93cecabaea352da4752ec
+
+PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec@nic.cz>
+PKG_LICENSE:=MIT
+PKG_LICENSE_FILES:=LICENSE
+
+include $(INCLUDE_DIR)/package.mk
+include ../python3-package.mk
+
+define Package/python3-flask-login
+ SECTION:=lang
+ CATEGORY:=Languages
+ SUBMENU:=Python
+ TITLE:=User session management plugin for Flask
+ URL:=https://github.com/maxcountryman/flask-login
+ DEPENDS:=+python3-light +python3-flask
+ VARIANT:=python3
+endef
+
+define Package/python3-flask-login/description
+ Flask-Login provides user session management for Flask.
+ It handles the common tasks of logging in, logging out,
+ and remembering your users’ sessions over extended periods of time.
+endef
+
+$(eval $(call Py3Package,python3-flask-login))
+$(eval $(call BuildPackage,python3-flask-login))
+$(eval $(call BuildPackage,python3-flask-login-src))