summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-protobuf_3.11.3.bb
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2020-06-15 15:49:26 +0300
committerKhem Raj <raj.khem@gmail.com>2020-06-17 08:57:38 -0700
commitbfadb14ecf8c48528a9d822cdba3be9494116d51 (patch)
tree11e7c7434903456c83938a8f07cdb86187f9fa83 /meta-python/recipes-devtools/python/python3-protobuf_3.11.3.bb
parent491eaf90ddd9d31ccf6bcd893805b982490c99ac (diff)
downloadmeta-openembedded-bfadb14ecf8c48528a9d822cdba3be9494116d51.tar.gz
python3-protobuf: Upgrade 3.11.3 -> 3.12.2
Upgrade to relase 3.12.2. Depends on the upgrade of protobuf to 3.12.3 in meta-oe. The new release for Python brings: - [experimental] Added proto3 presence support. - [experimental] fast import protobuf module, only works with cpp generated code linked in. - Truncate 'float' fields to 4 bytes of precision in setters for pure-Python implementation. - Fixed a memory leak in C++ bindings. - Added a deprecation warning when code tries to create Descriptor objects directly. - Fix unintended comparison between bytes and string in descriptor.py. - Avoid printing excess digits for float fields in TextFormat. - Remove Python 2.5 syntax compatibility from the proto compiler generated _pb2.py module code. - Drop 3.3, 3.4 and use single version docker images for all python tests. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-protobuf_3.11.3.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-protobuf_3.11.3.bb40
1 files changed, 0 insertions, 40 deletions
diff --git a/meta-python/recipes-devtools/python/python3-protobuf_3.11.3.bb b/meta-python/recipes-devtools/python/python3-protobuf_3.11.3.bb
deleted file mode 100644
index a4c9d6699b..0000000000
--- a/meta-python/recipes-devtools/python/python3-protobuf_3.11.3.bb
+++ /dev/null
@@ -1,40 +0,0 @@
1DESCRIPTION = "Protocol Buffers"
2HOMEPAGE = "https://developers.google.com/protocol-buffers/"
3SECTION = "devel/python"
4
5LICENSE = "BSD-3-Clause"
6LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=19e8f490f9526b1de84f8d949cfcfd4e"
7
8inherit pypi setuptools3
9
10SRC_URI[md5sum] = "eeda7dea65fc94e560fc9a8180eb1872"
11SRC_URI[sha256sum] = "c77c974d1dadf246d789f6dad1c24426137c9091e930dbf50e0a29c1fcf00b1f"
12
13# http://errors.yoctoproject.org/Errors/Details/184715/
14# Can't find required file: ../src/google/protobuf/descriptor.proto
15CLEANBROKEN = "1"
16
17UPSTREAM_CHECK_REGEX = "protobuf/(?P<pver>\d+(\.\d+)+)/"
18
19DEPENDS += "protobuf"
20
21RDEPENDS_${PN} += " \
22 ${PYTHON_PN}-datetime \
23 ${PYTHON_PN}-json \
24 ${PYTHON_PN}-logging \
25 ${PYTHON_PN}-netclient \
26 ${PYTHON_PN}-numbers \
27 ${PYTHON_PN}-pkgutil \
28 ${PYTHON_PN}-six \
29 ${PYTHON_PN}-unittest \
30"
31
32# For usage in other recipies when compiling protobuf files (e.g. by grpcio-tools)
33BBCLASSEXTEND = "native nativesdk"
34
35DISTUTILS_BUILD_ARGS += "--cpp_implementation"
36DISTUTILS_INSTALL_ARGS += "--cpp_implementation"
37
38do_compile_prepend_class-native () {
39 export KOKORO_BUILD_NUMBER="1"
40}