mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-06 16:58:24 +00:00
python3-grpcio: Upgrade to 1.36.1
Release notes are here [1] See the differences after 1.35.0 upwards [1] https://github.com/grpc/grpc/releases Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
43
meta-python/recipes-devtools/python/python3-grpcio_1.36.1.bb
Normal file
43
meta-python/recipes-devtools/python/python3-grpcio_1.36.1.bb
Normal file
@@ -0,0 +1,43 @@
|
||||
DESCRIPTION = "Google gRPC"
|
||||
HOMEPAGE = "http://www.grpc.io/"
|
||||
SECTION = "devel/python"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
|
||||
|
||||
DEPENDS += "${PYTHON_PN}-protobuf"
|
||||
|
||||
SRC_URI += "file://0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch"
|
||||
SRC_URI_append_class-target = " file://ppc-boringssl-support.patch \
|
||||
file://riscv64_support.patch \
|
||||
file://boring_ssl.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "a66ea59b20f3669df0f0c6a3bd57b985e5b2d1dcf3e4c29819bb8dc232d0fd38"
|
||||
|
||||
RDEPENDS_${PN} = "${PYTHON_PN}-protobuf \
|
||||
${PYTHON_PN}-setuptools \
|
||||
${PYTHON_PN}-six \
|
||||
"
|
||||
|
||||
inherit setuptools3
|
||||
inherit pypi
|
||||
|
||||
export GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY = "1"
|
||||
|
||||
BORING_SSL_PLATFORM_arm = "linux-arm"
|
||||
BORING_SSL_PLATFORM_x86-64 = "linux-x86_64"
|
||||
BORING_SSL_PLATFORM ?= "unsupported"
|
||||
export GRPC_BORING_SSL_PLATFORM = "${BORING_SSL_PLATFORM}"
|
||||
|
||||
BORING_SSL_x86-64 = "1"
|
||||
BORING_SSL_arm = "1"
|
||||
BORING_SSL ?= "0"
|
||||
export GRPC_BUILD_WITH_BORING_SSL_ASM = "${BORING_SSL}"
|
||||
|
||||
GRPC_CFLAGS_append_toolchain-clang = " -fvisibility=hidden -fno-wrapv -fno-exceptions"
|
||||
export GRPC_PYTHON_CFLAGS = "${GRPC_CFLAGS}"
|
||||
|
||||
CLEANBROKEN = "1"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
CCACHE_DISABLE = "1"
|
||||
Reference in New Issue
Block a user