Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:yarunachalam:branches:devel:languages:python
python-rich
python-rich.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-rich.spec of Package python-rich
# # spec file for package python-rich # # Copyright (c) 2022 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/ # %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 # https://github.com/Textualize/rich/issues/2410 %define commit cde23ed0a1ecad8c63436148c7e1fb6f0073fca8 Name: python-rich Version: 12.5.1 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/willmcgugan/rich Source: https://github.com/willmcgugan/rich/archive/%{commit}.tar.gz#/rich-%{version}.tar.gz BuildRequires: %{python_module commonmark >= 0.9.0} BuildRequires: %{python_module dataclasses >= 0.7 if %python-base < 3.7} BuildRequires: %{python_module pip} BuildRequires: %{python_module poetry-core} BuildRequires: %{python_module pygments >= 2.6.0} BuildRequires: %{python_module typing_extensions >= 4.0.0 if %python-base < 3.9} BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module pytest} # /SECTION BuildRequires: fdupes Requires: python-commonmark >= 0.9.0 Requires: python-pygments >= 2.6.0 Suggests: python-ipywidgets >= 7.5.1 %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 BuildArch: noarch %python_subpackages %description Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal. %prep %setup -q -n rich-%{commit} %build %pyproject_wheel %install %pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %pytest -k 'not test_log' %files %{python_files} %license LICENSE %doc CHANGELOG.md README.md %{python_sitelib}/rich %{python_sitelib}/rich-%{version}*-info %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor