14
0
Files
python-APScheduler/python-APScheduler.spec

86 lines
2.7 KiB
RPMSpec
Raw Normal View History

#
# spec file for package python-APScheduler
#
# 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
# 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.
Accepting request 293863 from home:rjschwei:branches:devel:languages:python - Update to version 3.0.2 + Add new upstream dependencies: ~ python-futures ~ python-pytz ~ python-six ~ python-tzlocal + Contains incompatible changes to previous version + Fixed ValueError when the target callable has a default keyword argument that wasn’t overridden + Fixed wrong job sort order in some job stores + Fixed exception when loading all jobs from the redis job store when there are paused jobs in it + Fixed AttributeError when printing a job list when there were pending jobs + Added setuptools as an explicit requirement in install requirements + A wider variety of target callables can now be scheduled so that the jobs are still serializable (static methods on Python 3.3+, unbound methods on all except Python 3.2) + Attempting to serialize a non-serializable Job now raises a helpful exception during serialization. Thanks to Jeremy Morgan for pointing this out. + Fixed table creation with SQLAlchemyJobStore on MySQL/InnoDB + Fixed start date getting set too far in the future with a timezone different from the local one + Fixed _run_job_error() being called with the incorrect number of arguments in most executors + Added support for timezones (special thanks to Curtis Vogt for help with this one) + Split the old Scheduler class into BlockingScheduler and BackgroundScheduler and added integration for asyncio (PEP 3156), Gevent, Tornado, Twisted and Qt event loops OBS-URL: https://build.opensuse.org/request/show/293863 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=6
2015-04-02 07:51:38 +00:00
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Accepting request 293863 from home:rjschwei:branches:devel:languages:python - Update to version 3.0.2 + Add new upstream dependencies: ~ python-futures ~ python-pytz ~ python-six ~ python-tzlocal + Contains incompatible changes to previous version + Fixed ValueError when the target callable has a default keyword argument that wasn’t overridden + Fixed wrong job sort order in some job stores + Fixed exception when loading all jobs from the redis job store when there are paused jobs in it + Fixed AttributeError when printing a job list when there were pending jobs + Added setuptools as an explicit requirement in install requirements + A wider variety of target callables can now be scheduled so that the jobs are still serializable (static methods on Python 3.3+, unbound methods on all except Python 3.2) + Attempting to serialize a non-serializable Job now raises a helpful exception during serialization. Thanks to Jeremy Morgan for pointing this out. + Fixed table creation with SQLAlchemyJobStore on MySQL/InnoDB + Fixed start date getting set too far in the future with a timezone different from the local one + Fixed _run_job_error() being called with the incorrect number of arguments in most executors + Added support for timezones (special thanks to Curtis Vogt for help with this one) + Split the old Scheduler class into BlockingScheduler and BackgroundScheduler and added integration for asyncio (PEP 3156), Gevent, Tornado, Twisted and Qt event loops OBS-URL: https://build.opensuse.org/request/show/293863 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=6
2015-04-02 07:51:38 +00:00
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-APScheduler
Accepting request 509674 from home:tbechtold:branches:devel:languages:python update to version 3.3.1 * Updated the gevent test dependency to 1.1 final * Simplified the tox.ini structure a little * Zookeeper jobstore support (#144) * rethinkdb_store.py edited online with Bitbucket * Renamed pytest section in setup.cfg to avoid the warning * All test for python 2.7 are now passing. * Don't try to test rethinkdb on Python 3 * Install PyQt5 when testing on Python 3.5 * Shortened the ID column of the apscheduler_jobs table in the SQLAlchemy job store to accommodate MySQL limitations (again). * Moved rethinkdb to common test requirements since it now works with Python 3 * Added time zone to the output of CronTrigger and IntervalTrigger * Fixed compatibility with pymongo 3.0 * Fixed the asyncio scheduler example on Python < 3.3 * Fixed scheduler loop breaking if the job store fails (fixes #109) * fix CronTrigger.get_next_fire_time() bug: calculate start_date problem * Fixed the MongoDB job store repr() test to work with newer versions of PyMongo * Fixed incorrect DateTrigger run time with run_date=None and a non-local timezone * Small test cleanups * Added the ability to pause and resume job processing in the scheduler * Added tox.ini to MANIFEST.in * All test completed * Set a minimum version for tzlocal to prevent CentOS related issue reports * Migrated to a more modern way for specifying conditional dependencies for wheels * Reconfigured IRC notification settings to produce less noise * Fixed a copy paste error in asyncio scheduler example docstring (#153) * Fixed @scheduled_job not playing nice with persistent job stores (fixes #150) * Restored backwards compatibility in the MongoDB job store and updated the version history * add some CronTrigger tests * Added an explicit note about the effects of misfire_grace_time OBS-URL: https://build.opensuse.org/request/show/509674 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=10
2017-07-12 09:18:44 +00:00
Version: 3.3.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}
Accepting request 509674 from home:tbechtold:branches:devel:languages:python update to version 3.3.1 * Updated the gevent test dependency to 1.1 final * Simplified the tox.ini structure a little * Zookeeper jobstore support (#144) * rethinkdb_store.py edited online with Bitbucket * Renamed pytest section in setup.cfg to avoid the warning * All test for python 2.7 are now passing. * Don't try to test rethinkdb on Python 3 * Install PyQt5 when testing on Python 3.5 * Shortened the ID column of the apscheduler_jobs table in the SQLAlchemy job store to accommodate MySQL limitations (again). * Moved rethinkdb to common test requirements since it now works with Python 3 * Added time zone to the output of CronTrigger and IntervalTrigger * Fixed compatibility with pymongo 3.0 * Fixed the asyncio scheduler example on Python < 3.3 * Fixed scheduler loop breaking if the job store fails (fixes #109) * fix CronTrigger.get_next_fire_time() bug: calculate start_date problem * Fixed the MongoDB job store repr() test to work with newer versions of PyMongo * Fixed incorrect DateTrigger run time with run_date=None and a non-local timezone * Small test cleanups * Added the ability to pause and resume job processing in the scheduler * Added tox.ini to MANIFEST.in * All test completed * Set a minimum version for tzlocal to prevent CentOS related issue reports * Migrated to a more modern way for specifying conditional dependencies for wheels * Reconfigured IRC notification settings to produce less noise * Fixed a copy paste error in asyncio scheduler example docstring (#153) * Fixed @scheduled_job not playing nice with persistent job stores (fixes #150) * Restored backwards compatibility in the MongoDB job store and updated the version history * add some CronTrigger tests * Added an explicit note about the effects of misfire_grace_time OBS-URL: https://build.opensuse.org/request/show/509674 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=10
2017-07-12 09:18:44 +00:00
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%ifpython2
Requires: python2-funcsigs
%endif
Accepting request 293863 from home:rjschwei:branches:devel:languages:python - Update to version 3.0.2 + Add new upstream dependencies: ~ python-futures ~ python-pytz ~ python-six ~ python-tzlocal + Contains incompatible changes to previous version + Fixed ValueError when the target callable has a default keyword argument that wasn’t overridden + Fixed wrong job sort order in some job stores + Fixed exception when loading all jobs from the redis job store when there are paused jobs in it + Fixed AttributeError when printing a job list when there were pending jobs + Added setuptools as an explicit requirement in install requirements + A wider variety of target callables can now be scheduled so that the jobs are still serializable (static methods on Python 3.3+, unbound methods on all except Python 3.2) + Attempting to serialize a non-serializable Job now raises a helpful exception during serialization. Thanks to Jeremy Morgan for pointing this out. + Fixed table creation with SQLAlchemyJobStore on MySQL/InnoDB + Fixed start date getting set too far in the future with a timezone different from the local one + Fixed _run_job_error() being called with the incorrect number of arguments in most executors + Added support for timezones (special thanks to Curtis Vogt for help with this one) + Split the old Scheduler class into BlockingScheduler and BackgroundScheduler and added integration for asyncio (PEP 3156), Gevent, Tornado, Twisted and Qt event loops OBS-URL: https://build.opensuse.org/request/show/293863 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=6
2015-04-02 07:51:38 +00:00
Requires: python-futures
Requires: python-pytz
Requires: python-six
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