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.0 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.11.2
  7. PKG_RELEASE:=1
  8. PYPI_NAME:=$(PKG_NAME)
  9. PKG_HASH:=89aab215427ef59c34ad58735269eb58b1a5808103067f7bb9d5836c651b3bb0
  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))