forked from pool/python-APScheduler
- update to 3.5.1 - (tag: v3.5.1) Compare next_date to start_date, not previous_fire_time - Removed one leftover parameter annotation - Fixed DST behavior for CronTrigger - Added support for UTC offsets in datetime parsing - Fixed erroneous changelog entry about month names in ``CronTrigger`` - Prevent deadlocks in scheduler shutdown (#268) - Fixed CronTrigger with jitter producing fire times beyond end_date - Fixed OverflowError on Windows when wait_seconds was too large - Fixed DeprecationWarning for get_jobs() - (tag: v3.5.0) Bumped up the fallback version - Fixed Python 2.7 compatibility in trigger tests - Added jitter support to combining triggers - Fixed ineffective pickle tests for And/OrTrigger - Renamed the base class for the combining triggers - Added combining triggers (AndTrigger + OrTrigger) - Added a troubleshooting section - Allow multiple spaces in crontab format (#260) - Cancel all pending futures on AsyncIOExecutor shutdown - Fixed passing "wait" as keyword argument to AsyncIOScheduler.shutdown() - Allow spaces around commas in CronTrigger fields - Don't display empty jitter in the repr() of cron/interval triggers - Added support for creating cron triggers from crontab expressions - Added support for named months - Added better validation for cron trigger expressions - Added version history entry for PR #258 - Implement random jitter option for CronTrigger and IntervalTrigger (#258) - Increased timeout to avoid test failure on pypy3 - Removed pytest-catchlog from test requirements - Fixed traceback or its frames not being available for logger.exception() OBS-URL: https://build.opensuse.org/request/show/642664 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=17
86 lines
2.7 KiB
RPMSpec
86 lines
2.7 KiB
RPMSpec
#
|
|
# spec file for package python-APScheduler
|
|
#
|
|
# 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-APScheduler
|
|
Version: 3.5.1
|
|
Release: 0
|
|
Url: http://pypi.python.org/pypi/APScheduler/
|
|
Summary: In-process task scheduler with Cron-like capabilities
|
|
License: MIT
|
|
Group: Development/Languages/Python
|
|
Source: https://files.pythonhosted.org/packages/source/A/APScheduler/APScheduler-%{version}.tar.gz
|
|
Source1: LICENSE.txt
|
|
BuildRequires: %{python_module devel}
|
|
BuildRequires: %{python_module setuptools_scm}
|
|
BuildRequires: %{python_module setuptools}
|
|
BuildRequires: fdupes
|
|
BuildRequires: python-rpm-macros
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%ifpython2
|
|
Requires: python2-funcsigs
|
|
Requires: python2-futures
|
|
%endif
|
|
Requires: python-pytz
|
|
Requires: python-six >= 1.4.0
|
|
Requires: python-tzlocal >= 1.2
|
|
|
|
BuildArch: noarch
|
|
|
|
%python_subpackages
|
|
|
|
%description
|
|
Advanced Python Scheduler (APScheduler) is an in-process task
|
|
scheduler that lets you schedule jobs (functions or any python callables) to be
|
|
executed at any time of your choosing.
|
|
|
|
This can be an alternative to externally run cron scripts for
|
|
long-running applications (e.g. web applications), as it is platform neutral
|
|
and can access the application's variables and functions.
|
|
|
|
APscheduler provides multiple job stores.
|
|
|
|
* Configurable scheduling mechanisms (triggers):
|
|
* Cron-like scheduling
|
|
* Delayed scheduling of single run jobs (like the UNIX "at" command)
|
|
* Interval-based (run a job at specified time intervals)
|
|
* Multiple, simultaneously active job stores:
|
|
* RAM
|
|
* File-based simple database (shelve)
|
|
* SQLAlchemy (any supported RDBMS works)
|
|
* MongoDB
|
|
|
|
%prep
|
|
%setup -q -n APScheduler-%{version}
|
|
|
|
%build
|
|
install -m 644 %{SOURCE1} %{_builddir}/APScheduler-%{version}
|
|
%python_build
|
|
|
|
%install
|
|
%python_install
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
%files %{python_files}
|
|
%defattr(-,root,root,-)
|
|
%doc LICENSE.txt README.rst
|
|
%doc examples/
|
|
%{python_sitelib}/*
|
|
|
|
%changelog
|