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.

42 lines
1.3 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:=Jinja2
  6. PKG_VERSION:=2.9.6
  7. PKG_RELEASE:=1
  8. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  9. PKG_SOURCE_URL:=https://pypi.python.org/packages/90/61/f820ff0076a2599dd39406dcb858ecb239438c02ce706c8e91131ab9c7f1/
  10. PKG_HASH:=ddaa01a212cd6d641401cb01b605f4a4d9f37bfc93043d7f760ec70fb99ff9ff
  11. PKG_BUILD_DEPENDS:=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. $(call include_mk, python3-package.mk)
  19. define Package/python3-jinja2
  20. SECTION:=lang
  21. CATEGORY:=Languages
  22. SUBMENU:=Python
  23. URL:=http://jinja.pocoo.org/
  24. TITLE:=python3-jinja2
  25. DEPENDS:=+python3-light
  26. VARIANT:=python3
  27. endef
  28. define Package/python3-jinja2/description
  29. Jinja2 is a full featured template engine for Python. It has full
  30. unicode support, an optional integrated sandboxed execution
  31. environment, widely used and BSD licensed.
  32. endef
  33. $(eval $(call Py3Package,python3-jinja2))
  34. $(eval $(call BuildPackage,python3-jinja2))