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.

43 lines
1.4 KiB

  1. # This is free software, licensed under the GNU General Public License v2.
  2. # See /LICENSE for more information.
  3. #
  4. include $(TOPDIR)/rules.mk
  5. PKG_NAME:=Flask
  6. PKG_VERSION:=0.12.2
  7. PKG_RELEASE:=1
  8. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  9. PKG_SOURCE_URL:=https://pypi.python.org/packages/eb/12/1c7bd06fcbd08ba544f25bf2c6612e305a70ea51ca0eda8007344ec3f123/
  10. PKG_HASH:=49f44461237b69ecd901cc7ce66feea0319b9158743dd27a2899962ab214dac1
  11. PKG_BUILD_DEPENDS:=python python3
  12. PKG_LICENSE:=BSD-3-Clause
  13. PKG_LICENSE_FILES:=LICENSE
  14. PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
  15. PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-$(PKG_NAME)-$(PKG_VERSION)
  16. PKG_UNPACK=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components=1 -xzf $(DL_DIR)/$(PKG_SOURCE)
  17. include $(INCLUDE_DIR)/package.mk
  18. include ../python3-package.mk
  19. define Package/python3-flask
  20. SECTION:=lang
  21. CATEGORY:=Languages
  22. SUBMENU:=Python
  23. URL:=http://github.com/pallets/flask/
  24. TITLE:=python3-flask
  25. DEPENDS:=+python3-asyncio +python3-click +python3-codecs +python3-decimal \
  26. +python3-itsdangerous +python3-jinja2 +python3-light +python3-logging \
  27. +python3-markupsafe +python3-multiprocessing +python3-werkzeug
  28. VARIANT:=python3
  29. endef
  30. define Package/python3-flask/description
  31. Flask is a microframework for Python based on Werkzeug, Jinja 2 and good
  32. intentions. And before you ask: It.s BSD licensed!
  33. endef
  34. $(eval $(call Py3Package,python3-flask))
  35. $(eval $(call BuildPackage,python3-flask))