aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-12-23 10:46:51 -0800
committerKhem Raj <raj.khem@gmail.com>2018-12-23 13:29:20 -0800
commit7227733cbf8792444fe21fac729ab7f7d86a7866 (patch)
treede3c7476045986175bd326909381303e5d59ecfa /meta-python
parentb67fff759b0e4da1c380b340f380bdfd7dee7af5 (diff)
downloadmeta-openembedded-7227733cbf8792444fe21fac729ab7f7d86a7866.tar.gz
meta-openembedded-7227733cbf8792444fe21fac729ab7f7d86a7866.tar.bz2
meta-openembedded-7227733cbf8792444fe21fac729ab7f7d86a7866.zip
python-grpcio: Upgrade to 1.17.1
Patch to fix ppc build Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Tim "moto-timo" Orling <TicoTimo@gmail.com> Cc: Derek Straka <derek@asterius.io>
Diffstat (limited to 'meta-python')
-rw-r--r--meta-python/recipes-devtools/python/python-grpcio.inc10
-rw-r--r--meta-python/recipes-devtools/python/python-grpcio/ppc-boringssl-support.patch17
-rw-r--r--meta-python/recipes-devtools/python/python-grpcio_1.17.1.bb (renamed from meta-python/recipes-devtools/python/python-grpcio_1.14.1.bb)0
-rw-r--r--meta-python/recipes-devtools/python/python3-grpcio_1.17.1.bb (renamed from meta-python/recipes-devtools/python/python3-grpcio_1.14.1.bb)0
4 files changed, 23 insertions, 4 deletions
diff --git a/meta-python/recipes-devtools/python/python-grpcio.inc b/meta-python/recipes-devtools/python/python-grpcio.inc
index 23d25f7aa..0cef0dda0 100644
--- a/meta-python/recipes-devtools/python/python-grpcio.inc
+++ b/meta-python/recipes-devtools/python/python-grpcio.inc
@@ -5,7 +5,10 @@ SECTION = "devel/python"
DEPENDS_append = "${PYTHON_PN}-protobuf"
FILESEXTRAPATHS_prepend := "${THISDIR}/python-grpcio:"
-SRC_URI_append_class-target = " file://0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch "
+
+SRC_URI_append_class-target = " file://0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch \
+ file://ppc-boringssl-support.patch \
+"
RDEPENDS_${PN} = "${PYTHON_PN}-protobuf \
${PYTHON_PN}-setuptools \
@@ -16,9 +19,8 @@ LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9"
inherit pypi
-
-SRC_URI[md5sum] = "0987ae2e47b5103de3cacc437874a3c5"
-SRC_URI[sha256sum] = "4bf23666e763ca7ff6010465864e9f088f4ac7ecc1e11abd6f85b250e66b2c05"
+SRC_URI[md5sum] = "dd46d7270dfce713c03f45fae999cae3"
+SRC_URI[sha256sum] = "fd6774bbb6c717f725b39394757445ead4f69c471118364933aadb81a4f16961"
CLEANBROKEN = "1"
diff --git a/meta-python/recipes-devtools/python/python-grpcio/ppc-boringssl-support.patch b/meta-python/recipes-devtools/python/python-grpcio/ppc-boringssl-support.patch
new file mode 100644
index 000000000..6435abbe6
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-grpcio/ppc-boringssl-support.patch
@@ -0,0 +1,17 @@
+Let boringSSL compile on ppc32 bit
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+
+--- a/third_party/boringssl/include/openssl/base.h
++++ b/third_party/boringssl/include/openssl/base.h
+@@ -95,6 +95,9 @@ extern "C" {
+ #elif (defined(__PPC64__) || defined(__powerpc64__)) && defined(_LITTLE_ENDIAN)
+ #define OPENSSL_64_BIT
+ #define OPENSSL_PPC64LE
++#elif (defined(__PPC__) || defined(__powerpc__))
++#define OPENSSL_32_BIT
++#define OPENSSL_PPC
+ #elif defined(__mips__) && !defined(__LP64__)
+ #define OPENSSL_32_BIT
+ #define OPENSSL_MIPS
diff --git a/meta-python/recipes-devtools/python/python-grpcio_1.14.1.bb b/meta-python/recipes-devtools/python/python-grpcio_1.17.1.bb
index 820bea44b..820bea44b 100644
--- a/meta-python/recipes-devtools/python/python-grpcio_1.14.1.bb
+++ b/meta-python/recipes-devtools/python/python-grpcio_1.17.1.bb
diff --git a/meta-python/recipes-devtools/python/python3-grpcio_1.14.1.bb b/meta-python/recipes-devtools/python/python3-grpcio_1.17.1.bb
index d4720b4b8..d4720b4b8 100644
--- a/meta-python/recipes-devtools/python/python3-grpcio_1.14.1.bb
+++ b/meta-python/recipes-devtools/python/python3-grpcio_1.17.1.bb