From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: buildroot@buildroot.org
Subject: [Buildroot] [git commit] package/python-fastui: new package
Date: Sun, 12 May 2024 12:10:54 +0200 [thread overview]
Message-ID: <20240512101123.4A78F8707B@busybox.osuosl.org> (raw)
commit: https://git.buildroot.net/buildroot/commit/?id=4d7cf1c1e2bbf4dde178cadf88f94afd226d75f4
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
package/Config.in | 1 +
package/python-fastui/Config.in | 9 +++++++++
package/python-fastui/python-fastui.hash | 5 +++++
package/python-fastui/python-fastui.mk | 15 +++++++++++++++
4 files changed, 30 insertions(+)
diff --git a/package/Config.in b/package/Config.in
index 053baa292f..c29b4a5101 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1093,6 +1093,7 @@ menu "External python modules"
source "package/python-falcon/Config.in"
source "package/python-fastapi/Config.in"
source "package/python-fastapi-sessions/Config.in"
+ source "package/python-fastui/Config.in"
source "package/python-filelock/Config.in"
source "package/python-fire/Config.in"
source "package/python-flask/Config.in"
diff --git a/package/python-fastui/Config.in b/package/python-fastui/Config.in
new file mode 100644
index 0000000000..9b73544dab
--- /dev/null
+++ b/package/python-fastui/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_PYTHON_FASTUI
+ bool "python-fastui"
+ depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-pydantic -> python-pydantic-core
+ select BR2_PACKAGE_PYTHON_EMAIL_VALIDATOR # runtime
+ select BR2_PACKAGE_PYTHON_PYDANTIC # runtime
+ help
+ Build better UIs faster.
+
+ https://github.com/pydantic/FastUI
diff --git a/package/python-fastui/python-fastui.hash b/package/python-fastui/python-fastui.hash
new file mode 100644
index 0000000000..50f49824e0
--- /dev/null
+++ b/package/python-fastui/python-fastui.hash
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/fastui/json
+md5 c8e7d060c0ad3a7ad1237dac3555b83e fastui-0.5.2.tar.gz
+sha256 854a7a7fce4c08efd9caff1a331d222007b3708b133d996528e3f40996c96091 fastui-0.5.2.tar.gz
+# Locally computed sha256 checksums
+sha256 1c39900853b2c98a5c98e1acc10e54ef06ba2693cdf85e8b28e3ede658888d79 LICENSE
diff --git a/package/python-fastui/python-fastui.mk b/package/python-fastui/python-fastui.mk
new file mode 100644
index 0000000000..e143c9978c
--- /dev/null
+++ b/package/python-fastui/python-fastui.mk
@@ -0,0 +1,15 @@
+################################################################################
+#
+# python-fastui
+#
+################################################################################
+
+PYTHON_FASTUI_VERSION = 0.5.2
+PYTHON_FASTUI_SOURCE = fastui-$(PYTHON_FASTUI_VERSION).tar.gz
+PYTHON_FASTUI_SITE = https://files.pythonhosted.org/packages/64/11/515c9b5cb6e885f4ba8c325f75b95a754d99b8296bdc9f134dc90a79019f
+PYTHON_FASTUI_SETUP_TYPE = pep517
+PYTHON_FASTUI_LICENSE = MIT
+PYTHON_FASTUI_LICENSE_FILES = LICENSE
+PYTHON_FASTUI_DEPENDENCIES = host-python-hatchling
+
+$(eval $(python-package))
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
reply other threads:[~2024-05-12 10:11 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20240512101123.4A78F8707B@busybox.osuosl.org \
--to=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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).