14
0

- Update to version 2.0.3:

+ The scheduler now closes the job store that is being removed, and all job stores on shutdown() by default
  + Added the last expression in the day field of CronTrigger (thanks rcaselli)
  + Raise a TypeError when fields with invalid names are passed to CronTrigger (thanks Christy O’Reilly)
  + Fixed the persistent.py example by shutting down the scheduler on Ctrl+C
  + Added PyPy 1.8 and CPython 3.3 to the test suite
  + Dropped PyPy 1.4 - 1.5 and CPython 3.1 from the test suite
  + Updated setup.cfg for compatibility with distutils2/packaging
  + Examples, documentation sources and unit tests are now packaged in the source distribution

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=2
This commit is contained in:
Sascha Peilicke
2012-06-22 12:24:25 +00:00
committed by Git OBS Bridge
parent 5e142eeee5
commit 753069b989
4 changed files with 30 additions and 56 deletions

View File

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

3
APScheduler-2.0.3.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Fri Jun 22 12:22:49 UTC 2012 - saschpe@suse.de
- Update to version 2.0.3:
+ The scheduler now closes the job store that is being removed, and all job stores on shutdown() by default
+ Added the last expression in the day field of CronTrigger (thanks rcaselli)
+ Raise a TypeError when fields with invalid names are passed to CronTrigger (thanks Christy OReilly)
+ Fixed the persistent.py example by shutting down the scheduler on Ctrl+C
+ Added PyPy 1.8 and CPython 3.3 to the test suite
+ Dropped PyPy 1.4 - 1.5 and CPython 3.1 from the test suite
+ Updated setup.cfg for compatibility with distutils2/packaging
+ Examples, documentation sources and unit tests are now packaged in the source distribution
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Aug 16 08:28:29 UTC 2011 - cfarrell@novell.com Tue Aug 16 08:28:29 UTC 2011 - cfarrell@novell.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-APScheduler # spec file for package python-APScheduler
# #
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2012 SUSE LINUX Products 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,7 +16,7 @@
# #
Name: python-APScheduler Name: python-APScheduler
Version: 2.0.2 Version: 2.0.3
Release: 0 Release: 0
Url: http://pypi.python.org/pypi/APScheduler/ Url: http://pypi.python.org/pypi/APScheduler/
Summary: In-process task scheduler with Cron-like capabilities Summary: In-process task scheduler with Cron-like capabilities
@@ -25,14 +25,12 @@ Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/A/APScheduler/APScheduler-%{version}.tar.gz Source: http://pypi.python.org/packages/source/A/APScheduler/APScheduler-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel BuildRequires: python-devel
%if 0%{?suse_version} BuildRequires: python-nose
%py_requires %if 0%{?suse_version} && 0%{?suse_version} <= 1110
%if 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 %endif
%endif
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%description %description
Advanced Python Scheduler (APScheduler) is a light but powerful in-process task Advanced Python Scheduler (APScheduler) is a light but powerful in-process task
@@ -43,77 +41,40 @@ This can be a far better alternative to externally run cron scripts for
long-running applications (e.g. web applications), as it is platform neutral long-running applications (e.g. web applications), as it is platform neutral
and can directly access your application's variables and functions. and can directly access your application's variables and functions.
The development of APScheduler was heavily influenced by the `Quartz The development of APScheduler was heavily influenced by the Quartz
<http://www.quartz-scheduler.org/>`_ task scheduler written in Java. task scheduler written in Java.
APScheduler provides most of the major features that Quartz does, but it also APScheduler provides most of the major features that Quartz does, but it also
provides features not present in Quartz (such as multiple job stores). provides features not present in Quartz (such as multiple job stores).
Features
========
* No (hard) external dependencies * No (hard) external dependencies
* Thread-safe API * Thread-safe API
* Excellent test coverage (tested on CPython 2.4 - 2.7, 3.1 - 3.2, Jython 2.5.2, PyPy 1.4.1 and 1.5) * Excellent test coverage
* Configurable scheduling mechanisms (triggers): * Configurable scheduling mechanisms (triggers):
* Cron-like scheduling * Cron-like scheduling
* Delayed scheduling of single run jobs (like the UNIX "at" command) * Delayed scheduling of single run jobs (like the UNIX "at" command)
* Interval-based (run a job at specified time intervals) * Interval-based (run a job at specified time intervals)
* Multiple, simultaneously active job stores: * Multiple, simultaneously active job stores:
* RAM * RAM
* File-based simple database (shelve) * File-based simple database (shelve)
* `SQLAlchemy <http://www.sqlalchemy.org/>`_ (any supported RDBMS works) * SQLAlchemy (any supported RDBMS works)
* `MongoDB <http://www.mongodb.org/>`_ * MongoDB
Documentation
=============
Documentation can be found `here <http://readthedocs.org/docs/apscheduler/en/latest/>`_.
Source
======
The source can be browsed at `Bitbucket
<http://bitbucket.org/agronholm/apscheduler/src/>`_.
Reporting bugs
==============
A `bug tracker <http://bitbucket.org/agronholm/apscheduler/issues/>`_
is provided by bitbucket.org.
Getting help
============
If you have problems or other questions, you can either:
* Ask on the `APScheduler Google group
<http://groups.google.com/group/apscheduler>`_, or
* Ask on the ``#apscheduler`` channel on
`Freenode IRC <http://freenode.net/irc_servers.shtml>`_
%prep %prep
%setup -q -n APScheduler-%{version} %setup -q -n APScheduler-%{version}
%build %build
export CFLAGS="%{optflags}"
python setup.py build python setup.py build
%install %install
python setup.py install --prefix=%{_prefix} --root=%{buildroot} python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%clean %check
rm -rf %{buildroot} nosetests
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
# You may have to add additional files here (documentation and binaries mostly) %doc README.rst examples
%{python_sitelib}/* %{python_sitelib}/*
%doc README.rst
%changelog %changelog