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.

40 lines
1.1 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:=3.0.1
  7. PKG_RELEASE:=$(AUTORELEASE)
  8. PYPI_NAME:=$(PKG_NAME)
  9. PKG_HASH:=703f484b47a6af502e743c9122595cc812b0271f661722403114f71a79d0f5a4
  10. PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
  11. PKG_LICENSE:=BSD-3-Clause
  12. PKG_LICENSE_FILES:=LICENSE
  13. PKG_CPE_ID:=cpe:/a:pocoo:jinja2
  14. include ../pypi.mk
  15. include $(INCLUDE_DIR)/package.mk
  16. include ../python3-package.mk
  17. define Package/python3-jinja2
  18. SECTION:=lang
  19. CATEGORY:=Languages
  20. SUBMENU:=Python
  21. TITLE:=Jinja2
  22. URL:=https://palletsprojects.com/p/jinja/
  23. DEPENDS:=+python3-light +python3-markupsafe
  24. endef
  25. define Package/python3-jinja2/description
  26. Jinja2 is a full featured template engine for Python. It has full
  27. unicode support, an optional integrated sandboxed execution
  28. environment, widely used and BSD licensed.
  29. endef
  30. $(eval $(call Py3Package,python3-jinja2))
  31. $(eval $(call BuildPackage,python3-jinja2))
  32. $(eval $(call BuildPackage,python3-jinja2-src))