Files
wlan-ap/feeds/python/python3-jinja2/Makefile
John Crispin d5f271428f feed/package: move the package backport to their own folder
This is in preparation for supporting a newer version of OpenWrt.

Signed-off-by: John Crispin <john@phrozen.org>
2020-12-02 09:48:18 +01:00

42 lines
1.2 KiB
Makefile
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

include $(TOPDIR)/rules.mk
PKG_NAME:=python3-jinja2
PKG_RELEASE:=1
PKG_VERSION:=2.11.2
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/pallets/jinja.git
PKG_SOURCE_VERSION:=737a4cd41d09878e7e6c584a2062f5853dc30150
PKG_BUILD_DIR:=$(BUILD_DIR)/python3-jinja2-$(PKG_VERSION)
HOST_BUILD_DEPENDS:=python3/host
include $(INCLUDE_DIR)/host-build.mk
include $(INCLUDE_DIR)/package.mk
include $(TOPDIR)/feeds/packages/lang/python/python3-package.mk
include $(TOPDIR)/feeds/packages/lang/python/python3-host.mk
define Package/python3-jinja2
SECTION:=language-python
CATEGORY:=Languages
SUBMENU:=Python
TITLE:=jinja2
URL:=https://github.com/ulfalizer/Kconfiglib
endef
define Package/python3-jinja2/description
Jinja is a modern and designer-friendly templating language for Python, modelled after Djangos templates. It is fast, widely used and secure with the optional sandboxed template execution environment:
endef
define Host/Compile
$(call Build/Compile/HostPy3Mod,,\
install --prefix="" --root="$(STAGING_DIR_HOSTPKG)" \
)
endef
Host/Install:=
$(eval $(call HostBuild))
$(eval $(call Py3Package,python3-jinja2))
$(eval $(call BuildPackage,python3-jinja2))