forked from pool/python-amqpstorm
- Update to 2.6.2
+ Set default TCP Timeout to 10s on UriConnection to match
Connection.
+ Internal RPC Timeout for Opening and Closing Connections are
now set to a fixed 30s.
- Update to 2.6.1
+ Fixed minor issue with the last channel id not being available.
- Update to 2.6.0
+ Re-use closed channel ids.
+ Changed Poller Timeout to be a constant.
+ Improved Connection Close performance.
+ Channels is now a publicly available variable in Connections.
- Update to 2.5.0
+ Upgraded pamqp to v2.0.0.
+ Properly wait until the inbound queue is empty when
break_on_empty is set.
+ Fixed issue with Management queue/exchange declare when the
passive flag was set to True.
OBS-URL: https://build.opensuse.org/request/show/671893
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqpstorm?expand=0&rev=10
73 lines
2.3 KiB
RPMSpec
73 lines
2.3 KiB
RPMSpec
#
|
|
# spec file for package python-amqpstorm
|
|
#
|
|
# 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-amqpstorm
|
|
Version: 2.6.2
|
|
Release: 0
|
|
Summary: Thread-safe Python RabbitMQ Client & Management library
|
|
License: MIT
|
|
Group: Development/Languages/Python
|
|
URL: https://github.com/eandersson/amqpstorm
|
|
Source: https://files.pythonhosted.org/packages/source/A/AMQPStorm/AMQPStorm-%{version}.tar.gz
|
|
BuildRequires: %{python_module mock}
|
|
BuildRequires: %{python_module nose-timer}
|
|
BuildRequires: %{python_module nose}
|
|
BuildRequires: %{python_module pamqp < 3.0.0}
|
|
BuildRequires: %{python_module pamqp >= 2.0.0}
|
|
BuildRequires: %{python_module requests}
|
|
BuildRequires: %{python_module setuptools}
|
|
BuildRequires: fdupes
|
|
BuildRequires: python-rpm-macros
|
|
Requires: python-pamqp < 3.0.0
|
|
Requires: python-pamqp >= 2.0.0
|
|
Requires: python-requests
|
|
BuildArch: noarch
|
|
%python_subpackages
|
|
|
|
%description
|
|
Thread-safe Python RabbitMQ Client & Management library.
|
|
|
|
Supports Python 2.7 and Python 3.3+.
|
|
Tested against CPython, PyPy and Pyston.
|
|
When using a SSL connection, TLSv1 or higher is required.
|
|
|
|
%prep
|
|
%setup -q -n AMQPStorm-%{version}
|
|
|
|
%build
|
|
export LANG="en_US.UTF8"
|
|
%python_build
|
|
|
|
%install
|
|
export LANG="en_US.UTF8"
|
|
%python_install
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}/amqpstorm
|
|
# remove generic named examples from sitelib
|
|
%python_expand rm -rf %{buildroot}%{$python_sitelib}/examples
|
|
|
|
%check
|
|
%python_expand nosetests-%{$python_bin_suffix} amqpstorm/tests/unit
|
|
|
|
%files %{python_files}
|
|
%license LICENSE
|
|
%doc README.rst examples
|
|
%{python_sitelib}/*
|
|
|
|
%changelog
|