Name: python-rich-toolkit Version: 0.11.3 Release: %autorelease Summary: Rich toolkit for building command-line applications # SPDX License: MIT URL: https://github.com/patrick91/rich-toolkit Source: %{pypi_source rich_toolkit} BuildArch: noarch BuildRequires: python3-devel # Testing dependencies; these are included in tool.uv.dev-dependencies in # pyproject.toml, but this also includes a number of dependencies that are only # used for debugging, typechecking, running the examples, etc.; we therefore # maintain this list manually rather than attempting to generate it. BuildRequires: %{py3_dist pytest} >= 8.3.2 BuildRequires: %{py3_dist inline-snapshot} >= 0.12.1 %global common_description %{expand: This is a very opinionated set of components for building CLI applications. It is based on Rich.} %description %common_description %package -n python3-rich-toolkit Summary: %{summary} %description -n python3-rich-toolkit %common_description %prep %autosetup -n rich_toolkit-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l rich_toolkit %check %pytest -v %files -n python3-rich-toolkit -f %{pyproject_files} %doc README.md %doc examples/ %changelog %autochangelog