package/python-pyyaml: bump to version 6.0

Drop python2 support and propagate dependency changes.

Ensure optimized cython build is enabled and add host cython
dependency.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
James Hilliard 2022-01-24 04:17:25 -07:00 committed by Thomas Petazzoni
parent 163509a8e0
commit 2d893f870f
7 changed files with 10 additions and 29 deletions

View File

@ -12,7 +12,7 @@ LIBCAMERA_DEPENDENCIES = \
host-pkgconf \
host-python-jinja2 \
host-python3-ply \
host-python3-pyyaml \
host-python-pyyaml \
gnutls
LIBCAMERA_CONF_OPTS = \
-Dandroid=disabled \

View File

@ -18,7 +18,7 @@ MONGODB_DEPENDENCIES = \
boost \
host-python3-cheetah \
host-python3-psutil \
host-python3-pyyaml \
host-python-pyyaml \
host-python3-regex \
host-python-requests \
host-scons \

View File

@ -1,5 +1,6 @@
config BR2_PACKAGE_PYTHON_PYYAML
bool "python-pyyaml"
depends on BR2_PACKAGE_PYTHON3
select BR2_PACKAGE_LIBYAML
help
The PyYAML package contains binding to the libyaml API.

View File

@ -1,5 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/PyYAML/json
md5 46e25294c7efec23d4072ed6a7777f46 PyYAML-5.4.1.tar.gz
sha256 607774cbba28732bfa802b54baa7484215f530991055bb562efbed5b2f20a45e PyYAML-5.4.1.tar.gz
md5 1d19c798f25e58e3e582f0f8c977dbb8 PyYAML-6.0.tar.gz
sha256 68fb519c14306fec9720a2a5b45bc9f0c8d1b9c72adf45c37baedfcd949c35a2 PyYAML-6.0.tar.gz
# Locally computed sha256 checksums
sha256 8d3928f9dc4490fd635707cb88eb26bd764102a7282954307d3e5167a577e8a4 LICENSE

View File

@ -4,17 +4,18 @@
#
################################################################################
# Please keep in sync package/python3-pyyaml/python3-pyyaml.mk
PYTHON_PYYAML_VERSION = 5.4.1
PYTHON_PYYAML_VERSION = 6.0
PYTHON_PYYAML_SOURCE = PyYAML-$(PYTHON_PYYAML_VERSION).tar.gz
PYTHON_PYYAML_SITE = https://files.pythonhosted.org/packages/a0/a4/d63f2d7597e1a4b55aa3b4d6c5b029991d3b824b5bd331af8d4ab1ed687d
PYTHON_PYYAML_SITE = https://files.pythonhosted.org/packages/36/2b/61d51a2c4f25ef062ae3f74576b01638bebad5e045f747ff12643df63844
PYTHON_PYYAML_SETUP_TYPE = setuptools
PYTHON_PYYAML_LICENSE = MIT
PYTHON_PYYAML_LICENSE_FILES = LICENSE
PYTHON_PYYAML_CPE_ID_VENDOR = pyyaml
PYTHON_PYYAML_CPE_ID_PRODUCT = pyyaml
PYTHON_PYYAML_DEPENDENCIES = libyaml
PYTHON_PYYAML_DEPENDENCIES = host-python-cython libyaml
PYTHON_PYYAML_ENV = PYYAML_FORCE_CYTHON=1
HOST_PYTHON_PYYAML_DEPENDENCIES = host-libyaml
HOST_PYTHON_PYYAML_NEEDS_HOST_PYTHON = python3
$(eval $(python-package))
$(eval $(host-python-package))

View File

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

View File

@ -1,20 +0,0 @@
################################################################################
#
# python3-pyyaml
#
################################################################################
# Please keep in sync with package/python-pyyaml/python-pyyaml.mk
PYTHON3_PYYAML_VERSION = 5.4.1
PYTHON3_PYYAML_SOURCE = PyYAML-$(PYTHON3_PYYAML_VERSION).tar.gz
PYTHON3_PYYAML_SITE = https://files.pythonhosted.org/packages/a0/a4/d63f2d7597e1a4b55aa3b4d6c5b029991d3b824b5bd331af8d4ab1ed687d
PYTHON3_PYYAML_SETUP_TYPE = setuptools
PYTHON3_PYYAML_LICENSE = MIT
PYTHON3_PYYAML_LICENSE_FILES = LICENSE
PYTHON3_PYYAML_CPE_ID_VENDOR = pyyaml
PYTHON3_PYYAML_CPE_ID_PRODUCT = pyyaml
HOST_PYTHON3_PYYAML_DL_SUBDIR = python-pyyaml
HOST_PYTHON3_PYYAML_NEEDS_HOST_PYTHON = python3
HOST_PYTHON3_PYYAML_DEPENDENCIES = host-libyaml
$(eval $(host-python-package))