package/python-httpcore: 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:19 -07:00 committed by Thomas Petazzoni
parent 607f0ecb7e
commit 3d743c1027
4 changed files with 31 additions and 0 deletions

View File

@ -1113,6 +1113,7 @@ menu "External python modules"
source "package/python-hkdf/Config.in"
source "package/python-hpack/Config.in"
source "package/python-html5lib/Config.in"
source "package/python-httpcore/Config.in"
source "package/python-httplib2/Config.in"
source "package/python-huepy/Config.in"
source "package/python-humanize/Config.in"

View File

@ -0,0 +1,8 @@
config BR2_PACKAGE_PYTHON_HTTPCORE
bool "python-httpcore"
select BR2_PACKAGE_PYTHON_CERTIFI # runtime
select BR2_PACKAGE_PYTHON_H11 # runtime
help
A minimal low-level HTTP client.
https://www.encode.io/httpcore/

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/httpcore/json
md5 155fbd7794ce7351b607d408cb8182bf httpcore-1.0.2.tar.gz
sha256 9fc092e4799b26174648e54b74ed5f683132a464e95643b226e00c2ed2fa6535 httpcore-1.0.2.tar.gz
# Locally computed sha256 checksums
sha256 fdcb59154c74cbaba16a11242f7740bea9f23d6feb5547917d8c5f94a80392a5 LICENSE.md

View File

@ -0,0 +1,17 @@
################################################################################
#
# python-httpcore
#
################################################################################
PYTHON_HTTPCORE_VERSION = 1.0.2
PYTHON_HTTPCORE_SOURCE = httpcore-$(PYTHON_HTTPCORE_VERSION).tar.gz
PYTHON_HTTPCORE_SITE = https://files.pythonhosted.org/packages/18/56/78a38490b834fa0942cbe6d39bd8a7fd76316e8940319305a98d2b320366
PYTHON_HTTPCORE_SETUP_TYPE = pep517
PYTHON_HTTPCORE_LICENSE = BSD-3-Clause
PYTHON_HTTPCORE_LICENSE_FILES = LICENSE.md
PYTHON_HTTPCORE_DEPENDENCIES = \
host-python-hatchling \
host-python-hatch-fancy-pypi-readme
$(eval $(python-package))