jcapitao pushed to rpms/python-croniter (epel9). "Update to 1.2.0"
by notifications@fedoraproject.org
Notification time stamped 2023-05-31 16:59:54 UTC
From 30b2a1536ed62154fe5e2f4796e7a49e2a9e58f6 Mon Sep 17 00:00:00 2001
From: karolinku <kkula(a)redhat.com>
Date: Feb 22 2022 09:24:58 +0000
Subject: Update to 1.2.0
---
diff --git a/.gitignore b/.gitignore
index 99b69d4..4b8c6a4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/croniter-0.3.19.tar.gz
/croniter-0.3.27.tar.gz
/croniter-0.3.35.tar.gz
+/croniter-1.2.0.tar.gz
diff --git a/python-croniter.spec b/python-croniter.spec
index 2dd2c8f..e9a7ada 100644
--- a/python-croniter.spec
+++ b/python-croniter.spec
@@ -1,58 +1,32 @@
# Created by pyp2rpm-3.2.3
%global pypi_name croniter
-%if 0%{?fedora} || 0%{?rhel} > 7
-%bcond_with python2
-%bcond_without python3
-%else
-%bcond_without python2
-%bcond_with python3
-%endif
-
Name: python-%{pypi_name}
-Version: 0.3.35
-Release: 5%{?dist}
+Version: 1.2.0
+Release: 1%{?dist}
Summary: Iteration for datetime object with cron like format
License: MIT
URL: https://github.com/kiorky/croniter
Source0: https://files.pythonhosted.org/packages/source/c/%{pypi_name}/%{pypi_name...
BuildArch: noarch
-
-%if %{with python2}
-BuildRequires: python2-devel
-BuildRequires: python2-setuptools
-%endif
-%if %{with python3}
+BuildRequires: python3-dateutil
BuildRequires: python3-devel
+BuildRequires: python3-pytest
+BuildRequires: python3-pytz
BuildRequires: python3-setuptools
-%endif
%description
croniter provides iteration for the datetime object with a cron like format.
-%if %{with python2}
-%package -n python2-%{pypi_name}
-Summary: %{summary}
-%{?python_provide:%python_provide python2-%{pypi_name}}
-
-Requires: python2-dateutil
-Requires: python2-natsort
-%description -n python2-%{pypi_name}
-croniter provides iteration for the datetime object with a cron like format.
-%endif
-
-%if %{with python3}
%package -n python3-%{pypi_name}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}
Requires: python3-dateutil
-Requires: python3-natsort
%description -n python3-%{pypi_name}
croniter provides iteration for the datetime object with a cron like format.
-%endif
%prep
%autosetup -p1 -n %{pypi_name}-%{version}
@@ -64,43 +38,27 @@ rm -rf %{pypi_name}.egg-info
find -name \*.py -exec sed -i '/\/usr\/bin\/env python/{d;q}' {} +
%build
-%if %{with python2}
-%py2_build
-%endif
-%if %{with python3}
%py3_build
-%endif
%install
# Must do the subpackages' install first because the scripts in /usr/bin are
# overwritten with every setup.py install.
-%if %{with python3}
%py3_install
-%endif
-%if %{with python2}
-%py2_install
-%endif
+%check
+py.test -v
-%if %{with python2}
-%files -n python2-%{pypi_name}
-%license docs/LICENSE
-%doc README.rst
-
-%{python2_sitelib}/%{pypi_name}
-%{python2_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
-%endif
-
-%if %{with python3}
%files -n python3-%{pypi_name}
%license docs/LICENSE
%doc README.rst
%{python3_sitelib}/%{pypi_name}
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
-%endif
%changelog
+* Wed Feb 16 2022 Karolina Kula <kkula(a)redhat.com> - 1.2.0-1
+- Update to 1.2.0
+
* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.3.35-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
diff --git a/sources b/sources
index 5e119ac..d68b69a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (croniter-0.3.35.tar.gz) = 91c9363598a170bb5dcfb12438770898832c21d58707cc46df1cb02a52c302066483d3cc0eb156fbf51f2d03b559b2871887ba747c8ca110e64f1e371cad15cc
+SHA512 (croniter-1.2.0.tar.gz) = 0d7d59d617be16f7f1b6401a3c1260c3b644855c046fa6c2948cf2f2caaf7ee0183c659e0165c8d36068467893bb68bdd4024a246a85c76448ab0a62233c9ca1
https://src.fedoraproject.org/rpms/python-croniter/c/30b2a1536ed62154fe5e...
11 months, 3 weeks
jcapitao pushed to rpms/python-croniter (epel9). "Rebuilt for Python 3.9"
by notifications@fedoraproject.org
Notification time stamped 2023-05-31 16:59:54 UTC
From 785477327000865acac95936a812bf3f9b2e3336 Mon Sep 17 00:00:00 2001
From: Miro Hrončok <miro(a)hroncok.cz>
Date: May 26 2020 01:09:15 +0000
Subject: Rebuilt for Python 3.9
---
diff --git a/python-croniter.spec b/python-croniter.spec
index 7d6414c..043e18c 100644
--- a/python-croniter.spec
+++ b/python-croniter.spec
@@ -11,7 +11,7 @@
Name: python-%{pypi_name}
Version: 0.3.27
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Iteration for datetime object with cron like format
License: MIT
@@ -99,6 +99,9 @@ find -name \*.py -exec sed -i '/\/usr\/bin\/env python/{d;q}' {} +
%endif
%changelog
+* Tue May 26 2020 Miro Hrončok <mhroncok(a)redhat.com> - 0.3.27-6
+- Rebuilt for Python 3.9
+
* Thu Jan 30 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.3.27-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
https://src.fedoraproject.org/rpms/python-croniter/c/785477327000865acac9...
11 months, 3 weeks
jcapitao pushed to rpms/python-croniter (epel9). "Update to 0.3.35"
by notifications@fedoraproject.org
Notification time stamped 2023-05-31 16:59:54 UTC
From d094f3a2ed6675b72f317674800f10ca59e149ca Mon Sep 17 00:00:00 2001
From: yatinkarel <ykarel(a)redhat.com>
Date: Nov 02 2020 11:42:56 +0000
Subject: Update to 0.3.35
---
diff --git a/.gitignore b/.gitignore
index 4c050f3..99b69d4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/croniter-0.3.4.zip
/croniter-0.3.19.tar.gz
/croniter-0.3.27.tar.gz
+/croniter-0.3.35.tar.gz
diff --git a/python-croniter.spec b/python-croniter.spec
index 6f5552f..2ffc342 100644
--- a/python-croniter.spec
+++ b/python-croniter.spec
@@ -10,8 +10,8 @@
%endif
Name: python-%{pypi_name}
-Version: 0.3.27
-Release: 7%{?dist}
+Version: 0.3.35
+Release: 1%{?dist}
Summary: Iteration for datetime object with cron like format
License: MIT
@@ -38,6 +38,7 @@ Summary: %{summary}
%{?python_provide:%python_provide python2-%{pypi_name}}
Requires: python2-dateutil
+Requires: python2-natsort
%description -n python2-%{pypi_name}
croniter provides iteration for the datetime object with a cron like format.
%endif
@@ -48,6 +49,7 @@ Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}
Requires: python3-dateutil
+Requires: python3-natsort
%description -n python3-%{pypi_name}
croniter provides iteration for the datetime object with a cron like format.
%endif
@@ -99,6 +101,9 @@ find -name \*.py -exec sed -i '/\/usr\/bin\/env python/{d;q}' {} +
%endif
%changelog
+* Mon Nov 2 2020 Yatin Karel <ykarel(a)redhat.com> - 0.3.35-1
+- Update to 0.3.35
+
* Wed Jul 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.3.27-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
diff --git a/sources b/sources
index b52b8e4..5e119ac 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (croniter-0.3.27.tar.gz) = 0b17ff7ab3f1200a683a1e89a33a590b55f099e4fa48ad6279f4fe351557fafaa24ff1b0bc0d6c9e6e5127b5f33a9839b1cb2f96d2ff32bf941d83c938c28462
+SHA512 (croniter-0.3.35.tar.gz) = 91c9363598a170bb5dcfb12438770898832c21d58707cc46df1cb02a52c302066483d3cc0eb156fbf51f2d03b559b2871887ba747c8ca110e64f1e371cad15cc
https://src.fedoraproject.org/rpms/python-croniter/c/d094f3a2ed6675b72f31...
11 months, 3 weeks