forked from pool/python-croniter
- Update to 0.3.27:
* Handle -Sun notation * Handle invalid ranges correctly * Pypi hygiene * fix get_next while perserving the fix of get_prev * Don't count previous minute if now is dynamic If the code is triggered from 5-asterisk based cron get_prev based on datetime.now() is expected to return current cron iteration and not previous execution. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-croniter?expand=0&rev=16
This commit is contained in:
parent
88fcdb8ff6
commit
c872969cad
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:272c333ab0b354a82173e502d419299e2f3dfdd5dce771ecd8bdf03680495016
|
||||
size 18279
|
3
croniter-0.3.27.tar.gz
Normal file
3
croniter-0.3.27.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fbd72189a0ff38c27e953d15175c5fedafb953479559240a1afcf8e8e7523757
|
||||
size 20427
|
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 7 13:48:40 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 0.3.27:
|
||||
* Handle -Sun notation
|
||||
* Handle invalid ranges correctly
|
||||
* Pypi hygiene
|
||||
* fix get_next while perserving the fix of get_prev
|
||||
* Don't count previous minute if now is dynamic If the code is triggered from 5-asterisk based cron get_prev based on datetime.now() is expected to return current cron iteration and not previous execution.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 17 18:29:01 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-croniter
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -18,24 +18,22 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-croniter
|
||||
Version: 0.3.20
|
||||
Version: 0.3.27
|
||||
Release: 0
|
||||
Summary: Python iterators for datetime objects with cron-like format
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: http://github.com/kiorky/croniter
|
||||
URL: http://github.com/kiorky/croniter
|
||||
Source: https://files.pythonhosted.org/packages/source/c/croniter/croniter-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pytest >= 3.0.3}
|
||||
BuildRequires: %{python_module python-dateutil}
|
||||
BuildRequires: %{python_module pytz}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: unzip
|
||||
# Test requirements:
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module python-dateutil}
|
||||
BuildRequires: %{python_module pytz}
|
||||
Requires: python-python-dateutil
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@ -52,11 +50,11 @@ croniter provides iterators for datetime object with cron-like format.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_exec %{_bindir}/py.test src
|
||||
%pytest src
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.rst docs/LICENSE
|
||||
%license docs/LICENSE
|
||||
%doc README.rst
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user