diff mbox series

[meta-python,5/6] python3-httpcore2: add recipe

Message ID 20261108192549.1082715-6-thomas@roosesweb.de
State Under Review
Headers show
Series Fixes for pika, pint, haversine and httpx2 | expand

Commit Message

Thomas Roos Nov. 8, 2026, 7:25 p.m. UTC
httpx2 imports httpcore2, which is released as a separate package from
the same repository and with the same version.

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

Patch

diff --git a/meta-python/recipes-devtools/python/python3-httpcore2_2.16.0.bb b/meta-python/recipes-devtools/python/python3-httpcore2_2.16.0.bb
new file mode 100644
index 0000000000..03718729c1
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-httpcore2_2.16.0.bb
@@ -0,0 +1,26 @@ 
+SUMMARY = "A minimal low-level HTTP client"
+DESCRIPTION = "The HTTP core package of httpx2: connection pooling, \
+    HTTP/1.1 and HTTP/2 transport and proxy support."
+HOMEPAGE = "https://github.com/pydantic/httpx2"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.md;md5=77c5a523c15d4a5887b081bba41ca110"
+
+SRC_URI[sha256sum] = "c72cd0413563b17e1cd8354677dff887466f8ec2551679759e93126534428643"
+
+inherit pypi python_hatchling
+
+DEPENDS += "\
+    python3-uv-dynamic-versioning-native \
+    python3-hatch-fancy-pypi-readme-native \
+    python3-jinja2-native \
+    python3-tomlkit-native \
+    python3-dunamai-native \
+"
+
+# anyio comes from the "asyncio" extra, which httpx2 needs for its async
+# client.
+RDEPENDS:${PN} += "\
+    python3-anyio \
+    python3-h11 \
+    python3-truststore \
+"