diff --git a/croniter-0.3.12.tar.gz b/croniter-0.3.12.tar.gz deleted file mode 100644 index 74db40d..0000000 --- a/croniter-0.3.12.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:445cb26bc2f3cff25a7b06575caf98312b552affffeee0437f26d416c6e3c895 -size 13761 diff --git a/croniter-0.3.17.tar.gz b/croniter-0.3.17.tar.gz new file mode 100644 index 0000000..98fe6c6 --- /dev/null +++ b/croniter-0.3.17.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9db0f313db21e38c6861e88f3649cb828dfc0d450994fb1ed20c279727fc811b +size 17362 diff --git a/python-croniter.changes b/python-croniter.changes index d7798d6..7af71d1 100644 --- a/python-croniter.changes +++ b/python-croniter.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Fri Aug 25 07:05:44 UTC 2017 - tbechtold@suse.com + +- update to 0.3.17: + - DOW occurence sharp style support. + - Better test suite + - DST support + - fix bug around multiple conditions and range_val in + _get_prev_nearest_diff. + - issue #69: added day_or option to change behavior when day-of-month and + day-of-week is given + - `Real fix for #34 + - `Modernize test infra + - `Release as a universal wheel + - `Raise ValueError on negative numbers + - `Compare types using "issubclass" instead of exact match + - `Implement step cron with a variable base +- convert to singlespec + ------------------------------------------------------------------- Tue Nov 15 10:24:09 UTC 2016 - dmueller@suse.com diff --git a/python-croniter.spec b/python-croniter.spec index d458a80..66b2410 100644 --- a/python-croniter.spec +++ b/python-croniter.spec @@ -1,7 +1,7 @@ # # spec file for package python-croniter # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -16,28 +16,28 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-croniter -Version: 0.3.12 +Version: 0.3.17 Release: 0 Summary: Croniter provides iteration for datetime object with cron like format License: MIT Group: Development/Languages/Python Url: http://github.com/kiorky/croniter -Source: https://pypi.io/packages/source/c/croniter/croniter-%{version}.tar.gz -BuildRequires: python-devel -BuildRequires: python-setuptools +Source: https://files.pythonhosted.org/packages/source/c/croniter/croniter-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildRequires: unzip # Test requirements: -BuildRequires: python-nose -BuildRequires: python-python-dateutil -BuildRequires: python-pytz +BuildRequires: %{python_module nose} +BuildRequires: %{python_module python-dateutil} +BuildRequires: %{python_module pytz} Requires: python-python-dateutil -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else BuildArch: noarch -%endif + +%python_subpackages %description croniter provides iteration for datetime object with cron like format. @@ -46,15 +46,16 @@ croniter provides iteration for datetime object with cron like format. %setup -q -n croniter-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check -nosetests +%python_exec %{_bindir}/nosetests -%files +%files %{python_files} %defattr(-,root,root,-) %doc README.rst docs/LICENSE %{python_sitelib}/*