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.3
  7. PKG_RELEASE:=$(AUTORELEASE)
  8. PYPI_NAME:=$(PKG_NAME)
  9. PKG_HASH:=611bb273cd68f3b993fabdc4064fc858c5b47a973cb5aa7999ec1ba405c87cd7
  10. PKG_MAINTAINER:=Josef Schlehofer <josef.schlehofer@nic.cz>
  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))