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:=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. include $(INCLUDE_DIR)/package.mk
  15. include ../python3-package.mk
  16. define Package/python3-jinja2
  17. SECTION:=lang
  18. CATEGORY:=Languages
  19. SUBMENU:=Python
  20. TITLE:=Jinja2
  21. URL:=http://jinja.pocoo.org/
  22. DEPENDS:=+python3-light +python3-markupsafe
  23. VARIANT:=python3
  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))