diff mbox series

[meta-python,11/13] python3-proto-plus: add recipe

Message ID 20261108192623.1082770-12-thomas@roosesweb.de
State Under Review
Headers show
Series Python updates for Home Assistant 2026.11 | expand

Commit Message

Thomas Roos Nov. 8, 2026, 7:26 p.m. UTC
python3-google-api-core 2.x requires proto-plus. A recipe for 1.27.1
exists in meta-python-ai, but meta-python cannot depend on that layer.

Only protobuf is a runtime dependency; google-api-core is needed by the
test suite only.

AI-Generated: Claude Code, Claude Opus 5.5
Signed-off-by: Thomas Roos <thomas@roosesweb.de>
---
 .../python/python3-proto-plus_1.29.0.bb           | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-proto-plus_1.29.0.bb
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-proto-plus_1.29.0.bb b/meta-python/recipes-devtools/python/python3-proto-plus_1.29.0.bb
new file mode 100644
index 0000000000..da31e423e7
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-proto-plus_1.29.0.bb
@@ -0,0 +1,15 @@ 
+SUMMARY = "Beautiful, Pythonic protocol buffers"
+DESCRIPTION = "Proto Plus provides a Pythonic wrapper around protocol buffers. \
+    Messages behave like native Python types, which makes them easier to \
+    construct, read and serialize."
+HOMEPAGE = "https://github.com/googleapis/google-cloud-python/tree/main/packages/proto-plus"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
+
+inherit pypi python_setuptools_build_meta
+
+SRC_URI[sha256sum] = "cfb4e62ad7e13dd18f346cabbda00cab39930d36a05791fd81ddb074d6ee884f"
+
+RDEPENDS:${PN} += "python3-protobuf"
+
+BBCLASSEXTEND = "native nativesdk"