From ea45b95c0e54866134c63e88e60489a012b3d134 Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Thu, 14 Dec 2023 12:24:33 -0700 Subject: [PATCH] package/python-grpcio: new package Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- package/Config.in | 1 + package/python-grpcio/Config.in | 6 ++++++ package/python-grpcio/python-grpcio.hash | 5 +++++ package/python-grpcio/python-grpcio.mk | 14 ++++++++++++++ 4 files changed, 26 insertions(+) create mode 100644 package/python-grpcio/Config.in create mode 100644 package/python-grpcio/python-grpcio.hash create mode 100644 package/python-grpcio/python-grpcio.mk diff --git a/package/Config.in b/package/Config.in index d5d89c50aa..69516c8705 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1105,6 +1105,7 @@ menu "External python modules" source "package/python-gobject/Config.in" source "package/python-gpiozero/Config.in" source "package/python-greenlet/Config.in" + source "package/python-grpcio/Config.in" source "package/python-gunicorn/Config.in" source "package/python-h11/Config.in" source "package/python-h2/Config.in" diff --git a/package/python-grpcio/Config.in b/package/python-grpcio/Config.in new file mode 100644 index 0000000000..e63ac2ae34 --- /dev/null +++ b/package/python-grpcio/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_GRPCIO + bool "python-grpcio" + help + HTTP/2-based RPC framework. + + https://grpc.io diff --git a/package/python-grpcio/python-grpcio.hash b/package/python-grpcio/python-grpcio.hash new file mode 100644 index 0000000000..39366f576e --- /dev/null +++ b/package/python-grpcio/python-grpcio.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/grpcio/json +md5 480bfb7435426de392a883e6516aae79 grpcio-1.60.0.tar.gz +sha256 2199165a1affb666aa24adf0c97436686d0a61bc5fc113c037701fb7c7fceb96 grpcio-1.60.0.tar.gz +# Locally computed sha256 checksums +sha256 590198e3f305f2c347fde64d637c65492bbef554db6c8364e149cd375e3797ee LICENSE diff --git a/package/python-grpcio/python-grpcio.mk b/package/python-grpcio/python-grpcio.mk new file mode 100644 index 0000000000..3d264de4af --- /dev/null +++ b/package/python-grpcio/python-grpcio.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-grpcio +# +################################################################################ + +PYTHON_GRPCIO_VERSION = 1.60.0 +PYTHON_GRPCIO_SOURCE = grpcio-$(PYTHON_GRPCIO_VERSION).tar.gz +PYTHON_GRPCIO_SITE = https://files.pythonhosted.org/packages/61/38/c615b5c2be690fb31871f294cc08a96e598b085b8d07c5967a5018e0b90c +PYTHON_GRPCIO_SETUP_TYPE = setuptools +PYTHON_GRPCIO_LICENSE = Apache-2.0 +PYTHON_GRPCIO_LICENSE_FILES = LICENSE + +$(eval $(python-package))