88e95a36cd
protobuf changed it versioning scheme [1]. The Release version is now only the Minor.Patch version of the language specific version. C++ stays on Major version 3, but python got bumped to 4. So the handling in the .mk files changed to reflect that. python-protobuf changed it version to 4 because of some breaking changes, see[1]. [1] https://developers.google.com/protocol-buffers/docs/news/2022-05-06 Signed-off-by: Michael Nosthoff <buildroot@heine.tech> Tested-by: Julien Olivain <ju.o@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
17 lines
571 B
Makefile
17 lines
571 B
Makefile
################################################################################
|
|
#
|
|
# python-protobuf
|
|
#
|
|
################################################################################
|
|
|
|
PYTHON_PROTOBUF_VERSION = $(PROTOBUF_VERSION)
|
|
PYTHON_PROTOBUF_SOURCE = protobuf-python-4.$(PYTHON_PROTOBUF_VERSION).tar.gz
|
|
PYTHON_PROTOBUF_SITE = $(PROTOBUF_SITE)
|
|
PYTHON_PROTOBUF_LICENSE = BSD-3-Clause
|
|
PYTHON_PROTOBUF_LICENSE_FILES = LICENSE
|
|
PYTHON_PROTOBUF_DEPENDENCIES = host-protobuf
|
|
PYTHON_PROTOBUF_SETUP_TYPE = setuptools
|
|
PYTHON_PROTOBUF_SUBDIR = python
|
|
|
|
$(eval $(python-package))
|