package/python-httpcore2: new package

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
James Hilliard
2026-10-02 14:55:16 -06:00
committed by Thomas Petazzoni
parent 3eec853901
commit 053898a9c1
4 changed files with 31 additions and 0 deletions

View File

@@ -1167,6 +1167,7 @@ menu "External python modules"
source "package/python-hpack/Config.in"
source "package/python-html5lib/Config.in"
source "package/python-httpcore/Config.in"
source "package/python-httpcore2/Config.in"
source "package/python-httplib2/Config.in"
source "package/python-httpx/Config.in"
source "package/python-huepy/Config.in"

View File

@@ -0,0 +1,8 @@
config BR2_PACKAGE_PYTHON_HTTPCORE2
bool "python-httpcore2"
select BR2_PACKAGE_PYTHON_H11 # runtime
select BR2_PACKAGE_PYTHON_TRUSTSTORE # runtime
help
A minimal low-level HTTP client.
https://github.com/pydantic/httpx2

View File

@@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/httpcore2/json
md5 345513f80f9ba004d66a8534c5b74dfc httpcore2-2.13.1.tar.gz
sha256 e0aa977abe17e69a3b820a24542a6fa88702676d83880b8d194dcd18408e5103 httpcore2-2.13.1.tar.gz
# Locally computed sha256 checksums
sha256 c4df125c807b0613501e943a5c92496dd11d2c16604ce396097a8dde396304d9 LICENSE.md

View File

@@ -0,0 +1,17 @@
################################################################################
#
# python-httpcore2
#
################################################################################
PYTHON_HTTPCORE2_VERSION = 2.13.1
PYTHON_HTTPCORE2_SOURCE = httpcore2-$(PYTHON_HTTPCORE2_VERSION).tar.gz
PYTHON_HTTPCORE2_SITE = https://files.pythonhosted.org/packages/cb/f3/1db7aa2bc2524062192bb0e0323969492d1883152a232fe36eea65f4e35c
PYTHON_HTTPCORE2_SETUP_TYPE = hatch
PYTHON_HTTPCORE2_LICENSE = BSD-3-Clause
PYTHON_HTTPCORE2_LICENSE_FILES = LICENSE.md
PYTHON_HTTPCORE2_DEPENDENCIES = \
host-python-hatch-fancy-pypi-readme \
host-python-uv-dynamic-versioning
$(eval $(python-package))