From 1e4e15578262d7db4981a01e05be68e25b70d50a Mon Sep 17 00:00:00 2001 From: Yegor Yefremov Date: Mon, 23 Mar 2020 11:49:07 +0100 Subject: [PATCH] package/python3-pyyaml: add special host variant Needed to build mongodb. Signed-off-by: Yegor Yefremov Signed-off-by: Thomas Petazzoni --- package/python-pyyaml/python-pyyaml.mk | 1 + package/python3-pyyaml/python3-pyyaml.hash | 1 + package/python3-pyyaml/python3-pyyaml.mk | 18 ++++++++++++++++++ 3 files changed, 20 insertions(+) create mode 120000 package/python3-pyyaml/python3-pyyaml.hash create mode 100644 package/python3-pyyaml/python3-pyyaml.mk diff --git a/package/python-pyyaml/python-pyyaml.mk b/package/python-pyyaml/python-pyyaml.mk index 78506390a4..7bbae309c6 100644 --- a/package/python-pyyaml/python-pyyaml.mk +++ b/package/python-pyyaml/python-pyyaml.mk @@ -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 index 0000000000..afa4932ecb --- /dev/null +++ b/package/python3-pyyaml/python3-pyyaml.hash @@ -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 index 0000000000..c0dcebf4fc --- /dev/null +++ b/package/python3-pyyaml/python3-pyyaml.mk @@ -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)) -- 2.30.2