2011-02-14 17:14:53 +01:00
|
|
|
#
|
|
|
|
# spec file for package python-kombu
|
|
|
|
#
|
2024-02-01 11:47:42 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
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
|
|
|
|
2023-06-11 22:07:22 +02:00
|
|
|
%{?sle15_python_module_pythons}
|
2011-11-24 12:39:42 +01:00
|
|
|
Name: python-kombu
|
2024-04-14 09:47:21 +02:00
|
|
|
Version: 5.3.7
|
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
|
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
|
2023-02-23 07:09:52 +01:00
|
|
|
# PATCH-FIX-OPENSUSE Use Pyro4 compatibility for now, upstream should switch
|
|
|
|
# for 5.3
|
|
|
|
Patch0: support-pyro-5.patch
|
2019-10-08 10:58:11 +02:00
|
|
|
BuildRequires: %{python_module Brotli >= 1.0.0}
|
|
|
|
BuildRequires: %{python_module PyYAML >= 3.10}
|
2023-02-23 07:09:52 +01:00
|
|
|
BuildRequires: %{python_module Pyro5}
|
2019-10-08 10:58:11 +02:00
|
|
|
BuildRequires: %{python_module SQLAlchemy}
|
2024-02-08 10:07:56 +01:00
|
|
|
BuildRequires: %{python_module amqp >= 5.1.1}
|
2024-02-01 11:47:42 +01:00
|
|
|
BuildRequires: %{python_module azure-identity >= 1.12.0}
|
2024-04-03 10:24:30 +02:00
|
|
|
BuildRequires: %{python_module boto3 >= 1.26.143}
|
2024-02-01 11:47:42 +01:00
|
|
|
BuildRequires: %{python_module hypothesis}
|
2019-10-08 10:58:11 +02:00
|
|
|
BuildRequires: %{python_module msgpack}
|
|
|
|
BuildRequires: %{python_module pycurl >= 7.43.0.2}
|
2017-06-30 16:54:58 +02:00
|
|
|
BuildRequires: %{python_module pytest}
|
2022-01-03 15:18:42 +01:00
|
|
|
BuildRequires: %{python_module redis >= 3.4.1}
|
2019-02-15 13:35:20 +01:00
|
|
|
BuildRequires: %{python_module setuptools >= 20.6.7}
|
2022-01-11 01:07:29 +01:00
|
|
|
BuildRequires: %{python_module vine}
|
2018-05-23 19:47:50 +02:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
2023-04-12 04:17:34 +02:00
|
|
|
BuildRequires: timezone
|
2024-02-08 10:07:56 +01:00
|
|
|
Requires: python-amqp >= 5.1.1
|
2022-01-11 01:07:29 +01:00
|
|
|
Requires: python-vine
|
2024-02-08 10:07:56 +01:00
|
|
|
%if 0%{?python_version_nodots} < 310
|
|
|
|
Requires: python-typing_extensions
|
|
|
|
%endif
|
2019-10-08 10:58:11 +02:00
|
|
|
Recommends: python-Brotli >= 1.0.0
|
2020-03-12 08:24:21 +01:00
|
|
|
Recommends: python-PyYAML >= 3.10
|
2018-05-23 19:47:50 +02:00
|
|
|
BuildArch: noarch
|
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
|
2023-02-23 07:09:52 +01:00
|
|
|
%autosetup -p1 -n kombu-%{version}
|
2019-10-08 10:58:11 +02:00
|
|
|
# pinned dependencies are bad
|
|
|
|
sed -i -e 's:==:>=:g' requirements/*.txt requirements/extras/*.txt
|
2021-07-02 15:30:17 +02: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 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
|
2019-12-13 17:56:26 +01:00
|
|
|
%doc AUTHORS FAQ README.rst THANKS TODO
|
2017-06-30 16:54:58 +02:00
|
|
|
%{python_sitelib}/kombu
|
2020-03-12 08:24:21 +01:00
|
|
|
%{python_sitelib}/kombu-%{version}-py*.egg-info
|
2011-04-15 17:29:31 +02:00
|
|
|
|
2011-02-14 17:14:53 +01:00
|
|
|
%changelog
|