Accepting request 518655 from home:tbechtold:branches:devel:languages:python

- 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

OBS-URL: https://build.opensuse.org/request/show/518655
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-croniter?expand=0&rev=11
This commit is contained in:
Thomas Bechtold 2017-08-25 07:11:46 +00:00 committed by Git OBS Bridge
parent 786ec64e0c
commit 25b196d96a
4 changed files with 40 additions and 20 deletions

View File

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

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

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

View File

@ -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 Tue Nov 15 10:24:09 UTC 2016 - dmueller@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-croniter # 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 # 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
@ -16,28 +16,28 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-croniter Name: python-croniter
Version: 0.3.12 Version: 0.3.17
Release: 0 Release: 0
Summary: Croniter provides iteration for datetime object with cron like format Summary: Croniter provides iteration for datetime object with cron like format
License: MIT License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
Url: http://github.com/kiorky/croniter Url: http://github.com/kiorky/croniter
Source: https://pypi.io/packages/source/c/croniter/croniter-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/c/croniter/croniter-%{version}.tar.gz
BuildRequires: python-devel BuildRequires: %{python_module devel}
BuildRequires: python-setuptools BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: unzip BuildRequires: unzip
# Test requirements: # Test requirements:
BuildRequires: python-nose BuildRequires: %{python_module nose}
BuildRequires: python-python-dateutil BuildRequires: %{python_module python-dateutil}
BuildRequires: python-pytz BuildRequires: %{python_module pytz}
Requires: python-python-dateutil 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 BuildArch: noarch
%endif
%python_subpackages
%description %description
croniter provides iteration for datetime object with cron like format. 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} %setup -q -n croniter-%{version}
%build %build
python setup.py build %python_build
%install %install
python setup.py install --prefix=%{_prefix} --root=%{buildroot} %python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
nosetests %python_exec %{_bindir}/nosetests
%files %files %{python_files}
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc README.rst docs/LICENSE %doc README.rst docs/LICENSE
%{python_sitelib}/* %{python_sitelib}/*