package/python-rich: new package

Signed-off-by: Fiona Klute (WIWA) <fiona.klute@gmx.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fiona Klute (WIWA)
2025-08-11 18:18:07 +02:00
committed by Thomas Petazzoni
parent a8c7517320
commit 26bc4b51a8
5 changed files with 30 additions and 0 deletions

View File

@@ -1125,6 +1125,7 @@ F: package/python-mdurl/
F: package/python-platformdirs/
F: package/python-pyasynchat/
F: package/python-pyasyncore/
F: package/python-rich/
F: support/testing/tests/package/sample_python_networkmanager_goi.py
F: support/testing/tests/package/sample_python_pyroute2.py
F: support/testing/tests/package/test_nftables.py

View File

@@ -1371,6 +1371,7 @@ menu "External python modules"
source "package/python-requests-toolbelt/Config.in"
source "package/python-rfc3987/Config.in"
source "package/python-rgbmatrix/Config.in"
source "package/python-rich/Config.in"
source "package/python-rpds-py/Config.in"
source "package/python-rpi-gpio/Config.in"
source "package/python-rpi-ws281x/Config.in"

View File

@@ -0,0 +1,9 @@
config BR2_PACKAGE_PYTHON_RICH
bool "python-rich"
select BR2_PACKAGE_PYTHON_MARKDOWN_IT_PY # runtime
select BR2_PACKAGE_PYTHON_PYGMENTS # runtime
help
Render rich text, tables, progress bars, syntax
highlighting, markdown and more to the terminal.
https://github.com/Textualize/rich

View File

@@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/rich/json
md5 38baf395e7860be314c6c29fcac8637d rich-14.1.0.tar.gz
sha256 e497a48b844b0320d45007cdebfeaeed8db2a4f4bcf49f15e455cfc4af11eaa8 rich-14.1.0.tar.gz
# Locally computed sha256 checksums
sha256 deed7c17a4318158190a3ea239cc879a5a50271cebb98ae7025f48fbe58dca15 LICENSE

View File

@@ -0,0 +1,14 @@
################################################################################
#
# python-rich
#
################################################################################
PYTHON_RICH_VERSION = 14.1.0
PYTHON_RICH_SOURCE = rich-$(PYTHON_RICH_VERSION).tar.gz
PYTHON_RICH_SITE = https://files.pythonhosted.org/packages/fe/75/af448d8e52bf1d8fa6a9d089ca6c07ff4453d86c65c145d0a300bb073b9b
PYTHON_RICH_SETUP_TYPE = poetry
PYTHON_RICH_LICENSE = MIT
PYTHON_RICH_LICENSE_FILES = LICENSE
$(eval $(python-package))