You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.2 KiB

  1. #
  2. # Copyright (C) 2019 CZ.NIC z.s.p.o. (http://www.nic.cz/)
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. #
  8. include $(TOPDIR)/rules.mk
  9. PKG_NAME:=Flask-Login
  10. PKG_VERSION:=0.4.1
  11. PKG_RELEASE:=1
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  13. PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/f/flask-login/
  14. PKG_HASH:=c815c1ac7b3e35e2081685e389a665f2c74d7e077cb93cecabaea352da4752ec
  15. PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec@nic.cz>
  16. PKG_LICENSE:=MIT
  17. PKG_LICENSE_FILES:=LICENSE
  18. include $(INCLUDE_DIR)/package.mk
  19. include ../python3-package.mk
  20. define Package/python3-flask-login
  21. SECTION:=lang
  22. CATEGORY:=Languages
  23. SUBMENU:=Python
  24. TITLE:=User session management plugin for Flask
  25. URL:=https://github.com/maxcountryman/flask-login
  26. DEPENDS:=+python3-light +python3-flask
  27. VARIANT:=python3
  28. endef
  29. define Package/python3-flask-login/description
  30. Flask-Login provides user session management for Flask.
  31. It handles the common tasks of logging in, logging out,
  32. and remembering your users’ sessions over extended periods of time.
  33. endef
  34. $(eval $(call Py3Package,python3-flask-login))
  35. $(eval $(call BuildPackage,python3-flask-login))
  36. $(eval $(call BuildPackage,python3-flask-login-src))