From 5762f2a9192304e75bb95ca16a767e76d41ccaee Mon Sep 17 00:00:00 2001 From: Mikel Olasagasti Uranga Date: Tue, 28 Dec 2021 10:47:38 +0100 Subject: [PATCH] Update to version 10.16.1, fixes rhbz#2035874, and also update spec - Adopt rpmautospec - Adopt pyproject-rpm-macros - Switch Source0 to GitHub's tarball to include tests - Enable check --- .gitignore | 1 + changelog | 122 ++++++++++++++++++++++++++++++++++++++ python-rich.spec | 151 ++++++----------------------------------------- sources | 1 + 4 files changed, 142 insertions(+), 133 deletions(-) create mode 100644 changelog diff --git a/.gitignore b/.gitignore index d9a4aa9..3a5f2ce 100644 --- a/.gitignore +++ b/.gitignore @@ -36,3 +36,4 @@ /rich-10.15.1.tar.gz /rich-10.15.2.tar.gz /rich-10.16.0.tar.gz +/rich-10.16.1.tar.gz diff --git a/changelog b/changelog new file mode 100644 index 0000000..d92942d --- /dev/null +++ b/changelog @@ -0,0 +1,122 @@ +* Mon Dec 13 2021 Parag Nemade - 10.16.0-1 +- Update to 10.16.0 version (#2031494) + +* Mon Dec 06 2021 Parag Nemade - 10.15.2-1 +- Update to 10.15.2 version (#2028523) + +* Tue Nov 30 2021 Parag Nemade - 10.15.1-1 +- Update to 10.15.1 version (#2027489) + +* Wed Nov 17 2021 Parag Nemade - 10.14.0-1 +- Update to 10.14.0 version (#2023800) + +* Mon Nov 08 2021 Parag Nemade - 10.13.0-1 +- Update to 10.13.0 version (#2020951) + +* Wed Oct 20 2021 Parag Nemade - 10.12.0-1 +- Update to 10.12.0 version (#2011373) + +* Tue Sep 28 2021 Parag Nemade - 10.11.0-1 +- Update to 10.11.0 version (#2007584) + +* Sat Sep 18 2021 Parag Nemade - 10.10.0-1 +- Update to 10.10.0 version (#2005578) + +* Thu Sep 02 2021 Parag Nemade - 10.9.0-1 +- Update to 10.9.0 version (#1998751) + +* Fri Aug 06 2021 Parag Nemade - 10.7.0-1 +- Update to 10.7.0 version (#1990647) + +* Fri Jul 23 2021 Fedora Release Engineering - 10.6.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jul 13 2021 Parag Nemade - 10.6.0-1 +- Update to 10.6.0 version (#1981531) + +* Mon Jul 12 2021 Parag Nemade - 10.5.0-1 +- Update to 10.5.0 version (#1979302) + +* Fri Jul 02 2021 Parag Nemade - 10.4.0-1 +- Update to 10.4.0 version (#1973835) + +* Fri Jun 11 2021 Parag Nemade - 10.3.0-1 +- Update to 10.3.0 version (#1970067) + +* Fri Jun 04 2021 Python Maint - 10.2.2-2 +- Rebuilt for Python 3.10 + +* Fri May 21 2021 Parag Nemade - 10.2.2-1 +- Update to 10.2.2 version (#1962272) + +* Tue May 18 2021 Parag Nemade - 10.2.1-1 +- Update to 10.2.1 version (#1961434) + +* Sat May 15 2021 Parag Nemade - 10.2.0-1 +- Update to 10.2.0 version (#1959946) + +* Wed Apr 07 2021 Parag Nemade - 10.1.0-1 +- Update to 10.1.0 version (#1945988) + +* Wed Mar 31 2021 Parag Nemade - 10.0.1-1 +- Update to 10.0.1 version (#1944804) + +* Sat Mar 27 2021 Parag Nemade - 10.0.0-1 +- Update to 10.0.0 version (#1943805) + +* Mon Mar 08 2021 Parag Nemade - 9.13.0-1 +- Update to 9.13.0 version (#1936085) + +* Thu Mar 04 2021 Parag Nemade - 9.12.4-1 +- Update to 9.12.4 version (#1933882) + +* Sun Feb 28 2021 Parag Nemade - 9.12.3-1 +- Update to 9.12.3 version (#1933478) + +* Sun Feb 28 2021 Parag Nemade - 9.12.2-1 +- Update to 9.12.2 version (#1931063) + +* Tue Feb 16 2021 Parag Nemade - 9.11.0-1 +- Update to 9.11.0 version (#1928971) + +* Tue Feb 2 14:22:24 IST 2021 Parag Nemade - 9.10.0-1 +- Update to 9.10.0 version (#1921301) + +* Wed Jan 27 2021 Fedora Release Engineering - 9.9.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sun Jan 24 08:37:21 IST 2021 Parag Nemade - 9.9.0-1 +- Update to 9.9.0 version (#1915923) + +* Tue Jan 12 14:05:31 IST 2021 Parag Nemade - 9.8.0-1 +- Update to 9.8.0 version (#1913979) + +* Sat Jan 2 21:51:00 IST 2021 Parag Nemade - 9.6.1-1 +- Update to 9.6.1 version (#1911840) + +* Thu Dec 31 22:12:44 IST 2020 Parag Nemade - 9.6.0-1 +- Update to 9.6.0 version (#1911672) + +* Tue Dec 22 20:05:06 IST 2020 Parag Nemade - 9.5.1-1 +- Update to 9.5.1 version (#1909212) + +* Fri Dec 18 13:36:15 IST 2020 Parag Nemade - 9.4.0-1 +- Update to 9.4.0 version (#1907029) + +* Thu Dec 3 15:11:46 IST 2020 Parag Nemade - 9.3.0-1 +- Update to 9.3.0 version (#1903254) + +* Fri Nov 13 12:18:46 IST 2020 Parag Nemade - 9.2.0-1 +- Update to 9.2.0 version (#1895694) + +* Sat Oct 24 12:47:42 IST 2020 Parag Nemade - 9.1.0-1 +- Update to 9.1.0 version (#1889145) + +* Sun Oct 18 16:38:50 IST 2020 Parag Nemade - 8.0.0-1 +- Update to 8.0.0 version (#1884915) + +* Thu Oct 1 08:41:03 IST 2020 Parag Nemade - 7.1.0-1 +- Update to 7.1.0 version (#1882733) + +* Wed Aug 26 2020 Parag Nemade - 6.0.0-1 +- Initial package. diff --git a/python-rich.spec b/python-rich.spec index 7fb827f..524c9b0 100644 --- a/python-rich.spec +++ b/python-rich.spec @@ -1,18 +1,20 @@ -# Created by pyp2rpm-3.3.4 %global pypi_name rich Name: python-%{pypi_name} -Version: 10.16.0 -Release: 1%{?dist} +Version: 10.16.1 +Release: %autorelease Summary: Render rich text and beautiful formatting in the terminal License: MIT URL: https://github.com/willmcgugan/rich -Source0: %{pypi_source} +Source0: %{url}/archive/v%{version}/rich-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel -BuildRequires: python3dist(setuptools) +BuildRequires: pyproject-rpm-macros +# for checks +BuildRequires: python3dist(pytest) +BuildRequires: python3dist(toml) %description Rich is a Python library for rich text and beautiful formatting in the terminal. @@ -22,7 +24,6 @@ code, tracebacks, and more — out of the box. %package -n python3-%{pypi_name} Summary: %{summary} -%{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} Rich is a Python library for rich text and beautiful formatting in the terminal. @@ -33,138 +34,22 @@ code, tracebacks, and more — out of the box. %prep %autosetup -n %{pypi_name}-%{version} +%generate_buildrequires +%pyproject_buildrequires -r + %build -%py3_build +%pyproject_wheel %install -%py3_install +%pyproject_install +%pyproject_save_files rich + +%check +%pytest -v -%files -n python3-%{pypi_name} +%files -f %{pyproject_files} %license LICENSE %doc README.md -%{python3_sitelib}/%{pypi_name}/ -%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/ %changelog -* Mon Dec 13 2021 Parag Nemade - 10.16.0-1 -- Update to 10.16.0 version (#2031494) - -* Mon Dec 06 2021 Parag Nemade - 10.15.2-1 -- Update to 10.15.2 version (#2028523) - -* Tue Nov 30 2021 Parag Nemade - 10.15.1-1 -- Update to 10.15.1 version (#2027489) - -* Wed Nov 17 2021 Parag Nemade - 10.14.0-1 -- Update to 10.14.0 version (#2023800) - -* Mon Nov 08 2021 Parag Nemade - 10.13.0-1 -- Update to 10.13.0 version (#2020951) - -* Wed Oct 20 2021 Parag Nemade - 10.12.0-1 -- Update to 10.12.0 version (#2011373) - -* Tue Sep 28 2021 Parag Nemade - 10.11.0-1 -- Update to 10.11.0 version (#2007584) - -* Sat Sep 18 2021 Parag Nemade - 10.10.0-1 -- Update to 10.10.0 version (#2005578) - -* Thu Sep 02 2021 Parag Nemade - 10.9.0-1 -- Update to 10.9.0 version (#1998751) - -* Fri Aug 06 2021 Parag Nemade - 10.7.0-1 -- Update to 10.7.0 version (#1990647) - -* Fri Jul 23 2021 Fedora Release Engineering - 10.6.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Tue Jul 13 2021 Parag Nemade - 10.6.0-1 -- Update to 10.6.0 version (#1981531) - -* Mon Jul 12 2021 Parag Nemade - 10.5.0-1 -- Update to 10.5.0 version (#1979302) - -* Fri Jul 02 2021 Parag Nemade - 10.4.0-1 -- Update to 10.4.0 version (#1973835) - -* Fri Jun 11 2021 Parag Nemade - 10.3.0-1 -- Update to 10.3.0 version (#1970067) - -* Fri Jun 04 2021 Python Maint - 10.2.2-2 -- Rebuilt for Python 3.10 - -* Fri May 21 2021 Parag Nemade - 10.2.2-1 -- Update to 10.2.2 version (#1962272) - -* Tue May 18 2021 Parag Nemade - 10.2.1-1 -- Update to 10.2.1 version (#1961434) - -* Sat May 15 2021 Parag Nemade - 10.2.0-1 -- Update to 10.2.0 version (#1959946) - -* Wed Apr 07 2021 Parag Nemade - 10.1.0-1 -- Update to 10.1.0 version (#1945988) - -* Wed Mar 31 2021 Parag Nemade - 10.0.1-1 -- Update to 10.0.1 version (#1944804) - -* Sat Mar 27 2021 Parag Nemade - 10.0.0-1 -- Update to 10.0.0 version (#1943805) - -* Mon Mar 08 2021 Parag Nemade - 9.13.0-1 -- Update to 9.13.0 version (#1936085) - -* Thu Mar 04 2021 Parag Nemade - 9.12.4-1 -- Update to 9.12.4 version (#1933882) - -* Sun Feb 28 2021 Parag Nemade - 9.12.3-1 -- Update to 9.12.3 version (#1933478) - -* Sun Feb 28 2021 Parag Nemade - 9.12.2-1 -- Update to 9.12.2 version (#1931063) - -* Tue Feb 16 2021 Parag Nemade - 9.11.0-1 -- Update to 9.11.0 version (#1928971) - -* Tue Feb 2 14:22:24 IST 2021 Parag Nemade - 9.10.0-1 -- Update to 9.10.0 version (#1921301) - -* Wed Jan 27 2021 Fedora Release Engineering - 9.9.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Sun Jan 24 08:37:21 IST 2021 Parag Nemade - 9.9.0-1 -- Update to 9.9.0 version (#1915923) - -* Tue Jan 12 14:05:31 IST 2021 Parag Nemade - 9.8.0-1 -- Update to 9.8.0 version (#1913979) - -* Sat Jan 2 21:51:00 IST 2021 Parag Nemade - 9.6.1-1 -- Update to 9.6.1 version (#1911840) - -* Thu Dec 31 22:12:44 IST 2020 Parag Nemade - 9.6.0-1 -- Update to 9.6.0 version (#1911672) - -* Tue Dec 22 20:05:06 IST 2020 Parag Nemade - 9.5.1-1 -- Update to 9.5.1 version (#1909212) - -* Fri Dec 18 13:36:15 IST 2020 Parag Nemade - 9.4.0-1 -- Update to 9.4.0 version (#1907029) - -* Thu Dec 3 15:11:46 IST 2020 Parag Nemade - 9.3.0-1 -- Update to 9.3.0 version (#1903254) - -* Fri Nov 13 12:18:46 IST 2020 Parag Nemade - 9.2.0-1 -- Update to 9.2.0 version (#1895694) - -* Sat Oct 24 12:47:42 IST 2020 Parag Nemade - 9.1.0-1 -- Update to 9.1.0 version (#1889145) - -* Sun Oct 18 16:38:50 IST 2020 Parag Nemade - 8.0.0-1 -- Update to 8.0.0 version (#1884915) - -* Thu Oct 1 08:41:03 IST 2020 Parag Nemade - 7.1.0-1 -- Update to 7.1.0 version (#1882733) - -* Wed Aug 26 2020 Parag Nemade - 6.0.0-1 -- Initial package. +%autochangelog diff --git a/sources b/sources index 2d6081b..8f53ad1 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ SHA512 (rich-10.16.0.tar.gz) = e1c890544fd0501784665b64c7a3ce10d9a8f35b3189922487f59d1e2edb7d3f8fb61e9d7ac46c3394d5e9e97ed1d906195eac7f28afcaa92101fca27e223af7 +SHA512 (rich-10.16.1.tar.gz) = 341aa3fdb7fe608d15c867eb50f36fcc250e041a256e4bee86f0c69e7e0f9239c84be88833dad56f05edeb09a734d64f423b9080bd13b88c3a59d958e8ff1f4c