1
0

Compare commits

10 Commits

Author SHA256 Message Date
692e37caaf Accepting request 1288264 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1288264
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-croniter?expand=0&rev=35
2025-06-24 18:50:46 +00:00
260ce1d9c7 - Update to 6.0.0
* Announce for now that croniter dev is ended (CRA).
  * Rework timestamp_to_datetime to use whatever timezone [kiorky]
  * Make datetime_to_timestamp & timestamp_to_datetime public [kiorky]
  * Fix EPOCH calculation in case of non UTC & 32 bits based systems [kiorky]
  * Apply isort formatter [kiorky]
  * Reintegrate test_speed [kiorky]
  * Apply black formatter [evanpurkhiser, kiorky]
  * Code quality changes [evanpurkhiser, kiorky]
    * Remove unused _get_caller_globals_and_locals [evanpurkhiser]
    * Remove single-use bad_length [evanpurkhiser]
    * Remove unused days in proc_month [evanpurkhiser]
    * Use field_index over i for readability [evanpurkhiser]
    * Always use """ for docstrings [evanpurkhiser]
    * Make helper instance methods that do not use self static [evanpurkhiser]
    * Remove unusd call to sys.exc_info [evanpurkhiser]
    * Remove unused ALPHAS [evanpurkhiser]
    * Improve croniter.expand documentation [evanpurkhiser]

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-croniter?expand=0&rev=67
2025-06-24 13:03:34 +00:00
01ae0d4045 Accepting request 1225104 from devel:languages:python
- update to 5.0.1:
  * Community wanted: Reintroduce 7 as DayOfWeek in deviation
    from standard cron (#90). [kiorky]
  * Remove DayOfWeek alias 7 to DayOfWeek 0 to stick to standard
    cron (#90). [kiorky]
  * Fix DOW ranges calculations when lastday is a Sunday.
    [kiorky]

OBS-URL: https://build.opensuse.org/request/show/1225104
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-croniter?expand=0&rev=34
2024-11-19 21:23:46 +00:00
b486e2036f - update to 5.0.1:
* Community wanted: Reintroduce 7 as DayOfWeek in deviation
    from standard cron (#90). [kiorky]
  * Remove DayOfWeek alias 7 to DayOfWeek 0 to stick to standard
    cron (#90). [kiorky]
  * Fix DOW ranges calculations when lastday is a Sunday.
    [kiorky]

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-croniter?expand=0&rev=65
2024-11-19 12:51:51 +00:00
33331ea0e9 Accepting request 1218792 from devel:languages:python
- update to 3.0.4:
  * Fix overflow on 32bits systems (#87) [kiorky]
  * Fix python2 testing (related to #93) [kiorky]
  * Modernize packaging. Special thanks to Aarni Koskela (akx)
    for all the inputs. [kiorky, akx]

OBS-URL: https://build.opensuse.org/request/show/1218792
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-croniter?expand=0&rev=33
2024-10-28 14:22:59 +00:00
eb3af4fa5f - update to 3.0.4:
* Fix overflow on 32bits systems (#87) [kiorky]
  * Fix python2 testing (related to #93) [kiorky]
  * Modernize packaging. Special thanks to Aarni Koskela (akx)
    for all the inputs. [kiorky, akx]

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-croniter?expand=0&rev=63
2024-10-28 11:35:13 +00:00
060a0f319a Accepting request 1206441 from devel:languages:python
- update to 3.0.3:
  * Fix start_time not respected in
    get_next/get_prev/all_next/all_prev (#86) [hesstobi, kiorky]
  * Add an update_current argument to
    get_next/get_prev/all_next/all_prev to facilitate writing of
    some downstream code, see #83. [kiorky]
  * Support for year field [zhouyizhen, kiorky]
  * Better support for 6 fields (second), and 7 fields crons
    [zhouyizhen, kiorky]
  * Better fix hashed expressions omitting some entries (#82,
    #42, #30) fix is retained over #42 initial fix [zhouyizhen,
    kiorky]
  * Ensure match return false when not time available (#81)

OBS-URL: https://build.opensuse.org/request/show/1206441
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-croniter?expand=0&rev=32
2024-10-09 20:13:00 +00:00
7ac8e81369 - update to 3.0.3:
* Fix start_time not respected in
    get_next/get_prev/all_next/all_prev (#86) [hesstobi, kiorky]
  * Add an update_current argument to
    get_next/get_prev/all_next/all_prev to facilitate writing of
    some downstream code, see #83. [kiorky]
  * Support for year field [zhouyizhen, kiorky]
  * Better support for 6 fields (second), and 7 fields crons
    [zhouyizhen, kiorky]
  * Better fix hashed expressions omitting some entries (#82,
    #42, #30) fix is retained over #42 initial fix [zhouyizhen,
    kiorky]
  * Ensure match return false when not time available (#81)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-croniter?expand=0&rev=61
2024-10-09 06:36:28 +00:00
829e3c10a4 Accepting request 1202147 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1202147
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-croniter?expand=0&rev=31
2024-09-20 15:12:21 +00:00
e7a8c75d49 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-croniter?expand=0&rev=59 2024-09-20 09:55:03 +00:00
4 changed files with 78 additions and 5 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f1f8ca0af64212fbe99b1bee125ee5a1b53a9c1b433968d8bca8817b79d237f3
size 47450

3
croniter-6.0.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:37c504b313956114a983ece2c2b07790b1f1094fe9d81cc94739214748255577
size 64481

View File

@@ -1,3 +1,74 @@
-------------------------------------------------------------------
Tue Jun 24 12:05:14 UTC 2025 - Felix Stegmeier <felix.stegmeier@suse.com>
- Update to 6.0.0
* Announce for now that croniter dev is ended (CRA).
* Rework timestamp_to_datetime to use whatever timezone [kiorky]
* Make datetime_to_timestamp & timestamp_to_datetime public [kiorky]
* Fix EPOCH calculation in case of non UTC & 32 bits based systems [kiorky]
* Apply isort formatter [kiorky]
* Reintegrate test_speed [kiorky]
* Apply black formatter [evanpurkhiser, kiorky]
* Code quality changes [evanpurkhiser, kiorky]
* Remove unused _get_caller_globals_and_locals [evanpurkhiser]
* Remove single-use bad_length [evanpurkhiser]
* Remove unused days in proc_month [evanpurkhiser]
* Use field_index over i for readability [evanpurkhiser]
* Always use """ for docstrings [evanpurkhiser]
* Make helper instance methods that do not use self static [evanpurkhiser]
* Remove unusd call to sys.exc_info [evanpurkhiser]
* Remove unused ALPHAS [evanpurkhiser]
* Improve croniter.expand documentation [evanpurkhiser]
-------------------------------------------------------------------
Tue Nov 19 12:51:45 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 5.0.1:
* Community wanted: Reintroduce 7 as DayOfWeek in deviation
from standard cron (#90). [kiorky]
* Remove DayOfWeek alias 7 to DayOfWeek 0 to stick to standard
cron (#90). [kiorky]
* Fix DOW ranges calculations when lastday is a Sunday.
[kiorky]
-------------------------------------------------------------------
Mon Oct 28 11:35:00 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 3.0.4:
* Fix overflow on 32bits systems (#87) [kiorky]
* Fix python2 testing (related to #93) [kiorky]
* Modernize packaging. Special thanks to Aarni Koskela (akx)
for all the inputs. [kiorky, akx]
-------------------------------------------------------------------
Wed Oct 9 06:35:07 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 3.0.3:
* Fix start_time not respected in
get_next/get_prev/all_next/all_prev (#86) [hesstobi, kiorky]
* Add an update_current argument to
get_next/get_prev/all_next/all_prev to facilitate writing of
some downstream code, see #83. [kiorky]
* Support for year field [zhouyizhen, kiorky]
* Better support for 6 fields (second), and 7 fields crons
[zhouyizhen, kiorky]
* Better fix hashed expressions omitting some entries (#82,
#42, #30) fix is retained over #42 initial fix [zhouyizhen,
kiorky]
* Ensure match return false when not time available (#81)
-------------------------------------------------------------------
Fri Sep 20 09:37:56 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 2.0.7:
* fix doc
- update to 2.0.6:
* Implement second_at_beginning [zhouyizhen, kiorky]
* Support question mark as wildcard [zhouyizhen, kiorky]
* Support to start a cron from a reference start time [mghextreme, kiorky]
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Apr 27 12:52:51 UTC 2024 - Dirk Müller <dmueller@suse.com> Sat Apr 27 12:52:51 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-croniter # spec file for package python-croniter
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-croniter Name: python-croniter
Version: 2.0.5 Version: 6.0.0
Release: 0 Release: 0
Summary: Python iterators for datetime objects with cron-like format Summary: Python iterators for datetime objects with cron-like format
License: MIT License: MIT
@@ -35,6 +35,7 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: unzip BuildRequires: unzip
Requires: python-python-dateutil Requires: python-python-dateutil
Requires: python-pytz
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
@@ -43,6 +44,7 @@ croniter provides iterators for datetime object with cron-like format.
%prep %prep
%setup -q -n croniter-%{version} %setup -q -n croniter-%{version}
find . -name "*.py" | xargs sed -i '1 { /^#!/ d }'
%build %build
%pyproject_wheel %pyproject_wheel