From 4d7cf1c1e2bbf4dde178cadf88f94afd226d75f4 Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Mon, 11 Mar 2024 17:12:31 -0600 Subject: [PATCH] package/python-fastui: new package Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- 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(+) create mode 100644 package/python-fastui/Config.in create mode 100644 package/python-fastui/python-fastui.hash create mode 100644 package/python-fastui/python-fastui.mk 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))