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 2/4] package/python-typer: new package
Date: Sat, 3 Oct 2026 17:32:29 -0600 [thread overview]
Message-ID: <20261003233231.753958-2-james.hilliard1@gmail.com> (raw)
In-Reply-To: <20261003233231.753958-1-james.hilliard1@gmail.com>
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
package/Config.in | 1 +
package/python-typer/Config.in | 9 +++++++++
package/python-typer/python-typer.hash | 6 ++++++
package/python-typer/python-typer.mk | 15 +++++++++++++++
4 files changed, 31 insertions(+)
create mode 100644 package/python-typer/Config.in
create mode 100644 package/python-typer/python-typer.hash
create mode 100644 package/python-typer/python-typer.mk
diff --git a/package/Config.in b/package/Config.in
index 59d5b893da..0b6b7c3188 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1491,6 +1491,7 @@ menu "External python modules"
source "package/python-txtorcon/Config.in"
source "package/python-typeguard/Config.in"
source "package/python-typepy/Config.in"
+ source "package/python-typer/Config.in"
source "package/python-types-python-dateutil/Config.in"
source "package/python-typing-extensions/Config.in"
source "package/python-typing-inspect/Config.in"
diff --git a/package/python-typer/Config.in b/package/python-typer/Config.in
new file mode 100644
index 0000000000..e78557d95d
--- /dev/null
+++ b/package/python-typer/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_PYTHON_TYPER
+ bool "python-typer"
+ select BR2_PACKAGE_PYTHON_ANNOTATED_DOC # runtime
+ select BR2_PACKAGE_PYTHON_RICH # runtime
+ select BR2_PACKAGE_PYTHON_SHELLINGHAM # runtime
+ help
+ Build command-line interfaces using Python type hints.
+
+ https://github.com/fastapi/typer
diff --git a/package/python-typer/python-typer.hash b/package/python-typer/python-typer.hash
new file mode 100644
index 0000000000..aac74ce2bb
--- /dev/null
+++ b/package/python-typer/python-typer.hash
@@ -0,0 +1,6 @@
+# md5, sha256 from https://pypi.org/pypi/typer/0.27.2/json
+md5 2d81e72fd4c60a94c9d1b6ade7142f65 typer-0.27.2.tar.gz
+sha256 269b7eb9d3c202ca84b4bc9618cb04ebb43d3d4d1e567e4c768607232c05f945 typer-0.27.2.tar.gz
+# Locally computed sha256 checksums
+sha256 58992cebcf8dfb6e40c4e2112ed12126c243666dca3912a3d78b7ecac4859d49 LICENSE
+sha256 9a8ad106a394e853bfe21f42f4e72d592819a22805d991b5f3275029292b658d typer/_click/LICENSE.txt
diff --git a/package/python-typer/python-typer.mk b/package/python-typer/python-typer.mk
new file mode 100644
index 0000000000..ca0d1c6ee7
--- /dev/null
+++ b/package/python-typer/python-typer.mk
@@ -0,0 +1,15 @@
+################################################################################
+#
+# python-typer
+#
+################################################################################
+
+PYTHON_TYPER_VERSION = 0.27.2
+PYTHON_TYPER_SOURCE = typer-$(PYTHON_TYPER_VERSION).tar.gz
+PYTHON_TYPER_SITE = https://files.pythonhosted.org/packages/16/f7/57713ba479fd405eb76de31404b2c744c289e336b2d999511ebf51e496f7
+PYTHON_TYPER_SETUP_TYPE = pep517
+PYTHON_TYPER_LICENSE = MIT, BSD-3-Clause (vendored click)
+PYTHON_TYPER_LICENSE_FILES = LICENSE typer/_click/LICENSE.txt
+PYTHON_TYPER_DEPENDENCIES = host-python-pdm-backend
+
+$(eval $(python-package))
--
2.53.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2026-10-03 23:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-03 23:32 [Buildroot] [PATCH 1/4] package/python-shellingham: new package James Hilliard
2026-10-03 23:32 ` James Hilliard [this message]
2026-10-03 23:32 ` [Buildroot] [PATCH 3/4] package/python-typer-slim: " James Hilliard
2026-10-03 23:32 ` [Buildroot] [PATCH 4/4] package/python-jaraco-text: bump to version 4.3.0 James Hilliard
2026-10-19 17:46 ` [Buildroot] [PATCH 1/4] package/python-shellingham: new package 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=20261003233231.753958-2-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.