Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: James Hilliard <james.hilliard1@gmail.com>
To: buildroot@buildroot.org
Cc: James Hilliard <james.hilliard1@gmail.com>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: [Buildroot] [PATCH 5/6] package/python-httpcore2: new package
Date: Fri,  2 Oct 2026 14:55:16 -0600	[thread overview]
Message-ID: <20261002205517.4043570-5-james.hilliard1@gmail.com> (raw)
In-Reply-To: <20261002205517.4043570-1-james.hilliard1@gmail.com>

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
 package/Config.in                              |  1 +
 package/python-httpcore2/Config.in             |  8 ++++++++
 package/python-httpcore2/python-httpcore2.hash |  5 +++++
 package/python-httpcore2/python-httpcore2.mk   | 17 +++++++++++++++++
 4 files changed, 31 insertions(+)
 create mode 100644 package/python-httpcore2/Config.in
 create mode 100644 package/python-httpcore2/python-httpcore2.hash
 create mode 100644 package/python-httpcore2/python-httpcore2.mk

diff --git a/package/Config.in b/package/Config.in
index 0c9d66f462..2fdb8b1fc9 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1165,6 +1165,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))
-- 
2.53.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  parent reply	other threads:[~2026-10-02 20:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-02 20:55 [Buildroot] [PATCH 1/6] package/python-idna: bump to version 3.20 James Hilliard
2026-10-02 20:55 ` [Buildroot] [PATCH 2/6] package/python-dunamai: new host package James Hilliard
2026-10-11 13:41   ` Thomas Petazzoni via buildroot
2026-10-02 20:55 ` [Buildroot] [PATCH 3/6] package/python-uv-dynamic-versioning: " James Hilliard
2026-10-02 20:55 ` [Buildroot] [PATCH 4/6] package/python-truststore: new package James Hilliard
2026-10-02 20:55 ` James Hilliard [this message]
2026-10-02 20:55 ` [Buildroot] [PATCH 6/6] package/python-httpx2: " James Hilliard
2026-10-11 13:34 ` [Buildroot] [PATCH 1/6] package/python-idna: bump to version 3.20 Thomas Petazzoni via buildroot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261002205517.4043570-5-james.hilliard1@gmail.com \
    --to=james.hilliard1@gmail.com \
    --cc=buildroot@buildroot.org \
    --cc=thomas.petazzoni@bootlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox