SHA256
1
0
forked from pool/python-kombu
python-kombu/python-kombu.spec
Tomáš Chvátal 58093dfda2 Accepting request 689320 from home:pgajdos
- version update to 4.4.0
  * Restore bz2 import checks in compression module.
  * Fix regression that occurred in 4.3.0
    when parsing  Redis Sentinel master URI containing password.
  * Handle the case when only one Redis Sentinel node is provided.
  * Support SSL URL parameters correctly for `rediss://`` URIs.
  * Revert `celery/kombu#954 <https://github.com/celery/kombu/pull/954>`_.
    Instead bump the required redis-py dependency to 3.2.0
    to include this fix `andymccurdy/redis-py@4e1e748
  * Added support for broadcasting using a regular expression pattern
    or a glob pattern to multiple Pidboxes.

OBS-URL: https://build.opensuse.org/request/show/689320
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=135
2019-03-28 13:39:08 +00:00

86 lines
2.7 KiB
RPMSpec

#
# spec file for package python-kombu
#
# Copyright (c) 2019 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
# 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.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-kombu
Version: 4.4.0
Release: 0
Summary: AMQP Messaging Framework for Python
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/celery/kombu
Source: https://files.pythonhosted.org/packages/source/k/kombu/kombu-%{version}.tar.gz
# Test requirements:
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module Pyro4}
BuildRequires: %{python_module amqp >= 2.4.0}
BuildRequires: %{python_module boto3}
BuildRequires: %{python_module case >= 1.5.2}
BuildRequires: %{python_module msgpack > 0.5.2}
BuildRequires: %{python_module pytest-sugar}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytz}
BuildRequires: %{python_module redis}
BuildRequires: %{python_module setuptools >= 20.6.7}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-amqp >= 2.4.0
Requires: python-setuptools
Obsoletes: python-carrot
BuildArch: noarch
%if 0%{?suse_version}
Suggests: couchdb
Suggests: mongodb
Suggests: python-Pyro4
Suggests: rabbitmq-server
%endif
%python_subpackages
%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
%setup -q -n kombu-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py test
%files %{python_files}
%license LICENSE
%doc AUTHORS Changelog FAQ README.rst THANKS TODO
%{python_sitelib}/kombu
%{python_sitelib}/kombu-%{version}-py%{py_ver}.egg-info
%changelog