Message ID | 20230705172550.3371930-1-raj.khem@gmail.com |
---|---|
State | New |
Headers | show |
Series | [meta-python,1/4] python3-grpcio-tools: Upgrade to 1.56.0 | expand |
Hi Khem, Looks like the old version was not deleted. Jose Khem Raj <raj.khem@gmail.com> escreveu no dia quarta, 5/07/2023 à(s) 18:25: > Signed-off-by: Khem Raj <raj.khem@gmail.com> > --- > ...f-Disable-musttail-attribute-on-mips.patch | 8 ++++---- > .../python/python3-grpcio-tools_1.56.0.bb | 19 +++++++++++++++++++ > 2 files changed, 23 insertions(+), 4 deletions(-) > create mode 100644 meta-python/recipes-devtools/python/ > python3-grpcio-tools_1.56.0.bb > > diff --git > a/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-protobuf-Disable-musttail-attribute-on-mips.patch > b/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-protobuf-Disable-musttail-attribute-on-mips.patch > index 8b13d7ae21..8c70b2b6a6 100644 > --- > a/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-protobuf-Disable-musttail-attribute-on-mips.patch > +++ > b/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-protobuf-Disable-musttail-attribute-on-mips.patch > @@ -14,11 +14,11 @@ Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> > > --- a/third_party/protobuf/src/google/protobuf/port_def.inc > +++ b/third_party/protobuf/src/google/protobuf/port_def.inc > -@@ -255,6 +255,7 @@ > +@@ -338,6 +338,7 @@ static_assert(PROTOBUF_ABSL_MIN(20230125 > #error PROTOBUF_TAILCALL was previously defined > #endif > - #if __has_cpp_attribute(clang::musttail) && !defined(__arm__) && \ > + #if __has_cpp_attribute(clang::musttail) && !defined(__arm__) && \ > + !defined(__mips__) && \ > - !defined(_ARCH_PPC) && !defined(__wasm__) && \ > - !(defined(_MSC_VER) && defined(_M_IX86)) && \ > + !defined(_ARCH_PPC) && !defined(__wasm__) && \ > + !(defined(_MSC_VER) && defined(_M_IX86)) && !defined(__i386__) && \ > !(defined(__NDK_MAJOR__) && __NDK_MAJOR <= 24) > diff --git a/meta-python/recipes-devtools/python/ > python3-grpcio-tools_1.56.0.bb b/meta-python/recipes-devtools/python/ > python3-grpcio-tools_1.56.0.bb > new file mode 100644 > index 0000000000..eb1994d7ce > --- /dev/null > +++ b/meta-python/recipes-devtools/python/python3-grpcio-tools_1.56.0.bb > @@ -0,0 +1,19 @@ > +DESCRIPTION = "Google gRPC tools" > +HOMEPAGE = "http://www.grpc.io/" > +SECTION = "devel/python" > + > +LICENSE = "Apache-2.0" > +LIC_FILES_CHKSUM = > "file://PKG-INFO;beginline=8;endline=8;md5=7145f7cdd263359b62d342a02f005515" > + > +inherit pypi setuptools3 > + > +DEPENDS += "${PYTHON_PN}-grpcio" > + > +SRC_URI += > "file://0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch \ > + file://0001-protobuf-Disable-musttail-attribute-on-mips.patch > \ > + " > +SRC_URI[sha256sum] = > "39f5877cea514b3da9f2683dfb3ffb45ef47b05f4ff39c287d7d61c5057f48b8" > + > +RDEPENDS:${PN} = "${PYTHON_PN}-grpcio" > + > +BBCLASSEXTEND = "native nativesdk" > -- > 2.41.0 > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#103668): > https://lists.openembedded.org/g/openembedded-devel/message/103668 > Mute This Topic: https://lists.openembedded.org/mt/99969391/5052612 > Group Owner: openembedded-devel+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ > quaresma.jose@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- > >
On Wed, Jul 5, 2023 at 10:37 AM Jose Quaresma <quaresma.jose@gmail.com> wrote: > > Hi Khem, > > Looks like the old version was not deleted. > good catch ! it got added to the other patch upgrading python3-grpcio > Jose > > Khem Raj <raj.khem@gmail.com> escreveu no dia quarta, 5/07/2023 à(s) 18:25: >> >> Signed-off-by: Khem Raj <raj.khem@gmail.com> >> --- >> ...f-Disable-musttail-attribute-on-mips.patch | 8 ++++---- >> .../python/python3-grpcio-tools_1.56.0.bb | 19 +++++++++++++++++++ >> 2 files changed, 23 insertions(+), 4 deletions(-) >> create mode 100644 meta-python/recipes-devtools/python/python3-grpcio-tools_1.56.0.bb >> >> diff --git a/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-protobuf-Disable-musttail-attribute-on-mips.patch b/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-protobuf-Disable-musttail-attribute-on-mips.patch >> index 8b13d7ae21..8c70b2b6a6 100644 >> --- a/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-protobuf-Disable-musttail-attribute-on-mips.patch >> +++ b/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-protobuf-Disable-musttail-attribute-on-mips.patch >> @@ -14,11 +14,11 @@ Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> >> >> --- a/third_party/protobuf/src/google/protobuf/port_def.inc >> +++ b/third_party/protobuf/src/google/protobuf/port_def.inc >> -@@ -255,6 +255,7 @@ >> +@@ -338,6 +338,7 @@ static_assert(PROTOBUF_ABSL_MIN(20230125 >> #error PROTOBUF_TAILCALL was previously defined >> #endif >> - #if __has_cpp_attribute(clang::musttail) && !defined(__arm__) && \ >> + #if __has_cpp_attribute(clang::musttail) && !defined(__arm__) && \ >> + !defined(__mips__) && \ >> - !defined(_ARCH_PPC) && !defined(__wasm__) && \ >> - !(defined(_MSC_VER) && defined(_M_IX86)) && \ >> + !defined(_ARCH_PPC) && !defined(__wasm__) && \ >> + !(defined(_MSC_VER) && defined(_M_IX86)) && !defined(__i386__) && \ >> !(defined(__NDK_MAJOR__) && __NDK_MAJOR <= 24) >> diff --git a/meta-python/recipes-devtools/python/python3-grpcio-tools_1.56.0.bb b/meta-python/recipes-devtools/python/python3-grpcio-tools_1.56.0.bb >> new file mode 100644 >> index 0000000000..eb1994d7ce >> --- /dev/null >> +++ b/meta-python/recipes-devtools/python/python3-grpcio-tools_1.56.0.bb >> @@ -0,0 +1,19 @@ >> +DESCRIPTION = "Google gRPC tools" >> +HOMEPAGE = "http://www.grpc.io/" >> +SECTION = "devel/python" >> + >> +LICENSE = "Apache-2.0" >> +LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=7145f7cdd263359b62d342a02f005515" >> + >> +inherit pypi setuptools3 >> + >> +DEPENDS += "${PYTHON_PN}-grpcio" >> + >> +SRC_URI += "file://0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch \ >> + file://0001-protobuf-Disable-musttail-attribute-on-mips.patch \ >> + " >> +SRC_URI[sha256sum] = "39f5877cea514b3da9f2683dfb3ffb45ef47b05f4ff39c287d7d61c5057f48b8" >> + >> +RDEPENDS:${PN} = "${PYTHON_PN}-grpcio" >> + >> +BBCLASSEXTEND = "native nativesdk" >> -- >> 2.41.0 >> >> >> -=-=-=-=-=-=-=-=-=-=-=- >> Links: You receive all messages sent to this group. >> View/Reply Online (#103668): https://lists.openembedded.org/g/openembedded-devel/message/103668 >> Mute This Topic: https://lists.openembedded.org/mt/99969391/5052612 >> Group Owner: openembedded-devel+owner@lists.openembedded.org >> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [quaresma.jose@gmail.com] >> -=-=-=-=-=-=-=-=-=-=-=- >> > > > -- > Best regards, > > José Quaresma
diff --git a/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-protobuf-Disable-musttail-attribute-on-mips.patch b/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-protobuf-Disable-musttail-attribute-on-mips.patch index 8b13d7ae21..8c70b2b6a6 100644 --- a/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-protobuf-Disable-musttail-attribute-on-mips.patch +++ b/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-protobuf-Disable-musttail-attribute-on-mips.patch @@ -14,11 +14,11 @@ Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> --- a/third_party/protobuf/src/google/protobuf/port_def.inc +++ b/third_party/protobuf/src/google/protobuf/port_def.inc -@@ -255,6 +255,7 @@ +@@ -338,6 +338,7 @@ static_assert(PROTOBUF_ABSL_MIN(20230125 #error PROTOBUF_TAILCALL was previously defined #endif - #if __has_cpp_attribute(clang::musttail) && !defined(__arm__) && \ + #if __has_cpp_attribute(clang::musttail) && !defined(__arm__) && \ + !defined(__mips__) && \ - !defined(_ARCH_PPC) && !defined(__wasm__) && \ - !(defined(_MSC_VER) && defined(_M_IX86)) && \ + !defined(_ARCH_PPC) && !defined(__wasm__) && \ + !(defined(_MSC_VER) && defined(_M_IX86)) && !defined(__i386__) && \ !(defined(__NDK_MAJOR__) && __NDK_MAJOR <= 24) diff --git a/meta-python/recipes-devtools/python/python3-grpcio-tools_1.56.0.bb b/meta-python/recipes-devtools/python/python3-grpcio-tools_1.56.0.bb new file mode 100644 index 0000000000..eb1994d7ce --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-grpcio-tools_1.56.0.bb @@ -0,0 +1,19 @@ +DESCRIPTION = "Google gRPC tools" +HOMEPAGE = "http://www.grpc.io/" +SECTION = "devel/python" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=7145f7cdd263359b62d342a02f005515" + +inherit pypi setuptools3 + +DEPENDS += "${PYTHON_PN}-grpcio" + +SRC_URI += "file://0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch \ + file://0001-protobuf-Disable-musttail-attribute-on-mips.patch \ + " +SRC_URI[sha256sum] = "39f5877cea514b3da9f2683dfb3ffb45ef47b05f4ff39c287d7d61c5057f48b8" + +RDEPENDS:${PN} = "${PYTHON_PN}-grpcio" + +BBCLASSEXTEND = "native nativesdk"
Signed-off-by: Khem Raj <raj.khem@gmail.com> --- ...f-Disable-musttail-attribute-on-mips.patch | 8 ++++---- .../python/python3-grpcio-tools_1.56.0.bb | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+), 4 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python3-grpcio-tools_1.56.0.bb