14
0
forked from pool/python-rich

Accepting request 866562 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/866562
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rich?expand=0&rev=11
This commit is contained in:
2021-01-25 17:24:57 +00:00
committed by Git OBS Bridge
4 changed files with 75 additions and 11 deletions

View File

@@ -1,3 +1,65 @@
-------------------------------------------------------------------
Mon Jan 25 10:30:46 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Update to version 9.9.0
Changed
* Extended Windows palette to 16 colors
* Modified windows palette to Windows 10 colors
* Change regex for attrib_name to be more performant
* Optimized traceback generation
Fixed
* Fix double line tree guides on Windows
* Fixed Tracebacks ignoring initial blank lines
* Partial fix for tracebacks not finding source after chdir
Added
* Added post_style argument to Segment.apply_style
- Changelog for 9.8.2
* Fixed deadlock in live #927
- Changelog for 9.8.1
* Fixed rich.inspect failing with attributes that claim to be
callable but aren't #916
- Changelog for 9.8.0
Added
* Added rich_measure for tree
* Added rich.align.VerticalCenter
Changed
* The style argument on Align now applies to background only
* Changed display of progress bars in no_color mode for
clarity
* Console property size will fall back to getting the
terminal size of stdout it stdin fails, this allows size
to be correctly determined when piping
Fixed
* Fixed panel cropping when shrunk too bar
* Allow passing markdown over STDIN when using python -m
rich.markdown
* Fix printing MagicMock.mock_calls #903
- Changelog for 9.7.0
* Added rich.tree
* Added no_color argument to Console
- Changelog for 9.6.2
* Fixed markup escaping edge case #878
* Double tag escape, i.e. "\\[foo]" results in a
backslash plus [foo] tag
* Fixed header_style not applying to headers in
positional args #953
- Changelog for 9.6.1
* Fixed encoding error on Windows when loading code for
Tracebacks
- Changelog for 9.6.0
Changed
* MarkupError exception raise from None to omit internal
exception
* Factored out RichHandler.render and
RichHandler.render_message for easier extending
* Display pretty printed value in rich.inspect
Added
* Added Progress.TimeElapsedColumn
* Added IPython support to pretty.install
Fixed
* Fixed display of locals in Traceback for stdin
- Add dataclasses BuildRequires for python 3.6 builds
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Dec 18 19:46:52 UTC 2020 - Martin Hauke <mardnh@gmx.de> Fri Dec 18 19:46:52 UTC 2020 - Martin Hauke <mardnh@gmx.de>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-rich # spec file for package python-rich
# #
# Copyright (c) 2020 SUSE LLC # Copyright (c) 2021 SUSE LLC
# Copyright (c) 2020, Martin Hauke <mardnh@gmx.de> # Copyright (c) 2020, Martin Hauke <mardnh@gmx.de>
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@@ -20,29 +20,31 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1 %define skip_python2 1
Name: python-rich Name: python-rich
Version: 9.5.1 Version: 9.9.0
Release: 0 Release: 0
Summary: A Python library for rich text and beautiful formatting in the terminal Summary: A Python library for rich text and beautiful formatting in the terminal
License: MIT License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/willmcgugan/rich URL: https://github.com/willmcgugan/rich
Source: https://github.com/willmcgugan/rich/archive/v%{version}.tar.gz#/rich-%{version}.tar.gz Source: https://github.com/willmcgugan/rich/archive/v%{version}.tar.gz#/rich-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry-core}
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module colorama >= 0.4.3} BuildRequires: %{python_module colorama >= 0.4.3}
BuildRequires: %{python_module commonmark >= 0.9.1} BuildRequires: %{python_module commonmark >= 0.9.1}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry-core}
BuildRequires: %{python_module pygments >= 2.6.0} BuildRequires: %{python_module pygments >= 2.6.0}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module typing_extensions >= 3.7.4} BuildRequires: %{python_module typing_extensions >= 3.7.4}
BuildRequires: python-rpm-macros
BuildRequires: (python3-dataclasses >= 0.7 if python3-base < 3.7 else python36-dataclasses >= 0.7)
# SECTION test requirements
BuildRequires: %{python_module pytest}
# /SECTION # /SECTION
BuildRequires: fdupes BuildRequires: fdupes
Requires: python-colorama >= 0.4.3 Requires: python-colorama >= 0.4.3
Requires: python-commonmark >= 0.9.1 Requires: python-commonmark >= 0.9.1
Requires: python-pygments >= 2.6.0 Requires: python-pygments >= 2.6.0
Requires: python-typing_extensions >= 3.7.4 Requires: python-typing_extensions >= 3.7.4
%if %{python_version_nodots} < 37 Suggests: python-ipywidgets
%if 0%{?python_version_nodots} < 37
Requires: python-dataclasses >= 0.7 Requires: python-dataclasses >= 0.7
%endif %endif
BuildArch: noarch BuildArch: noarch

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e91d52ecfea9a081aedc81a972b0d8e3c9d36d431ad3311986e3f279fb8d2dc4
size 13680022

3
rich-9.9.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bde18ac2b1506d2f5d4da7a0c65db650f72f4e9cabd68a0b0030db63b8c2fb68
size 14025857