diff options
| author | zhengruoqin <zhengrq.fnst@fujitsu.com> | 2021-07-16 14:27:28 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-07-20 09:27:56 -0700 |
| commit | 485bf0a7308ca6d32d4a3ed9f0902915be6d3fe4 (patch) | |
| tree | 14199224efda85d11a55ada8011c0c7f487d812b /meta-python/recipes-devtools/python/python3-protobuf_3.17.3.bb | |
| parent | 04701ddaa77e77e64eea29f63e3025e83b95099a (diff) | |
| download | meta-openembedded-485bf0a7308ca6d32d4a3ed9f0902915be6d3fe4.tar.gz | |
python3-protobuf: upgrade 3.17.0 -> 3.17.3
C++
Introduce FieldAccessListener.
Stop emitting boilerplate {Copy/Merge}From in each ProtoBuf class
Fixed some uninitialized variable warnings in generated_message_reflection.cc.
Kotlin
Fix duplicate proto files error (#8699)
Java
Fixed parser to check that we are at a proper limit when a sub-message has
finished parsing.
General
Support M1 (#8557)
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-protobuf_3.17.3.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-protobuf_3.17.3.bb | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-protobuf_3.17.3.bb b/meta-python/recipes-devtools/python/python3-protobuf_3.17.3.bb new file mode 100644 index 0000000000..b3f9f6f21b --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-protobuf_3.17.3.bb | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | DESCRIPTION = "Protocol Buffers" | ||
| 2 | HOMEPAGE = "https://developers.google.com/protocol-buffers/" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | |||
| 5 | LICENSE = "BSD-3-Clause" | ||
| 6 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=19e8f490f9526b1de84f8d949cfcfd4e" | ||
| 7 | |||
| 8 | inherit pypi setuptools3 | ||
| 9 | |||
| 10 | SRC_URI[sha256sum] = "72804ea5eaa9c22a090d2803813e280fb273b62d5ae497aaf3553d141c4fdd7b" | ||
| 11 | |||
| 12 | # http://errors.yoctoproject.org/Errors/Details/184715/ | ||
| 13 | # Can't find required file: ../src/google/protobuf/descriptor.proto | ||
| 14 | CLEANBROKEN = "1" | ||
| 15 | |||
| 16 | UPSTREAM_CHECK_REGEX = "protobuf/(?P<pver>\d+(\.\d+)+)/" | ||
| 17 | |||
| 18 | DEPENDS += "protobuf" | ||
| 19 | |||
| 20 | RDEPENDS_${PN} += " \ | ||
| 21 | ${PYTHON_PN}-datetime \ | ||
| 22 | ${PYTHON_PN}-json \ | ||
| 23 | ${PYTHON_PN}-logging \ | ||
| 24 | ${PYTHON_PN}-netclient \ | ||
| 25 | ${PYTHON_PN}-numbers \ | ||
| 26 | ${PYTHON_PN}-pkgutil \ | ||
| 27 | ${PYTHON_PN}-six \ | ||
| 28 | ${PYTHON_PN}-unittest \ | ||
| 29 | " | ||
| 30 | |||
| 31 | # For usage in other recipies when compiling protobuf files (e.g. by grpcio-tools) | ||
| 32 | BBCLASSEXTEND = "native nativesdk" | ||
| 33 | |||
| 34 | DISTUTILS_BUILD_ARGS += "--cpp_implementation" | ||
| 35 | DISTUTILS_INSTALL_ARGS += "--cpp_implementation" | ||
| 36 | |||
| 37 | do_compile_prepend_class-native () { | ||
| 38 | export KOKORO_BUILD_NUMBER="1" | ||
| 39 | } | ||
