-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpython-yaspin.spec
66 lines (51 loc) · 1.74 KB
/
python-yaspin.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
%global srcname yaspin
Name: python-yaspin
Version: 0.14.0
Release: 4%{?dist}
License: MIT
URL: https://pypi.org/project/yaspin
Source0: https://github.com/pavdmyt/yaspin/archive/v%{version}.tar.gz
BuildArch: noarch
Summary: Python library for terminal spinners
%description
Yet Another Terminal Spinner for Python.
Yaspin provides a full-featured terminal spinner to show the progress
during long-hanging operations.
%package -n python3-%{srcname}
Summary: %{summary}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pytest
%{?python_provide:%python_provide python3-%{srcname}}
%description -n python3-%{srcname}
Yet Another Terminal Spinner for Python.
Yaspin provides a full-featured terminal spinner to show the progress
during long-hanging operations.
%prep
%autosetup -n %{srcname}-%{version}
%build
%py3_build
%install
%py3_install
%check
# some tests are skipped because they are generated, some combinations are not supported use cases
#example: tests/test_in_out.py::test_compose_out_with_color[None-''-bold] SKIPPED
%{__python3} -m pytest
%files -n python3-%{srcname}
%license LICENSE
%doc README.rst
%{python3_sitelib}/%{srcname}-*.egg-info/
%{python3_sitelib}/%{srcname}/
%changelog
* Mon Jan 14 2019 Patrik Kopkan <[email protected]> - 0.14.0.4
- fixed typo
* Fri Jan 11 2019 Patrik Kopkan <[email protected]> - 0.14.0-4
- added BuildRequires
- changed tabs to spaces
* Thu Jan 10 2019 Patrik Kopkan <[email protected]> - 0.14.0-3
- fixed typo
- deleted Requires
* Wed Jan 9 2019 Patrik Kopkan <[email protected]> - 0.14.0-2
- added BuildRequires
* Tue Jan 8 2019 Patrik Kopkan <[email protected]> - 0.14.0-1
- created package