diff --git a/.gitignore b/.gitignore index 3c01b2f..585d938 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/wcwidth-0.1.7.tar.gz +wcwidth-0.2.6.tar.gz diff --git a/.python-wcwidth.metadata b/.python-wcwidth.metadata deleted file mode 100644 index 37d7ff7..0000000 --- a/.python-wcwidth.metadata +++ /dev/null @@ -1 +0,0 @@ -28df2f5e8cd67ec182d822350252fea9bc3a91c8 SOURCES/wcwidth-0.1.7.tar.gz diff --git a/SPECS/python-wcwidth.spec b/python-wcwidth.spec similarity index 52% rename from SPECS/python-wcwidth.spec rename to python-wcwidth.spec index 5c97aa0..c3b871c 100644 --- a/SPECS/python-wcwidth.spec +++ b/python-wcwidth.spec @@ -3,35 +3,30 @@ %global pypi_name wcwidth Name: python-%{pypi_name} -Version: 0.1.7 -Release: 16%{?dist} +Version: 0.2.6 +Release: 4%{?dist} Summary: Measures number of Terminal column cells of wide-character codes License: MIT URL: https://github.com/jquast/wcwidth Source0: %pypi_source BuildArch: noarch -# Exclude i686 arch. Due to a modularity issue it's being added to the -# x86_64 compose of CRB, but we don't want to ship it at all. -# See: https://projects.engineering.redhat.com/browse/RCM-72605 -ExcludeArch: i686 %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 python%{python3_pkgversion}-%{pypi_name} +%package -n python3-%{pypi_name} Summary: %{summary} -BuildRequires: python%{python3_pkgversion}-devel -BuildRequires: python%{python3_pkgversion}-setuptools -BuildRequires: python%{python3_pkgversion}-rpm-macros +BuildRequires: python3-devel +BuildRequires: python3-setuptools %if %{with tests} -BuildRequires: python%{python3_pkgversion}-pytest +BuildRequires: python3-pytest %endif -%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}} +%{?python_provide:%python_provide python3-%{pypi_name}} -%description -n python%{python3_pkgversion}-%{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. @@ -48,24 +43,91 @@ printable width of a string on a Terminal. %if %{with tests} %check %{__python3} -m pytest -v -%endif # with tests +%endif -%files -n python%{python3_pkgversion}-%{pypi_name} +%files -n python3-%{pypi_name} %doc README.rst -%license LICENSE.txt +%license LICENSE %{python3_sitelib}/%{pypi_name} -%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info +%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info %changelog -* Fri Dec 13 2019 Tomas Orsava - 0.1.7-16 -- Exclude unsupported i686 arch +* Mon Jun 24 2024 Troy Dawson - 0.2.6-4 +- Bump release for June 2024 mass rebuild -* Tue Nov 19 2019 Lumír Balhar - 0.1.7-15 -- Adjusted for Python 3.8 module in RHEL 8 +* Fri Jan 26 2024 Fedora Release Engineering - 0.2.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 0.2.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Tue Sep 05 2023 Tomáš Hrnčiar - 0.2.6-1 +- Update to 0.2.6 +- Fixes: rhbz#2161160 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.2.5-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Fri Jun 16 2023 Python Maint - 0.2.5-13 +- Rebuilt for Python 3.12 + +* Tue Jun 13 2023 Python Maint - 0.2.5-12 +- Bootstrap for Python 3.12 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.2.5-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jul 22 2022 Fedora Release Engineering - 0.2.5-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 0.2.5-9 +- Rebuilt for Python 3.11 + +* Mon Jun 13 2022 Python Maint - 0.2.5-8 +- Bootstrap for Python 3.11 + +* Fri Jan 21 2022 Fedora Release Engineering - 0.2.5-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Jul 27 2021 Fedora Release Engineering - 0.2.5-6 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 0.2.5-5 +- Rebuilt for Python 3.10 + +* Wed Jun 02 2021 Python Maint - 0.2.5-4 +- Bootstrap for Python 3.10 + +* Wed Jan 27 2021 Fedora Release Engineering - 0.2.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.2.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jul 01 2020 Charalampos Stratakis - 0.2.5-1 +- Update to 0.2.5 (#1850238) + +* Fri Jun 19 2020 Avram Lubkin - 0.2.4-1 +- Update to 0.2.4 + +* Tue Jun 02 2020 Avram Lubkin - 0.2.3-1 +- Update to 0.2.3 + +* Sun May 24 2020 Miro Hrončok - 0.1.9-3 +- Rebuilt for Python 3.9 + +* Fri May 22 2020 Miro Hrončok - 0.1.9-2 +- Bootstrap for Python 3.9 + +* Sat Mar 28 2020 Avram Lubkin - 0.1.9-1 +- Update to 0.1.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.1.7-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 0.1.7-14 - Rebuilt for Python 3.8.0rc1 (#1748018) -- Resolves: rhbz#1772819 * Sun Aug 18 2019 Miro Hrončok - 0.1.7-13 - Rebuilt for Python 3.8 diff --git a/sources b/sources new file mode 100644 index 0000000..150041e --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (wcwidth-0.2.6.tar.gz) = 0f7be2fcf0a2ef1c357fb3d1f7041a309443c8c771973aaf3acb7d83acee9fababa7f17dabc886a37d20bfc7dc13e8b0ce18637f4137ab349c881697e18c3a1c