From 39fb1550716e00b49fde99bef7e11c63b44063c3 Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Sun, 15 Sep 2024 01:14:46 -0600 Subject: [PATCH] package/python-proto-plus: new package Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- package/Config.in | 1 + package/python-proto-plus/Config.in | 8 ++++++++ package/python-proto-plus/python-proto-plus.hash | 5 +++++ package/python-proto-plus/python-proto-plus.mk | 14 ++++++++++++++ 4 files changed, 28 insertions(+) create mode 100644 package/python-proto-plus/Config.in create mode 100644 package/python-proto-plus/python-proto-plus.hash create mode 100644 package/python-proto-plus/python-proto-plus.mk diff --git a/package/Config.in b/package/Config.in index 38944bdd4f..a1d53edf5b 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1261,6 +1261,7 @@ menu "External python modules" source "package/python-posix-ipc/Config.in" source "package/python-priority/Config.in" source "package/python-prompt-toolkit/Config.in" + source "package/python-proto-plus/Config.in" source "package/python-protobuf/Config.in" source "package/python-psutil/Config.in" source "package/python-psycopg2/Config.in" diff --git a/package/python-proto-plus/Config.in b/package/python-proto-plus/Config.in new file mode 100644 index 0000000000..49c73e5f6b --- /dev/null +++ b/package/python-proto-plus/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_PROTO_PLUS + bool "python-proto-plus" + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS + select BR2_PACKAGE_PYTHON_PROTOBUF # runtime + help + Beautiful, Pythonic protocol buffers. + + https://github.com/googleapis/proto-plus-python diff --git a/package/python-proto-plus/python-proto-plus.hash b/package/python-proto-plus/python-proto-plus.hash new file mode 100644 index 0000000000..e9d3632275 --- /dev/null +++ b/package/python-proto-plus/python-proto-plus.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/proto-plus/json +md5 7af507ef2f7c1e512321c29ed5cf131c proto-plus-1.24.0.tar.gz +sha256 30b72a5ecafe4406b0d339db35b56c4059064e69227b8c3bda7462397f966445 proto-plus-1.24.0.tar.gz +# Locally computed sha256 checksums +sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE diff --git a/package/python-proto-plus/python-proto-plus.mk b/package/python-proto-plus/python-proto-plus.mk new file mode 100644 index 0000000000..9ef85790d2 --- /dev/null +++ b/package/python-proto-plus/python-proto-plus.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-proto-plus +# +################################################################################ + +PYTHON_PROTO_PLUS_VERSION = 1.24.0 +PYTHON_PROTO_PLUS_SOURCE = proto-plus-$(PYTHON_PROTO_PLUS_VERSION).tar.gz +PYTHON_PROTO_PLUS_SITE = https://files.pythonhosted.org/packages/3e/fc/e9a65cd52c1330d8d23af6013651a0bc50b6d76bcbdf91fae7cd19c68f29 +PYTHON_PROTO_PLUS_SETUP_TYPE = setuptools +PYTHON_PROTO_PLUS_LICENSE = Apache-2.0 +PYTHON_PROTO_PLUS_LICENSE_FILES = LICENSE + +$(eval $(python-package))