From fac328ba32ae8232b5614246a2e464cf2f5eea5a Mon Sep 17 00:00:00 2001 From: rdobuilder Date: Jan 17 2025 14:33:30 +0000 Subject: Update to 5.0.1 Related-to: https://review.rdoproject.org/r/q/I439b4f79b6e83b490f65ab7ba553f003dc4cffe2 --- diff --git a/.python-croniter.metadata b/.python-croniter.metadata new file mode 100644 index 0000000..1b03780 --- /dev/null +++ b/.python-croniter.metadata @@ -0,0 +1 @@ +f65ea24cf95a103ee33f54bee09449c444d3d1ae SOURCES/croniter-5.0.1.tar.gz diff --git a/SOURCES/.gitignore b/SOURCES/.gitignore new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/SOURCES/.gitignore diff --git a/SPECS/python-croniter.spec b/SPECS/python-croniter.spec new file mode 100644 index 0000000..1ed0353 --- /dev/null +++ b/SPECS/python-croniter.spec @@ -0,0 +1,195 @@ +# Created by pyp2rpm-3.2.3 +%global pypi_name croniter + +Name: python-%{pypi_name} +Version: 5.0.1 +Release: 1%{?dist} +Summary: Iteration for datetime object with cron like format + +License: MIT +URL: https://github.com/kiorky/croniter +Source0: %{pypi_source} +BuildArch: noarch + +%global _description %{expand: +croniter provides iteration for the datetime object with a cron like format.} + + +%description %_description + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +Requires: python3-dateutil +%description -n python3-%{pypi_name} %_description + +%prep +%autosetup -p1 -n %{pypi_name}-%{version} + +sed -i '/-e ./d' requirements/base.txt +sed -i 's/^pytz.*/pytz/' requirements/base.txt +sed -i 's/^pytest.*/pytest/' requirements/test.txt +sed -i 's/^tox.*/tox/' requirements/tox.txt +sed -i '/^minversion.*/d' tox.ini + +%generate_buildrequires +%pyproject_buildrequires -t + +# Remove reundant script header to avoid rpmlint warnings +find -name \*.py -exec sed -i '/\/usr\/bin\/env python/{d;q}' {} + + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files %{pypi_name} + +%check +%tox + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%license LICENSE +%doc README.rst + +%changelog +* Fri Jan 17 2025 Joel Capitao - 5.0.1-1 +- Update to 5.0.1 + +* Fri Jul 19 2024 Fedora Release Engineering - 1.4.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sat Jun 08 2024 Python Maint - 1.4.1-5 +- Rebuilt for Python 3.13 + +* Sat Jan 27 2024 Maxwell G - 1.4.1-4 +- Remove python3-mock test dependency + +* Fri Jan 26 2024 Fedora Release Engineering - 1.4.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 1.4.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Oct 09 2023 Priscila Gutierres - 1.4.1-1 +- Update to 1.4.1 + +* Fri Jul 21 2023 Fedora Release Engineering - 1.3.14-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Fri Jul 14 2023 Python Maint - 1.3.14-2 +- Rebuilt for Python 3.12 + +* Tue Jun 13 2023 Joel Capitao - 1.3.14-1 +- Update to 1.3.14 +- Switch to pyproject macros + +* Fri Jan 20 2023 Fedora Release Engineering - 1.3.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Tue Nov 22 2022 Alfredo Moralejo - 1.3.8-1 +- Update to 1.3.8 + +* Fri Jul 22 2022 Fedora Release Engineering - 1.3.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 1.3.4-2 +- Rebuilt for Python 3.11 + +* Fri May 06 2022 Karolina Kula - 1.3.4-1 +- Update to 1.3.4 + +* Wed Feb 16 2022 Karolina Kula - 1.2.0-1 +- Update to 1.2.0 + +* Fri Jan 21 2022 Fedora Release Engineering - 0.3.35-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0.3.35-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 0.3.35-3 +- Rebuilt for Python 3.10 + +* Wed Jan 27 2021 Fedora Release Engineering - 0.3.35-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Nov 2 2020 Yatin Karel - 0.3.35-1 +- Update to 0.3.35 + +* Wed Jul 29 2020 Fedora Release Engineering - 0.3.27-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue May 26 2020 Miro Hrončok - 0.3.27-6 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.3.27-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Oct 03 2019 Miro Hrončok - 0.3.27-4 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Mon Aug 19 2019 Miro Hrončok - 0.3.27-3 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.3.27-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Feb 07 2019 Yatin Karel - 0.3.27-1 +- Bump to 0.3.27 +- Add conditionals to build python2 subpackage in CentOS <=7 + +* Sat Feb 02 2019 Fedora Release Engineering - 0.3.19-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek - 0.3.19-5 +- Subpackage python2-croniter has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + +* Fri Jul 13 2018 Fedora Release Engineering - 0.3.19-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Miro Hrončok - 0.3.19-3 +- Rebuilt for Python 3.7 + +* Fri Feb 09 2018 Fedora Release Engineering - 0.3.19-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sat Oct 21 2017 Thomas Andrejak - 0.3.19-1 +- Bump version to 0.3.19 +- Update to pyp2rpm 3.2.3 + +* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 0.3.4-12 +- Python 2 binary package renamed to python2-croniter + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + +* Thu Jul 27 2017 Fedora Release Engineering - 0.3.4-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 0.3.4-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Dec 19 2016 Miro Hrončok - 0.3.4-9 +- Rebuild for Python 3.6 + +* Tue Jul 19 2016 Fedora Release Engineering - 0.3.4-8 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Thu Feb 04 2016 Fedora Release Engineering - 0.3.4-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Nov 10 2015 Fedora Release Engineering - 0.3.4-6 +- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 + +* Thu Jun 18 2015 Fedora Release Engineering - 0.3.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 0.3.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed May 14 2014 Bohuslav Kabrda - 0.3.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 + +* Fri Feb 21 2014 Pádraig Brady - 0.3.4-2 +- Initial package.