summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-protobuf_4.21.9.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2022-11-01 10:07:58 +0800
committerKhem Raj <raj.khem@gmail.com>2022-11-07 08:39:05 -0800
commitdfeb555a62044e2c40573c7722f148c201a35f23 (patch)
tree7e3348c7771a84643ba9c182a3a03454ec26bbbc /meta-python/recipes-devtools/python/python3-protobuf_4.21.9.bb
parentbc46bfe447ae35d52ca1ff5a978c31e024460c41 (diff)
downloadmeta-openembedded-dfeb555a62044e2c40573c7722f148c201a35f23.tar.gz
python3-protobuf: upgrade 4.21.8 -> 4.21.9
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-protobuf_4.21.9.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-protobuf_4.21.9.bb39
1 files changed, 39 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-protobuf_4.21.9.bb b/meta-python/recipes-devtools/python/python3-protobuf_4.21.9.bb
new file mode 100644
index 0000000000..7970d0b90e
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-protobuf_4.21.9.bb
@@ -0,0 +1,39 @@
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=53dbfa56f61b90215a9f8f0d527c043d"
7
8inherit pypi setuptools3
9
10SRC_URI[sha256sum] = "61f21493d96d2a77f9ca84fefa105872550ab5ef71d21c458eb80edcf4885a99"
11
12# http://errors.yoctoproject.org/Errors/Details/184715/
13# Can't find required file: ../src/google/protobuf/descriptor.proto
14CLEANBROKEN = "1"
15
16UPSTREAM_CHECK_REGEX = "protobuf/(?P<pver>\d+(\.\d+)+)/"
17
18DEPENDS += "protobuf"
19
20RDEPENDS:${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)
32BBCLASSEXTEND = "native nativesdk"
33
34DISTUTILS_BUILD_ARGS += "--cpp_implementation"
35DISTUTILS_INSTALL_ARGS += "--cpp_implementation"
36
37do_compile:prepend:class-native () {
38 export KOKORO_BUILD_NUMBER="1"
39}