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.

41 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:=2.10.1
  7. PKG_RELEASE:=1
  8. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  9. PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/J/Jinja2
  10. PKG_HASH:=065c4f02ebe7f7cf559e49ee5a95fb800a9e4528727aec6f24402a5374c65013
  11. PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
  12. PKG_LICENSE:=BSD-3-Clause
  13. PKG_LICENSE_FILES:=LICENSE
  14. PKG_CPE_ID:=cpe:/a:pocoo:jinja2
  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:=http://jinja.pocoo.org/
  23. DEPENDS:=+python3-light +python3-markupsafe
  24. VARIANT:=python3
  25. endef
  26. define Package/python3-jinja2/description
  27. Jinja2 is a full featured template engine for Python. It has full
  28. unicode support, an optional integrated sandboxed execution
  29. environment, widely used and BSD licensed.
  30. endef
  31. $(eval $(call Py3Package,python3-jinja2))
  32. $(eval $(call BuildPackage,python3-jinja2))
  33. $(eval $(call BuildPackage,python3-jinja2-src))