summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2025-03-31 11:10:55 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2025-04-02 11:36:15 +0200
commit51c64f63f718c7f19b5b5e4bca0320bfae55bc3c (patch)
tree353a8b21f76a5a7130825f0eb962c7e7a1d6e0d3
parentf0e480ba6b3e2d810befc9cd60a445bc378b0925 (diff)
python3-yaml: add new package
-rw-r--r--package/python3-yaml/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/package/python3-yaml/Makefile b/package/python3-yaml/Makefile
new file mode 100644
index 000000000..97235fc3d
--- /dev/null
+++ b/package/python3-yaml/Makefile
@@ -0,0 +1,33 @@
+# 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-yaml
+PKG_VERSION:= 5.3.1
+PKG_RELEASE:= 1
+PKG_HASH:= b8eac752c5e14d3eca0e6dd9199cd627518cb5ec06add0de9d32baeee6fe645d
+PKG_DESCR:= fast, expressive, extensible templating engine
+PKG_SECTION:= dev/tools
+PKG_BUILDDEP:= python3-host
+PKG_SITES:= http://pyyaml.org/download/pyyaml/
+
+DISTFILES:= PyYAML-$(PKG_VERSION).tar.gz
+
+WRKDIST= $(WRKDIR)/PyYAML-$(PKG_VERSION)
+
+include ${ADK_TOPDIR}/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call HOST_template,PYTHON3_YAML,python3-yaml,${PKG_VERSION}-${PKG_RELEASE}))
+
+include $(ADK_TOPDIR)/mk/python3.mk
+
+HOST_STYLE:= manual
+
+python3-yaml-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