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))