1
0
python-croniter/python-croniter.spec
Dirk Mueller a6450debf0 Accepting request 642660 from home:sjamgade:branches:devel:languages:python
- update to 0.3.20
  - (tag: 0.3.20) Preparing release 0.3.20
  -  pep8
  -  Fix sao paulo timezone test.
  -  remove outdated comment
  -  correctly handle DST changes
  -  Merge pull request #89 from kiorky/master
  -  Back to development: 0.3.20
  -  (tag: 0.3.19) Preparing release 0.3.19
  -  fix #87: backward dst changes
  -  Merge pull request #88 from kiorky/master
  -  Back to development: 0.3.19
  -  (tag: 0.3.18) Preparing release 0.3.18
  -  Merge pull request #18 from taichino/master
  -  Merge pull request #86 from otherpirate/master
  -  Adding is_valid class method to readme
  -  Adding class method is_valid to validate cron syntax
  -  Creating base croniter error
  -  Merge pull request #85 from kiorky/master
  -  Back to development: 0.3.18

OBS-URL: https://build.opensuse.org/request/show/642660
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-croniter?expand=0&rev=13
2018-10-17 16:23:50 +00:00

63 lines
1.9 KiB
RPMSpec

#
# spec file for package python-croniter
#
# Copyright (c) 2018 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-croniter
Version: 0.3.20
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://files.pythonhosted.org/packages/source/c/croniter/croniter-%{version}.tar.gz
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
croniter provides iteration for datetime object with cron like format.
%prep
%setup -q -n croniter-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec %{_bindir}/py.test src
%files %{python_files}
%defattr(-,root,root,-)
%doc README.rst docs/LICENSE
%{python_sitelib}/*
%changelog