package/python3-pyyaml: add special host variant

Needed to build mongodb.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Yegor Yefremov 2020-03-23 11:49:07 +01:00 committed by Thomas Petazzoni
parent 97ac0abad2
commit 1e4e155782
3 changed files with 20 additions and 0 deletions

View 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

View File

@ -0,0 +1 @@
../python-pyyaml/python-pyyaml.hash

View File

@ -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))