2011-02-14 16:14:53 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-kombu
|
|
|
|
#
|
2022-01-03 14:18:42 +00:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2011-02-14 16:14:53 +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.
|
2013-02-12 21:32:22 +00:00
|
|
|
|
2019-01-31 15:27:51 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-02-14 16:14:53 +00:00
|
|
|
#
|
|
|
|
|
2013-02-12 21:32:22 +00:00
|
|
|
|
2017-06-30 14:54:58 +00:00
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
2020-11-17 03:50:34 +00:00
|
|
|
%define skip_python2 1
|
2011-11-24 11:39:42 +00:00
|
|
|
Name: python-kombu
|
2022-01-03 14:18:42 +00:00
|
|
|
Version: 5.2.3
|
2011-04-21 18:09:41 +00:00
|
|
|
Release: 0
|
2011-02-14 16:14:53 +00:00
|
|
|
Summary: AMQP Messaging Framework for Python
|
2013-02-12 21:32:22 +00:00
|
|
|
License: BSD-3-Clause
|
2018-08-16 10:46:28 +00:00
|
|
|
URL: https://github.com/celery/kombu
|
|
|
|
Source: https://files.pythonhosted.org/packages/source/k/kombu/kombu-%{version}.tar.gz
|
2019-10-08 08:58:11 +00:00
|
|
|
BuildRequires: %{python_module Brotli >= 1.0.0}
|
|
|
|
BuildRequires: %{python_module PyYAML >= 3.10}
|
2019-02-15 12:35:20 +00:00
|
|
|
BuildRequires: %{python_module Pyro4}
|
2019-10-08 08:58:11 +00:00
|
|
|
BuildRequires: %{python_module SQLAlchemy}
|
2022-01-03 14:18:42 +00:00
|
|
|
BuildRequires: %{python_module amqp >= 5.0.9}
|
|
|
|
BuildRequires: %{python_module boto3 >= 1.9.12}
|
2021-07-02 08:18:37 +00:00
|
|
|
BuildRequires: %{python_module cached-property}
|
2019-02-15 12:35:20 +00:00
|
|
|
BuildRequires: %{python_module case >= 1.5.2}
|
2019-09-11 13:24:35 +00:00
|
|
|
BuildRequires: %{python_module importlib-metadata >= 0.18}
|
2019-10-08 08:58:11 +00:00
|
|
|
BuildRequires: %{python_module msgpack}
|
|
|
|
BuildRequires: %{python_module pycurl >= 7.43.0.2}
|
2017-06-30 14:54:58 +00:00
|
|
|
BuildRequires: %{python_module pytest}
|
|
|
|
BuildRequires: %{python_module pytz}
|
2022-01-03 14:18:42 +00:00
|
|
|
BuildRequires: %{python_module redis >= 3.4.1}
|
2019-02-15 12:35:20 +00:00
|
|
|
BuildRequires: %{python_module setuptools >= 20.6.7}
|
2018-05-23 17:47:50 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
2022-01-03 14:18:42 +00:00
|
|
|
Requires: python-amqp >= 5.0.9
|
2021-07-02 08:18:37 +00:00
|
|
|
Requires: python-cached-property
|
2019-09-11 13:24:35 +00:00
|
|
|
Requires: python-importlib-metadata >= 0.18
|
2019-03-28 13:39:08 +00:00
|
|
|
Requires: python-setuptools
|
2019-10-08 08:58:11 +00:00
|
|
|
Recommends: python-Brotli >= 1.0.0
|
2020-03-12 07:24:21 +00:00
|
|
|
Recommends: python-PyYAML >= 3.10
|
2018-08-16 10:46:28 +00:00
|
|
|
Obsoletes: python-carrot
|
2018-05-23 17:47:50 +00:00
|
|
|
BuildArch: noarch
|
2017-06-30 14:54:58 +00:00
|
|
|
%python_subpackages
|
2011-02-14 16:14:53 +00: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 11:39:42 +00:00
|
|
|
%setup -q -n kombu-%{version}
|
2019-10-08 08:58:11 +00:00
|
|
|
# pinned dependencies are bad
|
|
|
|
sed -i -e 's:==:>=:g' requirements/*.txt requirements/extras/*.txt
|
2021-07-02 13:30:17 +00:00
|
|
|
# we don't want to pull in the whole azure stack because of few tests of a non-essential feature
|
|
|
|
rm t/unit/transport/test_azureservicebus.py
|
2011-02-14 16:14:53 +00:00
|
|
|
|
|
|
|
%build
|
2017-06-30 14:54:58 +00:00
|
|
|
%python_build
|
2011-02-14 16:14:53 +00:00
|
|
|
|
|
|
|
%install
|
2017-06-30 14:54:58 +00:00
|
|
|
%python_install
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
2011-02-14 16:14:53 +00:00
|
|
|
|
2012-07-11 12:58:41 +00:00
|
|
|
%check
|
2019-06-19 11:40:16 +00:00
|
|
|
%pytest
|
2012-03-10 17:07:06 +00:00
|
|
|
|
2018-05-23 17:47:50 +00:00
|
|
|
%files %{python_files}
|
|
|
|
%license LICENSE
|
2019-12-13 16:56:26 +00:00
|
|
|
%doc AUTHORS FAQ README.rst THANKS TODO
|
2017-06-30 14:54:58 +00:00
|
|
|
%{python_sitelib}/kombu
|
2020-03-12 07:24:21 +00:00
|
|
|
%{python_sitelib}/kombu-%{version}-py*.egg-info
|
2011-04-15 15:29:31 +00:00
|
|
|
|
2011-02-14 16:14:53 +00:00
|
|
|
%changelog
|