14
0
forked from pool/python-amqp
Files
python-amqp/python-amqp.spec
Jan Matejek cd697f119a Accepting request 479902 from home:tbechtold:branches:devel:languages:python
- update to 2.1.4:
  - Removes byte string comparison warnings when running under ``python -b``.
  - Linux version parsing broke when the version included a '+' character
    (Issue #119).
  - Now sets default TCP settings for platforms that support them (e.g. Linux).
  - Fixes compatibility with Python 2.7.5 and below (Issue #107).
  - Linux: Now sets the :data:`~socket.TCP_USER_TIMEOUT` flag if available
    for better failed connection detection.
  - Python compatibility: Fixed compatibility when using the python ``-b`` flag.
  - Frame writer: Account for overhead when calculating frame size.
  - Frame writer: Account for overhead when calculating frame size.
  - Datetimes in method frame arguments are now handled properly.
  - Fixed compatibility with Python <= 2.7.6
  - Frame_writer is no longer a generator, which should solve
    a rare "generator already executing" error (Issue #103).
  - SSLTransport: Fixed crash "no attribute sslopts" when ``ssl=True``
    (Issue #100).
  - Fixed incompatible argument spec for ``Connection.Close`` (Issue #45).
    This caused the RabbitMQ server to raise an exception (INTERNAL ERROR).
  - Transport: No longer implements `__del__` to make sure gc can collect
    connections.
  - Python 3: Installation requirements ended up being a generator
    and crashed setup.py.
  - Python <= 2.7.7: struct.pack arguments cannot be unicode
  - Python 3.4: Fixed use of `bytes % int`.
  - Connection/Transport: Fixed handling of default port.
  - Adds backward compatibility layer for the 1.4 API.
  - Fixes kombu 3.0/celery 3.1 compatibility (Issue #88).
  - Fixed compatibility with Python 2.7.3 (Issue #85)
  - Fixed bug where calling drain_events() with a timeout of 0 would actually

OBS-URL: https://build.opensuse.org/request/show/479902
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=41
2017-03-16 14:24:26 +00:00

64 lines
1.9 KiB
RPMSpec

#
# spec file for package python-amqp
#
# Copyright (c) 2017 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 http://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-amqp
Version: 2.1.4
Release: 0
Summary: Low-level AMQP client for Python (fork of amqplib)
License: LGPL-2.1+
Group: Development/Languages/Python
Url: http://github.com/celery/py-amqp
Source: https://pypi.io/packages/source/a/amqp/amqp-%{version}.tar.gz
Source99: %{name}.changes
BuildRequires: %{python_module case}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module vine}
BuildRequires: python-rpm-macros
Requires: python-vine >= 1.1.3
BuildRoot: %{_tmppath}/%{name}-%{version}-build
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}
%build
%python_build
%install
%python_install
%check
%python_exec %{_bindir}/py.test
%files %python_files
%defattr(-,root,root,-)
%doc LICENSE
%{python_sitelib}/*
%changelog