forked from pool/python-rich
- Switch to GitHub tarball so we can run the testsuite.
- Correct version guard for typing_extensions Requires. - Drop Python 3.7 sections. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=64
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 5 01:45:25 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Switch to GitHub tarball so we can run the testsuite.
|
||||||
|
- Correct version guard for typing_extensions Requires.
|
||||||
|
- Drop Python 3.7 sections.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 20 17:44:21 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Wed Nov 20 17:44:21 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -23,15 +23,14 @@ Version: 13.9.4
|
|||||||
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
|
|
||||||
URL: https://github.com/Textualize/rich
|
URL: https://github.com/Textualize/rich
|
||||||
Source: https://files.pythonhosted.org/packages/source/r/rich/rich-%{version}.tar.gz
|
Source: https://github.com/Textualize/rich/archive/refs/tags/v%{version}.tar.gz#/rich-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module dataclasses >= 0.7 if %python-base < 3.7}
|
BuildRequires: %{python_module base >= 3.8}
|
||||||
BuildRequires: %{python_module markdown-it-py >= 2.2.0}
|
BuildRequires: %{python_module markdown-it-py >= 2.2.0}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module poetry-core}
|
BuildRequires: %{python_module poetry-core}
|
||||||
BuildRequires: %{python_module pygments >= 2.13.0}
|
BuildRequires: %{python_module pygments >= 2.13.0}
|
||||||
BuildRequires: %{python_module typing_extensions >= 4.0.0 if %python-base < 3.9}
|
BuildRequires: %{python_module typing_extensions >= 4.0.0 if %python-base < 3.11}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-markdown-it-py >= 2.2.0
|
Requires: python-markdown-it-py >= 2.2.0
|
||||||
@@ -41,12 +40,9 @@ BuildArch: noarch
|
|||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
%if 0%{?python_version_nodots} < 39
|
%if 0%{?python_version_nodots} < 311
|
||||||
Requires: python-typing_extensions >= 4.0.0
|
Requires: python-typing_extensions >= 4.0.0
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?python_version_nodots} < 37
|
|
||||||
Requires: python-dataclasses >= 0.7
|
|
||||||
%endif
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -63,10 +59,13 @@ markdown and more to the terminal.
|
|||||||
%pyproject_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%pytest
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%{python_sitelib}/rich
|
%{python_sitelib}/rich
|
||||||
%{python_sitelib}/rich-%{version}*-info
|
%{python_sitelib}/rich-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
BIN
rich-13.9.4.tar.gz
(Stored with Git LFS)
BIN
rich-13.9.4.tar.gz
(Stored with Git LFS)
Binary file not shown.
Reference in New Issue
Block a user