package/python-httpx2: 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:17 -06:00
committed by Thomas Petazzoni
parent 053898a9c1
commit ca81f734c9
4 changed files with 34 additions and 0 deletions

View File

@@ -1170,6 +1170,7 @@ menu "External python modules"
source "package/python-httpcore2/Config.in"
source "package/python-httplib2/Config.in"
source "package/python-httpx/Config.in"
source "package/python-httpx2/Config.in"
source "package/python-huepy/Config.in"
source "package/python-humanfriendly/Config.in"
source "package/python-humanize/Config.in"

View File

@@ -0,0 +1,11 @@
config BR2_PACKAGE_PYTHON_HTTPX2
bool "python-httpx2"
select BR2_PACKAGE_PYTHON_ANYIO # runtime
select BR2_PACKAGE_PYTHON_HTTPCORE2 # runtime
select BR2_PACKAGE_PYTHON_IDNA # runtime
select BR2_PACKAGE_PYTHON_TRUSTSTORE # runtime
select BR2_PACKAGE_PYTHON3_ZLIB # runtime
help
The next generation HTTP client.
https://github.com/pydantic/httpx2

View File

@@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/httpx2/json
md5 29186979393f62d61718c3a525f8163a httpx2-2.13.1.tar.gz
sha256 e48744a19e3af5ee48313d0ce5fe941d5422fae5705ea922a4aabf94d7800dfa httpx2-2.13.1.tar.gz
# Locally computed sha256 checksums
sha256 7e7d6dbaf7fe160d39fd6e84fd02c33cab96bcbea34d36998d545bceb4a19c30 LICENSE.md

View File

@@ -0,0 +1,17 @@
################################################################################
#
# python-httpx2
#
################################################################################
PYTHON_HTTPX2_VERSION = 2.13.1
PYTHON_HTTPX2_SOURCE = httpx2-$(PYTHON_HTTPX2_VERSION).tar.gz
PYTHON_HTTPX2_SITE = https://files.pythonhosted.org/packages/d5/44/474bef2a0e9d90f1715d32cb98b0738695ca17ba324095fb2497ed7fbd59
PYTHON_HTTPX2_SETUP_TYPE = hatch
PYTHON_HTTPX2_LICENSE = BSD-3-Clause
PYTHON_HTTPX2_LICENSE_FILES = LICENSE.md
PYTHON_HTTPX2_DEPENDENCIES = \
host-python-hatch-fancy-pypi-readme \
host-python-uv-dynamic-versioning
$(eval $(python-package))