forked from pool/python-APScheduler
Accepting request 509661 from home:sax2:branches:devel:languages:python
- Implement single-spec version OBS-URL: https://build.opensuse.org/request/show/509661 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=9
This commit is contained in:
committed by
Git OBS Bridge
parent
07638773de
commit
7f38f0cd16
19
LICENSE.txt
Normal file
19
LICENSE.txt
Normal file
@@ -0,0 +1,19 @@
|
||||
Copyright (c) 2012 Vladimir Keleshev, <vladimir@keleshev.com>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||
of the Software, and to permit persons to whom the Software is furnished to do
|
||||
so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 12 08:11:10 UTC 2017 - ms@suse.com
|
||||
|
||||
- Implement single-spec version
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 14 14:25:00 UTC 2015 - ms@suse.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-APScheduler
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# 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
|
||||
@@ -16,6 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-APScheduler
|
||||
Version: 3.0.2
|
||||
Release: 0
|
||||
@@ -23,25 +24,21 @@ Url: http://pypi.python.org/pypi/APScheduler/
|
||||
Summary: In-process task scheduler with Cron-like capabilities
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Source: http://pypi.python.org/packages/source/A/APScheduler/APScheduler-%{version}.tar.gz
|
||||
Source: https://files.pythonhosted.org/packages/source/A/APScheduler/APScheduler-%{version}.tar.gz
|
||||
Source1: LICENSE.txt
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Requires: python-futures
|
||||
Requires: python-pytz
|
||||
Requires: python-six
|
||||
Requires: python-tzlocal
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-futures
|
||||
BuildRequires: python-mock
|
||||
BuildRequires: python-nose
|
||||
BuildRequires: python-pytest
|
||||
BuildRequires: python-pytz
|
||||
BuildRequires: python-six
|
||||
BuildRequires: python-tzlocal
|
||||
%if 0%{?suse_version} && 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
|
||||
%endif
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Advanced Python Scheduler (APScheduler) is a light but powerful in-process task
|
||||
@@ -76,24 +73,17 @@ provides features not present in Quartz (such as multiple job stores).
|
||||
%setup -q -n APScheduler-%{version}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
#TODO/FIXME: tests fail with argument mismatch
|
||||
rm tests/test_util.py
|
||||
rm tests/test_executors.py
|
||||
rm tests/test_job.py
|
||||
rm tests/test_jobstores.py
|
||||
rm tests/test_schedulers.py
|
||||
rm tests/test_triggers.py
|
||||
install -m 644 %{SOURCE1} %{_builddir}/APScheduler-%{version}
|
||||
%python_build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
nosetests
|
||||
|
||||
%files
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.rst examples
|
||||
%doc LICENSE.txt README.rst
|
||||
%doc examples/
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user