14
0
Files
python-stomp.py/python-stomp.py.spec
Sebastian Wagner 6cf1a28960 - update to version 6.0.0:
* Update to not allow a null (None) listener when calling set_listener (minor code "smell" tidy up)
 * Change get_ssl call in connect to be consistent with transport method
 * Add a sleep to the heartbeat loop
 * Minor change to make quote-use more consistent (replace single with double in most places)
 * Change build to use [Python Poetry](https://python-poetry.org/)
 * Test coverage improvement
 * Threading fix (is_alive) - https://github.com/jasonrbriggs/stomp.py/issues/286

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-stomp.py?expand=0&rev=14
2020-02-21 20:18:23 +00:00

57 lines
1.8 KiB
RPMSpec

#
# spec file for package python-stomp.py
#
# Copyright (c) 2020 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/
#
%define skip_python2 1
Name: python-stomp.py
Version: 6.0.0
Release: 0
Summary: Python STOMP client
License: Apache-2.0
URL: https://github.com/jasonrbriggs/stomp.py
Source0: https://files.pythonhosted.org/packages/source/s/stomp.py/stomp.py-%{version}.tar.gz
# using github archive for docs
Source1: https://github.com/jasonrbriggs/stomp.py/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-docopt >= 0.6.2
BuildArch: noarch
%python_subpackages
%description
A Python client library for accessing messaging servers (such as ActiveMQ, Apollo or RabbitMQ) using the STOMP protocol versions 1.0, 1.1 and 1.2. It can also be run as a standalone, command-line client for testing.
%prep
%setup -q -n stomp.py-%{version}
%setup -q -n stomp.py-%{version} -D -b 1
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%doc README CHANGELOG
%license LICENSE
%{python_sitelib}/*
%python3_only %{_bindir}/stomp
%changelog