diff --git a/package/Config.in b/package/Config.in index 407ba05d4b..15ba968e7b 100644 --- a/package/Config.in +++ b/package/Config.in @@ -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" diff --git a/package/python-httpcore2/Config.in b/package/python-httpcore2/Config.in new file mode 100644 index 0000000000..73e1765c11 --- /dev/null +++ b/package/python-httpcore2/Config.in @@ -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 diff --git a/package/python-httpcore2/python-httpcore2.hash b/package/python-httpcore2/python-httpcore2.hash new file mode 100644 index 0000000000..c088cfa87f --- /dev/null +++ b/package/python-httpcore2/python-httpcore2.hash @@ -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 diff --git a/package/python-httpcore2/python-httpcore2.mk b/package/python-httpcore2/python-httpcore2.mk new file mode 100644 index 0000000000..48c3d64604 --- /dev/null +++ b/package/python-httpcore2/python-httpcore2.mk @@ -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))