forked from pool/python-rich
- update to 13.9.4:
* Optimizations to cell_len which may speed up Rich / Textual output https://github.com/Textualize/rich/pull/3546 - update to 13.9.3: * Fix a broken regex that resulted in the slow path being chosen for some operations. This fix should result in notable speedups for some operations, such as wrapping text. * Fixed broken regex that may have resulted in poor performance. https://github.com/Textualize/rich/pull/3535 - update to 13.9.2: * A hotfix for highlighting in the table, and a fix for `Segment.split_cells` * Fixed `Table` columns not highlighting when added by `add_row` https://github.com/Textualize/rich/issues/3517 * Fixed an issue with Segment.split_cells reported in Textual https://github.com/Textualize/textual/issues/5090 - update to 13.9.1: * Fixed typing_extensions dependency - update to 13.9.0: * Dropped support for Python3.7 * Rich will display tracebacks with finely grained error locations on python 3.11+ * Fixed issue with Segment._split_cells * Fix auto detection of terminal size on Windows * `Text.style` now respected in Panel title/subtitle - update to 13.8.1: * Added support for Python 3.13 * Fixed infinite loop when appending Text to same instance - update to 13.8.0: * Fixed `Table` rendering of box elements so "footer" elements OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=61
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
1018
python-rich.changes
Normal file
1018
python-rich.changes
Normal file
File diff suppressed because it is too large
Load Diff
72
python-rich.spec
Normal file
72
python-rich.spec
Normal file
@@ -0,0 +1,72 @@
|
||||
#
|
||||
# spec file for package python-rich
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2020-2021, Martin Hauke <mardnh@gmx.de>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-rich
|
||||
Version: 13.9.4
|
||||
Release: 0
|
||||
Summary: A Python library for rich text and beautiful formatting in the terminal
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/Textualize/rich
|
||||
Source: https://files.pythonhosted.org/packages/source/r/rich/rich-%{version}.tar.gz
|
||||
BuildRequires: %{python_module dataclasses >= 0.7 if %python-base < 3.7}
|
||||
BuildRequires: %{python_module markdown-it-py >= 2.2.0}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module poetry-core}
|
||||
BuildRequires: %{python_module pygments >= 2.13.0}
|
||||
BuildRequires: %{python_module typing_extensions >= 4.0.0 if %python-base < 3.9}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-markdown-it-py >= 2.2.0
|
||||
Requires: python-pygments >= 2.13.0
|
||||
Suggests: python-ipywidgets >= 7.5.1
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module pytest}
|
||||
# /SECTION
|
||||
%if 0%{?python_version_nodots} < 39
|
||||
Requires: python-typing_extensions >= 4.0.0
|
||||
%endif
|
||||
%if 0%{?python_version_nodots} < 37
|
||||
Requires: python-dataclasses >= 0.7
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Render rich text, tables, progress bars, syntax highlighting,
|
||||
markdown and more to the terminal.
|
||||
|
||||
%prep
|
||||
%setup -q -n rich-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{python_sitelib}/rich
|
||||
%{python_sitelib}/rich-%{version}*-info
|
||||
|
||||
%changelog
|
BIN
rich-13.7.1.tar.gz
(Stored with Git LFS)
Normal file
BIN
rich-13.7.1.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
3
rich-13.9.4.tar.gz
Normal file
3
rich-13.9.4.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:439594978a49a09530cff7ebc4b5c7103ef57baf48d5ea3184f21d9a2befa098
|
||||
size 223149
|
Reference in New Issue
Block a user