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 <thomas@roosesweb.de>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Thomas Roos authored and Khem Raj committed 2026-11-08 16:03:27 -08:00
1 parent f89384f068
commit 5c76c9bd1b
1 file changed
+26
@@ -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 \
"