1
0

- Update to 1.4.1:

* Make a retrocompatible version of 1.4.0 change about supporting
    VIXIECRON bug.
  * Added "implement_cron_bug" flag to make the cron parser compatible
    with a bug in Vixie/ISC Cron.
- Switch to pyproject macros.
- Actually drop future requirement.
- Stop using greedy globs in %files.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-croniter?expand=0&rev=49
This commit is contained in:
Steve Kowalik 2023-08-31 12:04:48 +00:00 committed by Git OBS Bridge
parent 2017007a32
commit 4baf862b53
4 changed files with 22 additions and 8 deletions

View File

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

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

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

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Thu Aug 31 12:04:22 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 1.4.1:
* Make a retrocompatible version of 1.4.0 change about supporting
VIXIECRON bug.
* Added "implement_cron_bug" flag to make the cron parser compatible
with a bug in Vixie/ISC Cron.
- Switch to pyproject macros.
- Actually drop future requirement.
- Stop using greedy globs in %files.
-------------------------------------------------------------------
Mon Jun 26 07:01:22 UTC 2023 - Andreas Schneider <asn@cryptomilk.org>

View File

@ -18,18 +18,19 @@
%{?sle15_python_module_pythons}
Name: python-croniter
Version: 1.3.15
Version: 1.4.1
Release: 0
Summary: Python iterators for datetime objects with cron-like format
License: MIT
URL: https://github.com/kiorky/croniter
Source: https://files.pythonhosted.org/packages/source/c/croniter/croniter-%{version}.tar.gz
BuildRequires: %{python_module future}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest >= 3.0.3}
BuildRequires: %{python_module python-dateutil}
BuildRequires: %{python_module pytz}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module tzlocal}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: unzip
@ -44,10 +45,10 @@ croniter provides iterators for datetime object with cron-like format.
%setup -q -n croniter-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@ -56,6 +57,7 @@ croniter provides iterators for datetime object with cron-like format.
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitelib}/*
%{python_sitelib}/croniter
%{python_sitelib}/croniter-%{version}.dist-info
%changelog