SHA256
1
0
forked from pool/python-amqp
Files
python-amqp/python-amqp.spec
Dirk Mueller ef05d99a2c - update to 5.2.0:
* Added python 3.12 and drop python 3.7 (#423).
  * Test vine 5.1.0 (#424).
  * Set an explicit timeout on SSL handshake to prevent hangs.
  * Add MessageNacked to recoverable errors.
  * Send heartbeat frames more often.
  - Use AF_UNSPEC for name resolution
  - Add additional error handling around code where an OSError
  - Bugfix: not closing socket after server disconnect
  - Remove TCP_USER_TIMEOUT option for Solaris (#355)
    tests that were being repeated over an
  - Fix faulty ssl sni intiation parameters (#283)
  - Undeprecate auto_delete flag for exchanges. (#287)
  - Fix faulty ssl sni intiation parameters (#283)
  - Undeprecate auto_delete flag for exchanges. (#287)
- replace set_socket_TCP_KEEPALIVE_and_TCP_USER_TIMEOUT.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=86
2023-11-14 12:44:32 +00:00

64 lines
1.9 KiB
RPMSpec

#
# spec file for package python-amqp
#
# Copyright (c) 2023 SUSE LLC
#
# 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/
#
%{?sle15_python_module_pythons}
Name: python-amqp
Version: 5.2.0
Release: 0
Summary: Low-level AMQP client for Python (fork of amqplib)
License: LGPL-2.1-or-later
URL: https://github.com/celery/py-amqp
Source: https://files.pythonhosted.org/packages/source/a/amqp/amqp-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module case >= 1.3.1}
BuildRequires: %{python_module pytest >= 3.0}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module vine >= 5.0.0}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-vine >= 5.0.0
BuildArch: noarch
%python_subpackages
%description
This is a fork of amqplib_ which was originally written by Barry Pederson.
It is maintained by the Celery_ project, and used by kombu as a pure python
alternative when librabbitmq is not available.
This library should be API compatible with librabbitmq.
%prep
%setup -q -n amqp-%{version}
# requires internet connection:
rm t/integration/test_rmq.py
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%license LICENSE
%{python_sitelib}/*
%changelog