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
|
|
|
#
|
2012-02-24 22:28:45 +00:00
|
|
|
# Copyright (c) 2012 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
|
2012-07-26 22:25:25 +00:00
|
|
|
Version: 3.0.4
|
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
|
2012-04-13 17:24:03 +00:00
|
|
|
Source: celery-%{version}.tar.bz2
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2012-03-10 17:57:30 +00:00
|
|
|
BuildRequires: python-SQLAlchemy
|
|
|
|
|
BuildRequires: python-cl
|
|
|
|
|
BuildRequires: python-curses
|
|
|
|
|
BuildRequires: python-dateutil
|
2010-05-15 16:45:49 +00:00
|
|
|
BuildRequires: python-devel
|
2011-09-08 01:45:37 +00:00
|
|
|
BuildRequires: python-distribute
|
2012-03-10 17:57:30 +00:00
|
|
|
BuildRequires: python-eventlet
|
|
|
|
|
BuildRequires: python-gevent
|
2012-07-26 22:25:25 +00:00
|
|
|
BuildRequires: python-kombu >= 2.3
|
2012-03-10 17:57:30 +00:00
|
|
|
BuildRequires: python-mock
|
|
|
|
|
BuildRequires: python-nose-cover3
|
|
|
|
|
BuildRequires: python-pyOpenSSL
|
2012-04-11 18:32:40 +00:00
|
|
|
%if 0%{?suse_version} == 1110
|
|
|
|
|
BuildRequires: python-importlib
|
|
|
|
|
BuildRequires: python-ordereddict
|
|
|
|
|
BuildRequires: python-unittest2
|
2012-06-28 09:05:25 +00:00
|
|
|
# See changes entry from "Jun 6 17:31:29 UTC 2012":
|
|
|
|
|
# TODO/FIXME: Drop this as as soon as possible, d:l:p already has a newer kombu,
|
2012-07-10 22:46:07 +00:00
|
|
|
Conflicts: python-kombu >= 2.2.5
|
2012-04-11 18:32:40 +00:00
|
|
|
Requires: python-importlib
|
|
|
|
|
Requires: python-ordereddict
|
|
|
|
|
%endif
|
2010-05-15 16:45:49 +00:00
|
|
|
Requires: python-anyjson
|
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
|
2011-03-26 02:10:00 +00:00
|
|
|
%{_bindir}/camqadm
|
|
|
|
|
%{_bindir}/celery*
|
2009-09-22 15:08:54 +00:00
|
|
|
|
2011-03-26 02:10:00 +00:00
|
|
|
%changelog
|