2017-07-02 02:19:53 +02:00
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
2023-05-29 13:39:45 +02:00
|
|
|
PKG_NAME:=python-jinja2
|
|
|
|
PKG_VERSION:=3.1.2
|
|
|
|
PKG_RELEASE:=1
|
2017-07-02 02:19:53 +02:00
|
|
|
|
2023-05-29 13:39:45 +02:00
|
|
|
PYPI_NAME:=Jinja2
|
|
|
|
PKG_HASH:=31351a702a408a9e7595a8fc6150fc3f43bb6bf7e319770cbc0db9df9437e852
|
2019-04-15 23:38:08 +02:00
|
|
|
|
2023-01-31 16:01:57 +01:00
|
|
|
PKG_MAINTAINER:=Michal Vasilek <michal.vasilek@nic.cz>
|
2017-07-02 02:19:53 +02:00
|
|
|
PKG_LICENSE:=BSD-3-Clause
|
2023-05-29 13:39:45 +02:00
|
|
|
PKG_LICENSE_FILES:=LICENSE.rst
|
2019-09-19 16:07:09 +02:00
|
|
|
PKG_CPE_ID:=cpe:/a:pocoo:jinja2
|
2024-02-12 15:57:30 +01:00
|
|
|
HOST_BUILD_DEPENDS:= python-markupsafe/host
|
2017-07-02 02:19:53 +02:00
|
|
|
|
2019-10-20 21:03:12 +02:00
|
|
|
include ../pypi.mk
|
2017-07-02 02:19:53 +02:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2024-02-12 15:57:30 +01:00
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
2018-01-10 08:56:52 +01:00
|
|
|
include ../python3-package.mk
|
2024-02-12 15:57:30 +01:00
|
|
|
include ../python3-host-build.mk
|
2017-07-02 02:19:53 +02:00
|
|
|
|
|
|
|
define Package/python3-jinja2
|
|
|
|
SECTION:=lang
|
|
|
|
CATEGORY:=Languages
|
|
|
|
SUBMENU:=Python
|
2023-05-29 13:39:45 +02:00
|
|
|
TITLE:=Very fast and expressive template engine
|
2020-06-07 23:29:05 +02:00
|
|
|
URL:=https://palletsprojects.com/p/jinja/
|
2023-05-29 13:39:45 +02:00
|
|
|
DEPENDS:= \
|
|
|
|
+python3-light \
|
|
|
|
+python3-asyncio \
|
|
|
|
+python3-logging \
|
|
|
|
+python3-urllib \
|
|
|
|
+python3-markupsafe
|
2017-07-02 02:19:53 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/python3-jinja2/description
|
|
|
|
Jinja2 is a full featured template engine for Python. It has full
|
|
|
|
unicode support, an optional integrated sandboxed execution
|
|
|
|
environment, widely used and BSD licensed.
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call Py3Package,python3-jinja2))
|
|
|
|
$(eval $(call BuildPackage,python3-jinja2))
|
2019-04-15 23:38:08 +02:00
|
|
|
$(eval $(call BuildPackage,python3-jinja2-src))
|
2024-02-12 15:57:30 +01:00
|
|
|
$(eval $(call HostBuild))
|