2010-03-31 13:17:07 +00:00
|
|
|
#
|
2011-03-26 02:10:00 +00:00
|
|
|
# spec file for package python-celery
|
2010-03-31 13:17:07 +00:00
|
|
|
#
|
2014-11-12 10:16:57 +00:00
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2010-03-31 13:17:07 +00:00
|
|
|
#
|
|
|
|
|
# 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.
|
2012-04-11 18:32:40 +00:00
|
|
|
|
2010-03-31 13:17:07 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
|
#
|
|
|
|
|
|
2011-03-26 02:10:00 +00:00
|
|
|
|
2011-11-07 23:30:03 +00:00
|
|
|
Name: python-celery
|
2014-11-12 10:16:57 +00:00
|
|
|
Version: 3.1.16
|
2011-03-26 02:10:00 +00:00
|
|
|
Release: 0
|
2012-04-13 17:24:03 +00:00
|
|
|
Url: http://celeryproject.org
|
2012-03-10 17:57:30 +00:00
|
|
|
Summary: Distributed Task Queue
|
2012-04-11 18:32:40 +00:00
|
|
|
License: BSD-3-Clause
|
2011-03-26 02:10:00 +00:00
|
|
|
Group: Development/Languages/Python
|
2013-09-26 07:53:51 +00:00
|
|
|
Source: https://pypi.python.org/packages/source/c/celery/celery-%{version}.tar.gz
|
2012-04-13 17:24:03 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2012-03-10 17:57:30 +00:00
|
|
|
BuildRequires: python-SQLAlchemy
|
2013-12-01 21:23:59 +00:00
|
|
|
BuildRequires: python-billiard
|
2012-03-10 17:57:30 +00:00
|
|
|
BuildRequires: python-cl
|
|
|
|
|
BuildRequires: python-curses
|
|
|
|
|
BuildRequires: python-dateutil
|
2010-05-15 16:45:49 +00:00
|
|
|
BuildRequires: python-devel
|
2012-03-10 17:57:30 +00:00
|
|
|
BuildRequires: python-eventlet
|
|
|
|
|
BuildRequires: python-gevent
|
2013-12-01 21:23:59 +00:00
|
|
|
BuildRequires: python-kombu >= 3.0.6
|
2012-03-10 17:57:30 +00:00
|
|
|
BuildRequires: python-mock
|
|
|
|
|
BuildRequires: python-nose-cover3
|
|
|
|
|
BuildRequires: python-pyOpenSSL
|
2013-12-01 21:23:59 +00:00
|
|
|
BuildRequires: python-pytz
|
2013-10-24 10:59:41 +00:00
|
|
|
BuildRequires: python-setuptools
|
2013-12-01 21:23:59 +00:00
|
|
|
BuildRequires: python-unittest2
|
2012-04-11 18:32:40 +00:00
|
|
|
%if 0%{?suse_version} == 1110
|
|
|
|
|
BuildRequires: python-importlib
|
|
|
|
|
BuildRequires: python-ordereddict
|
|
|
|
|
BuildRequires: python-unittest2
|
|
|
|
|
Requires: python-importlib
|
|
|
|
|
Requires: python-ordereddict
|
|
|
|
|
%endif
|
2010-05-15 16:45:49 +00:00
|
|
|
Requires: python-anyjson
|
2013-12-01 21:23:59 +00:00
|
|
|
Requires: python-billiard >= 3.3.0.8
|
2011-11-04 17:32:08 +00:00
|
|
|
Requires: python-dateutil
|
2012-03-10 17:57:30 +00:00
|
|
|
Recommends: python-curses
|
|
|
|
|
Recommends: python-pyOpenSSL
|
|
|
|
|
Suggests: python-eventlet
|
|
|
|
|
Suggests: python-gevent
|
|
|
|
|
Suggests: python-pymongo
|
2012-04-13 17:24:03 +00:00
|
|
|
Suggests: python-python-daemon
|
2012-03-10 17:57:30 +00:00
|
|
|
Suggests: python-pytyrant
|
2012-06-28 09:05:25 +00:00
|
|
|
%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()")}
|
2012-04-13 17:24:03 +00:00
|
|
|
%py_requires
|
2012-06-28 09:05:25 +00:00
|
|
|
%else
|
2009-12-22 18:46:27 +00:00
|
|
|
BuildArch: noarch
|
2009-11-20 15:39:23 +00:00
|
|
|
%endif
|
2009-09-22 15:08:54 +00:00
|
|
|
|
|
|
|
|
%description
|
2011-03-26 02:10:00 +00:00
|
|
|
Celery is an open source asynchronous task queue/job queue based on
|
|
|
|
|
distributed message passing. It is focused on real-time operation,
|
|
|
|
|
but supports scheduling as well.
|
2009-09-22 15:08:54 +00:00
|
|
|
|
|
|
|
|
%prep
|
2011-11-07 23:30:03 +00:00
|
|
|
%setup -q -n celery-%{version}
|
2009-09-22 15:08:54 +00:00
|
|
|
|
|
|
|
|
%build
|
2012-02-24 22:28:45 +00:00
|
|
|
python setup.py build
|
2009-09-22 15:08:54 +00:00
|
|
|
|
|
|
|
|
%install
|
2011-03-26 02:10:00 +00:00
|
|
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
|
|
|
|
|
2012-04-11 18:32:40 +00:00
|
|
|
#TODO: Reenable if errors are fixed:
|
|
|
|
|
#%%check
|
|
|
|
|
#python setup.py test
|
2012-03-10 17:57:30 +00:00
|
|
|
|
2011-03-26 02:10:00 +00:00
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
2012-04-13 17:24:03 +00:00
|
|
|
%{python_sitelib}/*
|
2012-07-07 14:14:56 +00:00
|
|
|
%doc Changelog README.rst TODO
|
2013-12-01 21:23:59 +00:00
|
|
|
#%{_bindir}/camqadm
|
2011-03-26 02:10:00 +00:00
|
|
|
%{_bindir}/celery*
|
2009-09-22 15:08:54 +00:00
|
|
|
|
2011-03-26 02:10:00 +00:00
|
|
|
%changelog
|