From 9553dc98d30edaeb7a7ab4b7d8bc8c6fbb17b9fb Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Thu, 14 Dec 2023 12:24:38 -0700 Subject: [PATCH] package/python-google-api-core: new package Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- package/Config.in | 1 + package/python-google-api-core/Config.in | 10 ++++++++++ .../python-google-api-core.hash | 5 +++++ .../python-google-api-core.mk | 14 ++++++++++++++ 4 files changed, 30 insertions(+) create mode 100644 package/python-google-api-core/Config.in create mode 100644 package/python-google-api-core/python-google-api-core.hash create mode 100644 package/python-google-api-core/python-google-api-core.mk diff --git a/package/Config.in b/package/Config.in index dd59baad06..3cd91beaf2 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1104,6 +1104,7 @@ menu "External python modules" source "package/python-gitdb2/Config.in" source "package/python-gnupg/Config.in" source "package/python-gobject/Config.in" + source "package/python-google-api-core/Config.in" source "package/python-google-auth/Config.in" source "package/python-googleapis-common-protos/Config.in" source "package/python-gpiozero/Config.in" diff --git a/package/python-google-api-core/Config.in b/package/python-google-api-core/Config.in new file mode 100644 index 0000000000..689923a2f4 --- /dev/null +++ b/package/python-google-api-core/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_PYTHON_GOOGLE_API_CORE + bool "python-google-api-core" + select BR2_PACKAGE_PYTHON_GOOGLE_AUTH # runtime + select BR2_PACKAGE_PYTHON_GOOGLEAPIS_COMMON_PROTOS # runtime + select BR2_PACKAGE_PYTHON_PROTOBUF # runtime + select BR2_PACKAGE_PYTHON_REQUESTS # runtime + help + Google API client core library. + + https://github.com/googleapis/python-api-core diff --git a/package/python-google-api-core/python-google-api-core.hash b/package/python-google-api-core/python-google-api-core.hash new file mode 100644 index 0000000000..5a1cd7f1cb --- /dev/null +++ b/package/python-google-api-core/python-google-api-core.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/google-api-core/json +md5 58a4ce34a405e514cdb5295c80834cfd google-api-core-2.15.0.tar.gz +sha256 abc978a72658f14a2df1e5e12532effe40f94f868f6e23d95133bd6abcca35ca google-api-core-2.15.0.tar.gz +# Locally computed sha256 checksums +sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE diff --git a/package/python-google-api-core/python-google-api-core.mk b/package/python-google-api-core/python-google-api-core.mk new file mode 100644 index 0000000000..84042d8d7a --- /dev/null +++ b/package/python-google-api-core/python-google-api-core.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-google-api-core +# +################################################################################ + +PYTHON_GOOGLE_API_CORE_VERSION = 2.15.0 +PYTHON_GOOGLE_API_CORE_SOURCE = google-api-core-$(PYTHON_GOOGLE_API_CORE_VERSION).tar.gz +PYTHON_GOOGLE_API_CORE_SITE = https://files.pythonhosted.org/packages/2c/e4/56b14d35057a23cab9067dd8fb841407d05d32b5d6c7a3c66c1360e8a7c0 +PYTHON_GOOGLE_API_CORE_SETUP_TYPE = setuptools +PYTHON_GOOGLE_API_CORE_LICENSE = Apache-2.0 +PYTHON_GOOGLE_API_CORE_LICENSE_FILES = LICENSE + +$(eval $(python-package))