From dd64134bc2b1f88cd1e18f4a66a38f042017ff7bc5c8802b85174b32aad0782d Mon Sep 17 00:00:00 2001 From: Todd R Date: Wed, 16 May 2018 17:36:41 +0000 Subject: [PATCH] Accepting request 609872 from devel:languages:python:misc Job scheduling for humans OBS-URL: https://build.opensuse.org/request/show/609872 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-schedule?expand=0&rev=1 --- .gitattributes | 24 ++++++++++++++++ .gitignore | 4 +++ python-schedule.changes | 29 ++++++++++++++++++++ python-schedule.spec | 61 +++++++++++++++++++++++++++++++++++++++++ schedule-0.5.0.tar.gz | 3 ++ 5 files changed, 121 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-schedule.changes create mode 100644 python-schedule.spec create mode 100644 schedule-0.5.0.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..37a8eaa --- /dev/null +++ b/.gitattributes @@ -0,0 +1,24 @@ +*.changes merge=merge-changes +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tar filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8b731c3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.obscpio +*.osc +_build.* +.pbuild diff --git a/python-schedule.changes b/python-schedule.changes new file mode 100644 index 0000000..ca2e1d3 --- /dev/null +++ b/python-schedule.changes @@ -0,0 +1,29 @@ +------------------------------------------------------------------- +Wed May 16 15:35:22 UTC 2018 - toddrme2178@gmail.com + +- Update to version 0.5.0 + * Keep partially scheduled jobs from breaking the scheduler (#125) + * Add support for random intervals (Thanks @grampajoe and @gilbsgilbs) +- Update to version 0.4.3 + * Improve docs & clean up docstrings +- Update to version 0.4.2 + * Publish to PyPI as a universal (py2/py3) wheel +- Update to version 0.4.0 + * Add proper HTML (Sphinx) docs available at https://schedule.readthedocs.io/ + * CI builds now run against Python 2.7 and 3.5 (3.3 and 3.4 should work fine but are untested) + * Fixed an issue with ``run_all()`` and having more than one job that deletes itself in the same iteration. Thanks @alaingilbert. + * Add ability to tag jobs and to cancel jobs by tag. Thanks @Zerrossetto. + * Improve schedule docs. Thanks @Zerrossetto. + * Additional docs fixes by @fkromer and @yetingsky. +- Implement single-spec version + +------------------------------------------------------------------- +Tue Jan 19 19:40:31 UTC 2016 - hpj@urpla.net + +- reduce log level from info to debug + +------------------------------------------------------------------- +Tue Jan 19 15:34:57 UTC 2016 - hpj@urpla.net + +- version 0.3.2: initial build + diff --git a/python-schedule.spec b/python-schedule.spec new file mode 100644 index 0000000..9f6a237 --- /dev/null +++ b/python-schedule.spec @@ -0,0 +1,61 @@ +# +# spec file for package python-schedule +# +# 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-schedule +Version: 0.5.0 +Release: 0 +License: MIT +Summary: Job scheduling for humans +Url: https://github.com/dbader/schedule +Group: Development/Languages/Python +Source: https://files.pythonhosted.org/packages/source/s/schedule/schedule-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +# SECTION test requirements +BuildRequires: %{python_module mock} +# /SECTION +BuildArch: noarch + +%python_subpackages + +%description +An in-process scheduler for periodic jobs that uses the builder +pattern for configuration. Schedule lets you run Python functions +(or any other callable) periodically at pre-determined intervals. + +%prep +%setup -q -n schedule-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%python_exec setup.py test + +%files %{python_files} +%doc README.rst +%license LICENSE.txt +%{python_sitelib}/* + +%changelog diff --git a/schedule-0.5.0.tar.gz b/schedule-0.5.0.tar.gz new file mode 100644 index 0000000..982e8e8 --- /dev/null +++ b/schedule-0.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1003a07c2dce12828c25a03a611a7371cedfa956e5f1b4abc32bcc94eb5a335b +size 10850