package/python-httpx: 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 2023-12-14 09:54:20 -07:00 committed by Thomas Petazzoni
parent 3d743c1027
commit ae9137661b
4 changed files with 34 additions and 0 deletions

View File

@ -1115,6 +1115,7 @@ menu "External python modules"
source "package/python-html5lib/Config.in"
source "package/python-httpcore/Config.in"
source "package/python-httplib2/Config.in"
source "package/python-httpx/Config.in"
source "package/python-huepy/Config.in"
source "package/python-humanize/Config.in"
source "package/python-hwdata/Config.in"

View File

@ -0,0 +1,11 @@
config BR2_PACKAGE_PYTHON_HTTPX
bool "python-httpx"
select BR2_PACKAGE_PYTHON_ANYIO # runtime
select BR2_PACKAGE_PYTHON_CERTIFI # runtime
select BR2_PACKAGE_PYTHON_HTTPCORE # runtime
select BR2_PACKAGE_PYTHON_IDNA # runtime
select BR2_PACKAGE_PYTHON_SNIFFIO # runtime
help
The next generation HTTP client.
https://github.com/encode/httpx

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/httpx/json
md5 f4dcf1002b2116c634a53534ce9d6776 httpx-0.25.2.tar.gz
sha256 8b8fcaa0c8ea7b05edd69a094e63a2094c4efcb48129fb757361bc423c0ad9e8 httpx-0.25.2.tar.gz
# Locally computed sha256 checksums
sha256 4ec59d544f12b5f539a3a716fd321ac58ccd8030b465221f2c880200cdf28d8d LICENSE.md

View File

@ -0,0 +1,17 @@
################################################################################
#
# python-httpx
#
################################################################################
PYTHON_HTTPX_VERSION = 0.25.2
PYTHON_HTTPX_SOURCE = httpx-$(PYTHON_HTTPX_VERSION).tar.gz
PYTHON_HTTPX_SITE = https://files.pythonhosted.org/packages/8c/23/911d93a022979d3ea295f659fbe7edb07b3f4561a477e83b3a6d0e0c914e
PYTHON_HTTPX_SETUP_TYPE = pep517
PYTHON_HTTPX_LICENSE = BSD-3-Clause
PYTHON_HTTPX_LICENSE_FILES = LICENSE.md
PYTHON_HTTPX_DEPENDENCIES = \
host-python-hatchling \
host-python-hatch-fancy-pypi-readme
$(eval $(python-package))