From 9c9bde5cd7d0a911de1ebe5c253a12827683bb9c Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Tue, 19 Sep 2017 10:12:06 -0400 Subject: python-grpcio: update to version 1.6.0 Signed-off-by: Derek Straka Signed-off-by: Martin Jansa --- ...up.py-Do-not-mix-C-and-C-compiler-options.patch | 4 ++-- .../recipes-devtools/python/python-grpcio_1.4.0.bb | 25 ---------------------- .../recipes-devtools/python/python-grpcio_1.6.0.bb | 25 ++++++++++++++++++++++ 3 files changed, 27 insertions(+), 27 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python-grpcio_1.4.0.bb create mode 100644 meta-python/recipes-devtools/python/python-grpcio_1.6.0.bb diff --git a/meta-python/recipes-devtools/python/python-grpcio/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch b/meta-python/recipes-devtools/python/python-grpcio/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch index 3686144b38..3abbc6d6f1 100644 --- a/meta-python/recipes-devtools/python/python-grpcio/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch +++ b/meta-python/recipes-devtools/python/python-grpcio/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch @@ -26,8 +26,8 @@ index cb85273..f79878d 100644 elif 'win32' in sys.platform: EXTRA_ENV_COMPILE_ARGS += ' -D_PYTHON_MSVC' elif "linux" in sys.platform: -- EXTRA_ENV_COMPILE_ARGS += ' -std=c++11 -std=gnu99 -fvisibility=hidden -fno-wrapv' -+ EXTRA_ENV_COMPILE_ARGS += ' -fvisibility=hidden -fno-wrapv' +- EXTRA_ENV_COMPILE_ARGS += ' -std=c++11 -std=gnu99 -fvisibility=hidden -fno-wrapv -fno-exceptions' ++ EXTRA_ENV_COMPILE_ARGS += ' -fvisibility=hidden -fno-wrapv -fno-exceptions' elif "darwin" in sys.platform: EXTRA_ENV_COMPILE_ARGS += ' -fvisibility=hidden -fno-wrapv' diff --git a/meta-python/recipes-devtools/python/python-grpcio_1.4.0.bb b/meta-python/recipes-devtools/python/python-grpcio_1.4.0.bb deleted file mode 100644 index 2446411a1a..0000000000 --- a/meta-python/recipes-devtools/python/python-grpcio_1.4.0.bb +++ /dev/null @@ -1,25 +0,0 @@ -DESCRIPTION = "Google gRPC" -HOMEPAGE = "http://www.grpc.io/" -SECTION = "devel/python" - -DEPENDS = "python-protobuf" - -SRC_URI += "file://0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch \ - " -RDEPENDS_${PN} = "python-enum34 \ - python-futures \ - python-protobuf \ - python-setuptools \ - python-six \ -" - -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9" - -inherit pypi setuptools - -SRC_URI[md5sum] = "d882ae4eeef4f32ac9c1d32052bf05ad" -SRC_URI[sha256sum] = "a3a213a4c24b5c572b386d752e3b74a3f1b8fa5d03c07b6166fa39f3a6cdef34" - -# For usage in other recipies when compiling protobuf files (e.g. by grpcio-tools) -BBCLASSEXTEND = "native" diff --git a/meta-python/recipes-devtools/python/python-grpcio_1.6.0.bb b/meta-python/recipes-devtools/python/python-grpcio_1.6.0.bb new file mode 100644 index 0000000000..7155f42c95 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-grpcio_1.6.0.bb @@ -0,0 +1,25 @@ +DESCRIPTION = "Google gRPC" +HOMEPAGE = "http://www.grpc.io/" +SECTION = "devel/python" + +DEPENDS = "python-protobuf" + +SRC_URI += "file://0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch \ + " +RDEPENDS_${PN} = "python-enum34 \ + python-futures \ + python-protobuf \ + python-setuptools \ + python-six \ +" + +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9" + +inherit pypi setuptools + +SRC_URI[md5sum] = "c91b8c105ff4163b41790f3b63db92e1" +SRC_URI[sha256sum] = "6cd793d515ec53587a8968f2a53647f1449763ad06be0d287e3c1e47418e1e50" + +# For usage in other recipes when compiling protobuf files (e.g. by grpcio-tools) +BBCLASSEXTEND = "native" -- cgit 1.2.3-korg