View | Details | Raw Unified | Return to bug 42612
Collapse All | Expand All

(-)a/.gear/python3-module-rich.spec (+45 lines)
Line 0 Link Here
1
%global modname rich
2
3
Summary: Render rich text and beautiful formatting in the terminal
4
Name: python3-module-%modname
5
Version: 12.2.0
6
Release: alt1
7
Url: https://github.com/willmcgugan/rich
8
# Download from https://pypi.org/project/rich
9
Source: %name-%version.tar
10
License: MIT
11
Group: Development/Python3
12
13
BuildArch: noarch
14
BuildRequires(pre): rpm-build-python3
15
BuildRequires: python3-devel
16
BuildRequires: python3-module-setuptools
17
18
%description
19
Rich is a Python library for rich text and beautiful formatting in the terminal.
20
The Rich API makes it easy to add color and style to terminal output. Rich can
21
also render pretty tables, progress bars, markdown, syntax highlighted source
22
code, tracebacks, and more - out of the box.
23
24
%prep
25
%setup -n %name-%version
26
27
%build
28
%python3_build
29
30
%install
31
%python3_install
32
33
%files
34
%doc LICENSE README *.md
35
%python3_sitelibdir/*
36
37
%changelog
38
* Tue Apr 26 2022 Andrei Iakunin <iakuninaa@altlinux.org> 12.2.0-alt1
39
- changing version to 12.2.0
40
41
* Tue Apr 26 2022 Andrei Iakunin <iakuninaa@altlinux.org> 10.16.2-alt1
42
- changing version to 10.16.2
43
44
* Sun Sep 06 2020 Alexey Shabalin <shaba@altlinux.org> 6.0.0-alt1
45
- Initial build.
(-)a/.gear/rules (+2 lines)
Line 0 Link Here
1
spec: .gear/python3-module-rich.spec
2
tar: . name=@name@-@version@
(-)a/setup.py (-1 / +3 lines)
Lines 5-8 Link Here
5
import setuptools
5
import setuptools
6
6
7
if __name__ == "__main__":
7
if __name__ == "__main__":
8
    setuptools.setup(name="rich")
8
    setuptools.setup(name="rich",
9
                     packages=['rich'],
10
                     package_dir = {'rich': 'rich'})

Return to bug 42612