2011-02-14 17:14:53 +01:00
|
|
|
#
|
|
|
|
# spec file for package python-kombu
|
|
|
|
#
|
2019-01-31 16:27:51 +01:00
|
|
|
# Copyright (c) 2019 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
|
|
|
|
2019-01-31 16:27:51 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-02-14 17:14:53 +01:00
|
|
|
#
|
|
|
|
|
2013-02-12 22:32:22 +01:00
|
|
|
|
2017-06-30 16:54:58 +02:00
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
2011-11-24 12:39:42 +01:00
|
|
|
Name: python-kombu
|
2019-06-19 13:40:16 +02:00
|
|
|
Version: 4.6.3
|
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
|
2018-08-16 12:46:28 +02:00
|
|
|
URL: https://github.com/celery/kombu
|
|
|
|
Source: https://files.pythonhosted.org/packages/source/k/kombu/kombu-%{version}.tar.gz
|
2013-04-30 11:59:35 +02:00
|
|
|
# Test requirements:
|
2017-06-30 16:54:58 +02:00
|
|
|
BuildRequires: %{python_module PyYAML}
|
2019-02-15 13:35:20 +01:00
|
|
|
BuildRequires: %{python_module Pyro4}
|
2019-06-19 13:40:16 +02:00
|
|
|
BuildRequires: %{python_module amqp >= 2.5.0}
|
2018-01-30 14:39:07 +01:00
|
|
|
BuildRequires: %{python_module boto3}
|
2019-02-15 13:35:20 +01:00
|
|
|
BuildRequires: %{python_module case >= 1.5.2}
|
2019-03-13 11:11:04 +01:00
|
|
|
BuildRequires: %{python_module msgpack > 0.5.2}
|
2017-06-30 16:54:58 +02:00
|
|
|
BuildRequires: %{python_module pytest}
|
|
|
|
BuildRequires: %{python_module pytz}
|
2019-04-23 13:22:08 +02:00
|
|
|
BuildRequires: %{python_module redis >= 3.2.0}
|
2019-02-15 13:35:20 +01:00
|
|
|
BuildRequires: %{python_module setuptools >= 20.6.7}
|
2018-05-23 19:47:50 +02:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
2019-06-19 13:40:16 +02:00
|
|
|
Requires: python-amqp >= 2.5.0
|
2019-03-28 14:39:08 +01:00
|
|
|
Requires: python-setuptools
|
2018-08-16 12:46:28 +02:00
|
|
|
Obsoletes: python-carrot
|
2018-05-23 19:47:50 +02:00
|
|
|
BuildArch: noarch
|
2015-07-27 08:15:17 +02:00
|
|
|
%if 0%{?suse_version}
|
2014-02-19 16:20:25 +01:00
|
|
|
Suggests: couchdb
|
|
|
|
Suggests: mongodb
|
2019-02-15 13:35:20 +01:00
|
|
|
Suggests: python-Pyro4
|
2014-02-19 16:20:25 +01:00
|
|
|
Suggests: rabbitmq-server
|
2015-07-27 08:15:17 +02:00
|
|
|
%endif
|
2017-06-30 16:54:58 +02:00
|
|
|
%python_subpackages
|
2011-02-14 17:14:53 +01:00
|
|
|
|
|
|
|
%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}
|
2011-02-14 17:14:53 +01:00
|
|
|
|
|
|
|
%build
|
2017-06-30 16:54:58 +02:00
|
|
|
%python_build
|
2011-02-14 17:14:53 +01:00
|
|
|
|
|
|
|
%install
|
2017-06-30 16:54:58 +02:00
|
|
|
%python_install
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
2011-02-14 17:14:53 +01:00
|
|
|
|
2012-07-11 14:58:41 +02:00
|
|
|
%check
|
2019-06-19 13:40:16 +02:00
|
|
|
%pytest
|
2012-03-10 18:07:06 +01:00
|
|
|
|
2018-05-23 19:47:50 +02:00
|
|
|
%files %{python_files}
|
|
|
|
%license LICENSE
|
|
|
|
%doc AUTHORS Changelog FAQ README.rst THANKS TODO
|
2017-06-30 16:54:58 +02:00
|
|
|
%{python_sitelib}/kombu
|
|
|
|
%{python_sitelib}/kombu-%{version}-py%{py_ver}.egg-info
|
2011-04-15 17:29:31 +02:00
|
|
|
|
2011-02-14 17:14:53 +01:00
|
|
|
%changelog
|