diff options
| author | wangmy <wangmy@fujitsu.com> | 2022-04-02 20:32:46 +0800 |
|---|---|---|
| committer | Trevor Gamblin <trevor.gamblin@windriver.com> | 2022-04-06 14:55:16 -0400 |
| commit | 9e20c76207ee562072af677cf7026bb6dccb97ff (patch) | |
| tree | f3e27eef4e6b6538ce6f957fc3df4933b4c07342 /meta-python/recipes-devtools/python/python3-protobuf_3.20.0.bb | |
| parent | 15f39bff0febbcb184004f6665a876c50a41da29 (diff) | |
| download | meta-openembedded-9e20c76207ee562072af677cf7026bb6dccb97ff.tar.gz | |
python3-protobuf: upgrade 3.19.4 -> 3.20.0
License-Update:
modify the description of License: change from 3-Clause BSD License to BSD-3-Clause
Signed-off-by: Wang Mingyu <wangmy@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.20.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-protobuf_3.20.0.bb | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-protobuf_3.20.0.bb b/meta-python/recipes-devtools/python/python3-protobuf_3.20.0.bb new file mode 100644 index 0000000000..5c4de4ac2b --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-protobuf_3.20.0.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=53dbfa56f61b90215a9f8f0d527c043d" | ||
| 7 | |||
| 8 | inherit pypi setuptools3 | ||
| 9 | |||
| 10 | SRC_URI[sha256sum] = "71b2c3d1cd26ed1ec7c8196834143258b2ad7f444efff26fdc366c6f5e752702" | ||
| 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 | } | ||
