From 5c76c9bd1b3dbb72b19304b390c0460eaeed57ff Mon Sep 17 00:00:00 2001 From: Thomas Roos Date: Sun, 8 Nov 2026 20:25:48 +0100 Subject: [PATCH] python3-httpcore2: add recipe 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 Signed-off-by: Khem Raj --- .../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 --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 \ +"