2018-08-28 20:54:36 +00:00
|
|
|
%bcond_without tests
|
2016-01-06 23:05:13 +00:00
|
|
|
|
|
|
|
%global pypi_name wcwidth
|
|
|
|
|
|
|
|
Name: python-%{pypi_name}
|
2023-09-05 10:08:40 +00:00
|
|
|
Version: 0.2.6
|
2024-10-29 16:09:41 +00:00
|
|
|
Release: 6%{?dist}
|
2016-01-06 23:05:13 +00:00
|
|
|
Summary: Measures number of Terminal column cells of wide-character codes
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
URL: https://github.com/jquast/wcwidth
|
2018-08-28 20:54:36 +00:00
|
|
|
Source0: %pypi_source
|
2016-01-06 23:05:13 +00:00
|
|
|
BuildArch: noarch
|
2020-03-28 15:40:23 +00:00
|
|
|
|
2016-01-06 23:05:13 +00:00
|
|
|
%description
|
|
|
|
This API is mainly for Terminal Emulator implementors, or those writing programs
|
|
|
|
that expect to interpreted by a terminal emulator and wish to determine the
|
|
|
|
printable width of a string on a Terminal.
|
|
|
|
|
|
|
|
%package -n python3-%{pypi_name}
|
2018-08-28 20:54:36 +00:00
|
|
|
Summary: %{summary}
|
2016-12-13 07:52:16 +00:00
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
%if %{with tests}
|
2018-08-28 20:54:36 +00:00
|
|
|
BuildRequires: python3-pytest
|
|
|
|
%endif
|
2016-01-06 23:05:13 +00:00
|
|
|
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
|
|
|
|
|
%description -n python3-%{pypi_name}
|
|
|
|
This API is mainly for Terminal Emulator implementors, or those writing programs
|
|
|
|
that expect to interpreted by a terminal emulator and wish to determine the
|
|
|
|
printable width of a string on a Terminal.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{pypi_name}-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
%install
|
2016-12-13 07:52:16 +00:00
|
|
|
%py3_install
|
2016-01-06 23:05:13 +00:00
|
|
|
|
2016-12-13 07:52:16 +00:00
|
|
|
%if %{with tests}
|
2016-01-06 23:05:13 +00:00
|
|
|
%check
|
2018-08-28 20:54:36 +00:00
|
|
|
%{__python3} -m pytest -v
|
2020-03-28 15:40:23 +00:00
|
|
|
%endif
|
2016-01-06 23:05:13 +00:00
|
|
|
|
2020-03-28 15:40:23 +00:00
|
|
|
%files -n python3-%{pypi_name}
|
2016-01-06 23:05:13 +00:00
|
|
|
%doc README.rst
|
2020-06-02 16:57:25 +00:00
|
|
|
%license LICENSE
|
2016-01-06 23:05:13 +00:00
|
|
|
%{python3_sitelib}/%{pypi_name}
|
2020-07-13 19:04:42 +00:00
|
|
|
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
|
2016-01-06 23:05:13 +00:00
|
|
|
|
|
|
|
%changelog
|
2024-10-29 16:09:41 +00:00
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.2.6-6
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
2024-09-25 21:08:51 +00:00
|
|
|
* Wed Sep 25 2024 Bryan Gurney <bgurney@redhat.com> - 0.2.6-5
|
|
|
|
- Add gating test
|
|
|
|
- Resolves: RHEL-59856
|
|
|
|
|
2024-06-24 16:20:25 +00:00
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.2.6-4
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
2024-01-26 12:50:15 +00:00
|
|
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2024-01-22 08:58:15 +00:00
|
|
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2023-09-05 10:08:40 +00:00
|
|
|
* Tue Sep 05 2023 Tomáš Hrnčiar <thrnciar@redhat.com> - 0.2.6-1
|
|
|
|
- Update to 0.2.6
|
|
|
|
- Fixes: rhbz#2161160
|
|
|
|
|
2023-07-21 15:16:22 +00:00
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.5-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-06-16 06:20:02 +00:00
|
|
|
* Fri Jun 16 2023 Python Maint <python-maint@redhat.com> - 0.2.5-13
|
|
|
|
- Rebuilt for Python 3.12
|
|
|
|
|
2023-06-13 18:57:25 +00:00
|
|
|
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.2.5-12
|
|
|
|
- Bootstrap for Python 3.12
|
|
|
|
|
2023-01-20 18:22:02 +00:00
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.5-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-07-22 23:24:07 +00:00
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.5-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-06-13 15:17:12 +00:00
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.2.5-9
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
2022-06-13 13:34:07 +00:00
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.2.5-8
|
|
|
|
- Bootstrap for Python 3.11
|
|
|
|
|
2022-01-21 16:27:19 +00:00
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.5-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-27 08:35:00 +00:00
|
|
|
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.5-6
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-06-04 08:34:33 +00:00
|
|
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.2.5-5
|
|
|
|
- Rebuilt for Python 3.10
|
|
|
|
|
2021-06-02 14:30:19 +00:00
|
|
|
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 0.2.5-4
|
|
|
|
- Bootstrap for Python 3.10
|
|
|
|
|
2021-01-27 14:09:47 +00:00
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.5-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-29 04:36:03 +00:00
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-01 10:56:58 +00:00
|
|
|
* Wed Jul 01 2020 Charalampos Stratakis <cstratak@redhat.com> - 0.2.5-1
|
|
|
|
- Update to 0.2.5 (#1850238)
|
|
|
|
|
2020-06-20 05:19:02 +00:00
|
|
|
* Fri Jun 19 2020 Avram Lubkin <aviso@rockhopper.net> - 0.2.4-1
|
|
|
|
- Update to 0.2.4
|
|
|
|
|
2020-06-02 16:57:25 +00:00
|
|
|
* Tue Jun 02 2020 Avram Lubkin <aviso@rockhopper.net> - 0.2.3-1
|
|
|
|
- Update to 0.2.3
|
|
|
|
|
2020-05-24 19:22:14 +00:00
|
|
|
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 0.1.9-3
|
|
|
|
- Rebuilt for Python 3.9
|
|
|
|
|
2020-05-22 12:34:18 +00:00
|
|
|
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 0.1.9-2
|
|
|
|
- Bootstrap for Python 3.9
|
|
|
|
|
2020-03-28 15:40:23 +00:00
|
|
|
* Sat Mar 28 2020 Avram Lubkin <aviso@rockhopper.net> - 0.1.9-1
|
|
|
|
- Update to 0.1.9
|
|
|
|
|
2020-01-30 16:10:04 +00:00
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.7-15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-10-03 12:35:39 +00:00
|
|
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.1.7-14
|
|
|
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
|
|
2019-08-18 12:59:39 +00:00
|
|
|
* Sun Aug 18 2019 Miro Hrončok <mhroncok@redhat.com> - 0.1.7-13
|
|
|
|
- Rebuilt for Python 3.8
|
|
|
|
|
2019-08-15 12:03:21 +00:00
|
|
|
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 0.1.7-12
|
|
|
|
- Bootstrap for Python 3.8
|
|
|
|
|
2019-07-26 17:02:55 +00:00
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.7-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-03-13 00:11:09 +00:00
|
|
|
* Wed Mar 13 2019 Miro Hrončok <mhroncok@redhat.com> - 0.1.7-10
|
|
|
|
- Subpackage python2-wcwidth has been removed
|
|
|
|
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
|
|
2019-02-02 10:00:31 +00:00
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.7-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-14 02:35:57 +00:00
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.7-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-06-19 09:24:02 +00:00
|
|
|
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.1.7-7
|
|
|
|
- Rebuilt for Python 3.7
|
|
|
|
|
2018-02-28 04:29:42 +00:00
|
|
|
* Wed Feb 28 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.1.7-6
|
|
|
|
- Update Python 2 dependency declarations to new packaging standards
|
|
|
|
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
|
|
2018-02-09 11:36:33 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.7-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-07-27 12:14:38 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.7-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-11 10:53:25 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.7-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-12-19 17:20:38 +00:00
|
|
|
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.1.7-2
|
|
|
|
- Rebuild for Python 3.6
|
|
|
|
|
2016-12-13 07:52:16 +00:00
|
|
|
* Tue Dec 13 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 0.1.7-1
|
|
|
|
- Update to 0.1.7
|
|
|
|
|
2016-07-19 12:07:44 +00:00
|
|
|
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.6-4
|
|
|
|
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
|
|
2016-02-04 21:20:15 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.6-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2016-12-13 07:52:16 +00:00
|
|
|
* Tue Jan 12 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 0.1.6-2
|
2016-01-12 10:28:24 +00:00
|
|
|
- Provide python-wcwidth for EL6
|
|
|
|
|
2016-12-13 07:52:16 +00:00
|
|
|
* Sat Jan 09 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 0.1.6-1
|
2016-01-08 23:21:12 +00:00
|
|
|
- Update to new upstream
|
|
|
|
- Remove external LICENSE thanks to the new version
|
|
|
|
|
2016-12-13 07:52:16 +00:00
|
|
|
* Wed Jan 06 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 0.1.5-2
|
2016-01-06 23:05:13 +00:00
|
|
|
- Remove shabang from file that was not executable
|
|
|
|
|
2016-12-13 07:52:16 +00:00
|
|
|
* Tue Dec 29 2015 Fabio Alessandro Locati <fale@fedoraproject.org> - 0.1.5-1
|
2016-01-06 23:05:13 +00:00
|
|
|
- Initial package.
|