Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/python-proto-plus: new package
@ 2024-09-15  7:14 James Hilliard
  2024-09-15  7:14 ` [Buildroot] [PATCH 2/2] package/python-google-api-core: bump to version 2.19.2 James Hilliard
  2024-09-15  8:11 ` [Buildroot] [PATCH 1/2] package/python-proto-plus: new package Thomas Petazzoni via buildroot
  0 siblings, 2 replies; 4+ messages in thread
From: James Hilliard @ 2024-09-15  7:14 UTC (permalink / raw)
  To: buildroot; +Cc: James Hilliard, Thomas Petazzoni, Asaf Kahlon

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
 package/Config.in                                |  1 +
 package/python-proto-plus/Config.in              |  7 +++++++
 package/python-proto-plus/python-proto-plus.hash |  5 +++++
 package/python-proto-plus/python-proto-plus.mk   | 14 ++++++++++++++
 4 files changed, 27 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 269a8cae6f..505ca64c00 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..368ca0160d
--- /dev/null
+++ b/package/python-proto-plus/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_PROTO_PLUS
+	bool "python-proto-plus"
+	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))
-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 2/2] package/python-google-api-core: bump to version 2.19.2
  2024-09-15  7:14 [Buildroot] [PATCH 1/2] package/python-proto-plus: new package James Hilliard
@ 2024-09-15  7:14 ` James Hilliard
  2024-09-15  8:12   ` Thomas Petazzoni via buildroot
  2024-09-15  8:11 ` [Buildroot] [PATCH 1/2] package/python-proto-plus: new package Thomas Petazzoni via buildroot
  1 sibling, 1 reply; 4+ messages in thread
From: James Hilliard @ 2024-09-15  7:14 UTC (permalink / raw)
  To: buildroot; +Cc: James Hilliard, Thomas Petazzoni, Asaf Kahlon

Add new python-proto-plus runtime dependency.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
 package/python-google-api-core/Config.in                   | 1 +
 package/python-google-api-core/python-google-api-core.hash | 4 ++--
 package/python-google-api-core/python-google-api-core.mk   | 6 +++---
 3 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/package/python-google-api-core/Config.in b/package/python-google-api-core/Config.in
index 689923a2f4..21fe361e07 100644
--- a/package/python-google-api-core/Config.in
+++ b/package/python-google-api-core/Config.in
@@ -2,6 +2,7 @@ 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_PROTO_PLUS # runtime
 	select BR2_PACKAGE_PYTHON_PROTOBUF # runtime
 	select BR2_PACKAGE_PYTHON_REQUESTS # runtime
 	help
diff --git a/package/python-google-api-core/python-google-api-core.hash b/package/python-google-api-core/python-google-api-core.hash
index 5a1cd7f1cb..7a52c94417 100644
--- a/package/python-google-api-core/python-google-api-core.hash
+++ b/package/python-google-api-core/python-google-api-core.hash
@@ -1,5 +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
+md5  39052bc872e39093248cc1841b0037ca  google_api_core-2.19.2.tar.gz
+sha256  ca07de7e8aa1c98a8bfca9321890ad2340ef7f2eb136e558cee68f24b94b0a8f  google_api_core-2.19.2.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
index 84042d8d7a..b2bf049624 100644
--- a/package/python-google-api-core/python-google-api-core.mk
+++ b/package/python-google-api-core/python-google-api-core.mk
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-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_VERSION = 2.19.2
+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/78/14/99c2514b3ccc5aad1e0776f0ae8295c9f7153aead4f41d07dd126cecdc14
 PYTHON_GOOGLE_API_CORE_SETUP_TYPE = setuptools
 PYTHON_GOOGLE_API_CORE_LICENSE = Apache-2.0
 PYTHON_GOOGLE_API_CORE_LICENSE_FILES = LICENSE
-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [Buildroot] [PATCH 1/2] package/python-proto-plus: new package
  2024-09-15  7:14 [Buildroot] [PATCH 1/2] package/python-proto-plus: new package James Hilliard
  2024-09-15  7:14 ` [Buildroot] [PATCH 2/2] package/python-google-api-core: bump to version 2.19.2 James Hilliard
@ 2024-09-15  8:11 ` Thomas Petazzoni via buildroot
  1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-09-15  8:11 UTC (permalink / raw)
  To: James Hilliard; +Cc: Asaf Kahlon, buildroot

On Sun, 15 Sep 2024 01:14:46 -0600
James Hilliard <james.hilliard1@gmail.com> wrote:

> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
> ---
>  package/Config.in                                |  1 +
>  package/python-proto-plus/Config.in              |  7 +++++++
>  package/python-proto-plus/python-proto-plus.hash |  5 +++++
>  package/python-proto-plus/python-proto-plus.mk   | 14 ++++++++++++++
>  4 files changed, 27 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 269a8cae6f..505ca64c00 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..368ca0160d
> --- /dev/null
> +++ b/package/python-proto-plus/Config.in
> @@ -0,0 +1,7 @@
> +config BR2_PACKAGE_PYTHON_PROTO_PLUS
> +	bool "python-proto-plus"
> +	select BR2_PACKAGE_PYTHON_PROTOBUF # runtime

You forgot to propagate the "depends on" from
BR2_PACKAGE_PYTHON_PROTOBUF: BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS. I
fixed that.

Thanks,

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Buildroot] [PATCH 2/2] package/python-google-api-core: bump to version 2.19.2
  2024-09-15  7:14 ` [Buildroot] [PATCH 2/2] package/python-google-api-core: bump to version 2.19.2 James Hilliard
@ 2024-09-15  8:12   ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-09-15  8:12 UTC (permalink / raw)
  To: James Hilliard; +Cc: Asaf Kahlon, buildroot

On Sun, 15 Sep 2024 01:14:47 -0600
James Hilliard <james.hilliard1@gmail.com> wrote:

> diff --git a/package/python-google-api-core/Config.in b/package/python-google-api-core/Config.in
> index 689923a2f4..21fe361e07 100644
> --- a/package/python-google-api-core/Config.in
> +++ b/package/python-google-api-core/Config.in
> @@ -2,6 +2,7 @@ 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_PROTO_PLUS # runtime

And now that BR2_PACKAGE_PYTHON_PROTO_PLUS has a depends on
BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS, it needs to be propagated here
as well, and also to the reverse dependencies, i.e
package/python-grpc-requests/Config.in. I fixed that.

Thanks,

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-09-15  8:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-15  7:14 [Buildroot] [PATCH 1/2] package/python-proto-plus: new package James Hilliard
2024-09-15  7:14 ` [Buildroot] [PATCH 2/2] package/python-google-api-core: bump to version 2.19.2 James Hilliard
2024-09-15  8:12   ` Thomas Petazzoni via buildroot
2024-09-15  8:11 ` [Buildroot] [PATCH 1/2] package/python-proto-plus: new package Thomas Petazzoni via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox