package/python3-pyyaml: add special host variant
authorYegor Yefremov <yegorslists@googlemail.com>
Mon, 23 Mar 2020 10:49:07 +0000 (11:49 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 24 Apr 2020 14:25:47 +0000 (16:25 +0200)
Needed to build mongodb.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/python-pyyaml/python-pyyaml.mk
package/python3-pyyaml/python3-pyyaml.hash [new symlink]
package/python3-pyyaml/python3-pyyaml.mk [new file with mode: 0644]

index 78506390a4f984d62831b5ec10c9ea9edb2fb162..7bbae309c6654e2651c5e58284e43a28ebebd46f 100644 (file)
@@ -4,6 +4,7 @@
 #
 ################################################################################
 
+# Please keep in sync package/python3-pyyaml/python3-pyyaml.mk
 PYTHON_PYYAML_VERSION = 5.3.1
 PYTHON_PYYAML_SOURCE = PyYAML-$(PYTHON_PYYAML_VERSION).tar.gz
 PYTHON_PYYAML_SITE = https://files.pythonhosted.org/packages/64/c2/b80047c7ac2478f9501676c988a5411ed5572f35d1beff9cae07d321512c
diff --git a/package/python3-pyyaml/python3-pyyaml.hash b/package/python3-pyyaml/python3-pyyaml.hash
new file mode 120000 (symlink)
index 0000000..afa4932
--- /dev/null
@@ -0,0 +1 @@
+../python-pyyaml/python-pyyaml.hash
\ No newline at end of file
diff --git a/package/python3-pyyaml/python3-pyyaml.mk b/package/python3-pyyaml/python3-pyyaml.mk
new file mode 100644 (file)
index 0000000..c0dcebf
--- /dev/null
@@ -0,0 +1,18 @@
+################################################################################
+#
+# python3-pyyaml
+#
+################################################################################
+
+# Please keep in sync with package/python-pyyaml/python-pyyaml.mk
+PYTHON3_PYYAML_VERSION = 5.3.1
+PYTHON3_PYYAML_SOURCE = PyYAML-$(PYTHON3_PYYAML_VERSION).tar.gz
+PYTHON3_PYYAML_SITE = https://files.pythonhosted.org/packages/64/c2/b80047c7ac2478f9501676c988a5411ed5572f35d1beff9cae07d321512c
+PYTHON3_PYYAML_SETUP_TYPE = distutils
+PYTHON3_PYYAML_LICENSE = MIT
+PYTHON3_PYYAML_LICENSE_FILES = LICENSE
+HOST_PYTHON3_PYYAML_DL_SUBDIR = python-pyyaml
+HOST_PYTHON3_PYYAML_NEEDS_HOST_PYTHON = python3
+HOST_PYTHON3_PYYAML_DEPENDENCIES = host-libyaml
+
+$(eval $(host-python-package))