diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-grpcio-tools_1.72.0.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-grpcio-tools_1.72.0.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-grpcio-tools_1.72.0.bb b/meta-python/recipes-devtools/python/python3-grpcio-tools_1.72.0.bb new file mode 100644 index 0000000000..071833766f --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-grpcio-tools_1.72.0.bb | |||
@@ -0,0 +1,28 @@ | |||
1 | DESCRIPTION = "Google gRPC tools" | ||
2 | HOMEPAGE = "https://www.grpc.io/" | ||
3 | SECTION = "devel/python" | ||
4 | |||
5 | LICENSE = "Apache-2.0" | ||
6 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=7145f7cdd263359b62d342a02f005515" | ||
7 | |||
8 | inherit pypi setuptools3 | ||
9 | |||
10 | PYPI_PACKAGE = "grpcio_tools" | ||
11 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
12 | |||
13 | DEPENDS += "python3-grpcio" | ||
14 | |||
15 | SRC_URI += "file://0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch \ | ||
16 | file://0001-protobuf-Disable-musttail-attribute-on-mips.patch \ | ||
17 | " | ||
18 | SRC_URI[sha256sum] = "23144adf063fad5665160bcdc397220f2dc29e11b7dde88ae69bd9672ff8d9db" | ||
19 | |||
20 | RDEPENDS:${PN} = "python3-grpcio" | ||
21 | |||
22 | do_compile:prepend() { | ||
23 | export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="${@oe.utils.parallel_make(d, False)}" | ||
24 | } | ||
25 | |||
26 | BBCLASSEXTEND = "native nativesdk" | ||
27 | |||
28 | CVE_PRODUCT += "grpc:grpc" | ||