summaryrefslogtreecommitdiff
path: root/package/python3-jinja2
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2021-10-21 11:03:48 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2021-10-22 19:40:14 +0200
commitdccd08de633300e474fac1fa14811abfa9462258 (patch)
tree7d75e1c9212ca811ff1f4edbb5994dce0cdad606 /package/python3-jinja2
parentfda33fed0bc594f3e3f3201876edee9d9b3d1b80 (diff)
systemd: update to 249
Diffstat (limited to 'package/python3-jinja2')
-rw-r--r--package/python3-jinja2/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/package/python3-jinja2/Makefile b/package/python3-jinja2/Makefile
new file mode 100644
index 000000000..5cde4fc47
--- /dev/null
+++ b/package/python3-jinja2/Makefile
@@ -0,0 +1,34 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= python3-jinja2
+PKG_VERSION:= 3.0.2
+PKG_RELEASE:= 1
+PKG_HASH:= 827a0e32839ab1600d4eb1c4c33ec5a8edfbc5cb42dafa13b81f182f97784b45
+PKG_DESCR:= fast, expressive, extensible templating engine
+PKG_SECTION:= dev/tools
+PKG_BUILDDEP:= python3-host
+PKG_URL:= https://pypi.org/project/Jinja2/
+PKG_SITES:= https://files.pythonhosted.org/packages/f8/86/7c0eb6e8b05385d1ce682abc0f994abd1668e148fb52603fa86e15d4c110/
+
+DISTFILES:= Jinja2-$(PKG_VERSION).tar.gz
+
+WRKDIST= $(WRKDIR)/Jinja2-$(PKG_VERSION)
+
+include ${ADK_TOPDIR}/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call HOST_template,PYTHON3_JINJA2,python3-jinja2,${PKG_VERSION}-${PKG_RELEASE}))
+
+include $(ADK_TOPDIR)/mk/python.mk
+
+HOST_STYLE:= manual
+
+python3-jinja2-hostinstall:
+ (cd $(WRKBUILD); PATH='$(HOST_PATH)' python3 ./setup.py install \
+ --prefix=$(STAGING_HOST_DIR)/usr)
+
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk