2011-02-14 17:14:53 +01:00
|
|
|
#
|
|
|
|
# spec file for package python-kombu
|
|
|
|
#
|
2015-04-22 15:55:02 +02:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
2011-02-14 17:14:53 +01: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.
|
2013-02-12 22:32:22 +01:00
|
|
|
|
2011-02-14 17:14:53 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2013-02-12 22:32:22 +01:00
|
|
|
|
2011-11-24 12:39:42 +01:00
|
|
|
Name: python-kombu
|
2015-05-07 14:04:04 +02:00
|
|
|
Version: 3.0.26
|
2011-04-21 20:09:41 +02:00
|
|
|
Release: 0
|
2011-02-14 17:14:53 +01:00
|
|
|
Summary: AMQP Messaging Framework for Python
|
2013-02-12 22:32:22 +01:00
|
|
|
License: BSD-3-Clause
|
2011-02-14 17:14:53 +01:00
|
|
|
Group: Development/Languages/Python
|
2015-05-07 14:04:04 +02:00
|
|
|
Url: https://github.com/celery/kombu
|
2012-07-11 14:58:41 +02:00
|
|
|
Source: http://pypi.python.org/packages/source/k/kombu/kombu-%{version}.tar.gz
|
2013-04-30 11:59:35 +02:00
|
|
|
BuildRequires: python-devel
|
2013-08-09 10:24:25 +02:00
|
|
|
BuildRequires: python-setuptools
|
2013-04-30 11:59:35 +02:00
|
|
|
# Test requirements:
|
2013-02-12 22:32:22 +01:00
|
|
|
BuildRequires: python-PyYAML
|
2014-11-20 16:47:06 +01:00
|
|
|
BuildRequires: python-amqp >= 1.4.6
|
2015-05-07 14:04:04 +02:00
|
|
|
BuildRequires: python-anyjson >= 0.3.3
|
2013-04-30 11:59:35 +02:00
|
|
|
BuildRequires: python-boto
|
2012-03-10 18:07:06 +01:00
|
|
|
BuildRequires: python-mock
|
2015-05-07 14:04:04 +02:00
|
|
|
BuildRequires: python-msgpack-python
|
2012-03-10 18:07:06 +01:00
|
|
|
BuildRequires: python-nose-cover3
|
2013-01-15 14:07:35 +01:00
|
|
|
BuildRequires: python-unittest2 >= 0.5.0
|
2012-12-06 13:52:36 +01:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
2013-04-30 11:59:35 +02:00
|
|
|
BuildRequires: python-importlib
|
|
|
|
BuildRequires: python-ordereddict
|
2012-12-06 13:52:36 +01:00
|
|
|
Requires: python-importlib
|
|
|
|
Requires: python-ordereddict
|
2012-12-06 14:33:46 +01:00
|
|
|
%endif
|
2014-09-15 16:00:10 +02:00
|
|
|
Requires: python-amqp >= 1.4.6
|
2013-04-30 11:59:35 +02:00
|
|
|
Requires: python-anyjson >= 0.3.3
|
2014-02-19 16:20:25 +01:00
|
|
|
Suggests: couchdb
|
|
|
|
Suggests: mongodb
|
|
|
|
Suggests: rabbitmq-server
|
2011-02-14 17:14:53 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2012-07-11 14:58:41 +02: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()")}
|
|
|
|
%else
|
2011-02-14 17:14:53 +01:00
|
|
|
BuildArch: noarch
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%description
|
|
|
|
An AMQP messaging framework for Python.
|
|
|
|
|
|
|
|
AMQP is the Advanced Message Queuing Protocol, an open standard protocol
|
|
|
|
for message orientation, queuing, routing, reliability and security.
|
|
|
|
|
|
|
|
One of the most popular implementations of AMQP is RabbitMQ.
|
|
|
|
|
|
|
|
The aim of Kombu is to make messaging in Python as easy as possible by
|
|
|
|
providing an idiomatic high-level interface for the AMQP protocol, and also
|
|
|
|
provide proven and tested solutions to common messaging problems.
|
|
|
|
|
|
|
|
%prep
|
2011-11-24 12:39:42 +01:00
|
|
|
%setup -q -n kombu-%{version}
|
2013-01-11 19:13:07 +01:00
|
|
|
# For rpmlint warning: remove shebang from python library:
|
|
|
|
sed -i '/^#!/d' ./kombu/tests/test_serialization.py
|
2011-02-14 17:14:53 +01:00
|
|
|
|
|
|
|
%build
|
2012-01-17 02:18:47 +01:00
|
|
|
python setup.py build
|
2011-02-14 17:14:53 +01:00
|
|
|
|
|
|
|
%install
|
2011-11-24 12:39:42 +01:00
|
|
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
2011-02-14 17:14:53 +01:00
|
|
|
|
2012-07-11 14:58:41 +02:00
|
|
|
%check
|
2015-05-07 14:04:04 +02:00
|
|
|
python setup.py -q test
|
2012-03-10 18:07:06 +01:00
|
|
|
|
2011-02-14 17:14:53 +01:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2013-12-01 22:22:48 +01:00
|
|
|
%doc AUTHORS Changelog FAQ README.rst THANKS TODO LICENSE
|
2011-09-06 00:56:33 +02:00
|
|
|
%{python_sitelib}/*
|
2011-04-15 17:29:31 +02:00
|
|
|
|
2011-02-14 17:14:53 +01:00
|
|
|
%changelog
|