|
|
311584b |
%if %{defined fedora}
|
|
|
311584b |
# nose not available in epel9
|
|
|
311584b |
%bcond_without tests
|
|
|
311584b |
%endif
|
|
|
311584b |
|
|
|
953da82 |
Name: python-blessings
|
|
|
2734763 |
Version: 1.7
|
|
|
953da82 |
Release: 18%{?dist}
|
|
|
953da82 |
Summary: Thin, practical wrapper around terminal coloring, styling, and positioning
|
|
|
70a8475 |
License: MIT
|
|
|
70a8475 |
URL: https://github.com/erikrose/blessings
|
|
|
953da82 |
Source: %{pypi_source blessings}
|
|
|
70a8475 |
# https://github.com/erikrose/blessings/issues/25
|
|
|
953da82 |
Patch: 0001-fix-tests-when-run-without-a-tty-fixes-25.patch
|
|
|
953da82 |
Patch: 0002-more-fixes-for-tests-without-a-tty.patch
|
|
|
70a8475 |
BuildArch: noarch
|
|
|
70a8475 |
|
|
|
953da82 |
%global _description %{expand:
|
|
|
953da82 |
Blessings lifts several of curses' limiting assumptions, and it makes your code
|
|
|
953da82 |
pretty, too:
|
|
|
953da82 |
|
|
|
953da82 |
* Use styles, color, and maybe a little positioning without necessarily
|
|
|
953da82 |
clearing the whole screen first.
|
|
|
953da82 |
* Leave more than one screenful of scrollback in the buffer after your program
|
|
|
953da82 |
exits, like a well-behaved command-line app should.
|
|
|
953da82 |
* Get rid of all those noisy, C-like calls to tigetstr and tparm, so your code
|
|
|
953da82 |
does not get crowded out by terminal bookkeeping.
|
|
|
953da82 |
* Act intelligently when somebody redirects your output to a file, omitting the
|
|
|
953da82 |
terminal control codes the user does not want to see (optional).}
|
|
|
70a8475 |
|
|
|
953da82 |
%description %{_description}
|
|
|
953da82 |
|
|
|
953da82 |
%package -n python3-blessings
|
|
|
953da82 |
Summary: %{summary}
|
|
|
49d97fd |
BuildRequires: python3-devel
|
|
|
70a8475 |
|
|
|
953da82 |
%description -n python3-blessings %{_description}
|
|
|
70a8475 |
|
|
|
70a8475 |
%prep
|
|
|
953da82 |
%autosetup -p 1 -n blessings-%{version}
|
|
|
953da82 |
|
|
|
953da82 |
%generate_buildrequires
|
|
|
311584b |
%pyproject_buildrequires %{?with_tests:-t}
|
|
|
70a8475 |
|
|
|
70a8475 |
%build
|
|
|
953da82 |
%pyproject_wheel
|
|
|
70a8475 |
|
|
|
70a8475 |
%install
|
|
|
953da82 |
%pyproject_install
|
|
|
953da82 |
%pyproject_save_files blessings
|
|
|
70a8475 |
|
|
|
70a8475 |
%check
|
|
|
311584b |
%if %{with tests}
|
|
|
953da82 |
%tox
|
|
|
311584b |
%else
|
|
|
311584b |
%pyproject_check_import -e blessings.tests
|
|
|
311584b |
%endif
|
|
|
70a8475 |
|
|
|
953da82 |
%files -n python3-blessings -f %{pyproject_files}
|
|
|
49d97fd |
%doc README.rst
|
|
|
70a8475 |
|
|
|
70a8475 |
%changelog
|
|
|
953da82 |
* Fri Aug 26 2022 Carl George <carl@george.computer> - 1.7-18
|
|
|
953da82 |
- Convert to pyproject macros
|
|
|
953da82 |
|
|
|
38d4017 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-17
|
|
|
38d4017 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
38d4017 |
|
|
|
a0024d6 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.7-16
|
|
|
a0024d6 |
- Rebuilt for Python 3.11
|
|
|
a0024d6 |
|
|
|
32b7de1 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-15
|
|
|
32b7de1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
32b7de1 |
|
|
|
6858a5a |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-14
|
|
|
6858a5a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
6858a5a |
|
|
|
3585e75 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.7-13
|
|
|
3585e75 |
- Rebuilt for Python 3.10
|
|
|
3585e75 |
|
|
|
a6ca4d5 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-12
|
|
|
a6ca4d5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
a6ca4d5 |
|
|
|
9136912 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-11
|
|
|
9136912 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
9136912 |
|
|
|
232d7d8 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.7-10
|
|
|
232d7d8 |
- Rebuilt for Python 3.9
|
|
|
232d7d8 |
|
|
|
85c90fd |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-9
|
|
|
85c90fd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
85c90fd |
|
|
|
3185b8d |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.7-8
|
|
|
3185b8d |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
3185b8d |
|
|
|
b473dc7 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.7-7
|
|
|
b473dc7 |
- Rebuilt for Python 3.8
|
|
|
b473dc7 |
|
|
|
19a94aa |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-6
|
|
|
19a94aa |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
19a94aa |
|
|
|
8ed26fa |
* Thu May 09 2019 Miro Hrončok <mhroncok@redhat.com> - 1.7-5
|
|
|
8ed26fa |
- Subpackage python2-blessings has been removed
|
|
|
8ed26fa |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
8ed26fa |
|
|
|
7fbd520 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-4
|
|
|
7fbd520 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
7fbd520 |
|
|
|
d9a5494 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-3
|
|
|
d9a5494 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
d9a5494 |
|
|
|
9c7cc79 |
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 1.7-2
|
|
|
9c7cc79 |
- Rebuilt for Python 3.7
|
|
|
9c7cc79 |
|
|
|
2734763 |
* Tue Jun 26 2018 Dan Callaghan <dcallagh@redhat.com> - 1.7-1
|
|
|
2734763 |
- Upstream release 1.7 (RHBZ#1594040)
|
|
|
2734763 |
|
|
|
ce980e6 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.5-16
|
|
|
ce980e6 |
- Rebuilt for Python 3.7
|
|
|
ce980e6 |
|
|
|
8d050ec |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-15
|
|
|
8d050ec |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
8d050ec |
|
|
|
dc7d0ba |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-14
|
|
|
dc7d0ba |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
dc7d0ba |
|
|
|
cf962bd |
* Fri Jun 23 2017 Dan Callaghan <dcallagh@redhat.com> - 1.5-13
|
|
|
cf962bd |
- forgot to add %%python_provide macro
|
|
|
cf962bd |
|
|
|
49d97fd |
* Fri Jun 23 2017 Dan Callaghan <dcallagh@redhat.com> - 1.5-12
|
|
|
49d97fd |
- renamed python-blessings to python2-blessings
|
|
|
49d97fd |
|
|
|
4ca265f |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-11
|
|
|
4ca265f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
4ca265f |
|
|
|
4cc55eb |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.5-10
|
|
|
4cc55eb |
- Rebuild for Python 3.6
|
|
|
4cc55eb |
|
|
|
d23595a |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-9
|
|
|
d23595a |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
d23595a |
|
|
|
a23c812 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-8
|
|
|
a23c812 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
a23c812 |
|
|
|
43647ff |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-7
|
|
|
43647ff |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
43647ff |
|
|
|
46a445b |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-6
|
|
|
46a445b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
46a445b |
|
|
|
8bce4bf |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-5
|
|
|
8bce4bf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
8bce4bf |
|
|
|
8029c64 |
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 1.5-4
|
|
|
8029c64 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
|
|
|
8029c64 |
|
|
|
f7087aa |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-3
|
|
|
f7087aa |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
f7087aa |
|
|
|
8589644 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-2
|
|
|
8589644 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
8589644 |
|
|
|
70a8475 |
* Fri Nov 30 2012 Dan Callaghan <dcallagh@redhat.com> - 1.5-1
|
|
|
70a8475 |
- initial version
|