|
|
70a8475 |
%global upstream_name blessings
|
|
|
70a8475 |
|
|
|
70a8475 |
|
|
|
70a8475 |
Name: python-%{upstream_name}
|
|
|
2734763 |
Version: 1.7
|
|
|
3585e75 |
Release: 13%{?dist}
|
|
|
70a8475 |
Summary: Python library for terminal coloring, styling, and positioning
|
|
|
70a8475 |
License: MIT
|
|
|
70a8475 |
URL: https://github.com/erikrose/blessings
|
|
|
2734763 |
Source0: https://files.pythonhosted.org/packages/source/b/%{upstream_name}/%{upstream_name}-%{version}.tar.gz
|
|
|
70a8475 |
# https://github.com/erikrose/blessings/issues/25
|
|
|
2734763 |
Patch1: 0001-fix-tests-when-run-without-a-tty-fixes-25.patch
|
|
|
2734763 |
Patch2: 0002-more-fixes-for-tests-without-a-tty.patch
|
|
|
70a8475 |
BuildArch: noarch
|
|
|
70a8475 |
|
|
|
70a8475 |
%description
|
|
|
70a8475 |
Blessings is a thin, practical wrapper around terminal coloring, styling, and
|
|
|
70a8475 |
positioning in Python.
|
|
|
70a8475 |
|
|
|
70a8475 |
%package -n python3-%{upstream_name}
|
|
|
49d97fd |
Summary: Python 3 library for terminal coloring, styling, and positioning
|
|
|
cf962bd |
%{?python_provide:%python_provide python3-%{upstream_name}}
|
|
|
49d97fd |
BuildRequires: python3-devel
|
|
|
49d97fd |
BuildRequires: python3-setuptools
|
|
|
49d97fd |
BuildRequires: python3-nose
|
|
|
9392f20 |
BuildRequires: python3-six
|
|
|
9392f20 |
Requires: python3-six
|
|
|
70a8475 |
|
|
|
70a8475 |
%description -n python3-%{upstream_name}
|
|
|
70a8475 |
Blessings is a thin, practical wrapper around terminal coloring, styling, and
|
|
|
70a8475 |
positioning in Python.
|
|
|
70a8475 |
|
|
|
70a8475 |
%prep
|
|
|
70a8475 |
%setup -q -n %{upstream_name}-%{version}
|
|
|
2734763 |
%patch1 -p1
|
|
|
2734763 |
%patch2 -p1
|
|
|
70a8475 |
rm -rf blessings.egg-info
|
|
|
70a8475 |
|
|
|
70a8475 |
%build
|
|
|
2734763 |
%py3_build
|
|
|
70a8475 |
|
|
|
70a8475 |
%install
|
|
|
2734763 |
%py3_install
|
|
|
70a8475 |
|
|
|
70a8475 |
%check
|
|
|
2734763 |
nosetests-3 build/lib
|
|
|
70a8475 |
|
|
|
70a8475 |
%files -n python3-%{upstream_name}
|
|
|
49d97fd |
%doc README.rst
|
|
|
49d97fd |
%license LICENSE
|
|
|
70a8475 |
%{python3_sitelib}/blessings
|
|
|
70a8475 |
%{python3_sitelib}/blessings*.egg-info
|
|
|
70a8475 |
|
|
|
70a8475 |
%changelog
|
|
|
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
|