2011-09-22 08:56:46 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-stomper
|
|
|
|
#
|
2023-09-08 07:04:22 +00:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2011-09-22 08:56:46 +00: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-10-24 11:15:21 +00:00
|
|
|
|
2019-03-26 09:31:38 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-09-22 08:56:46 +00:00
|
|
|
#
|
2009-07-21 14:34:10 +00:00
|
|
|
|
2013-10-24 11:15:21 +00:00
|
|
|
|
2011-09-22 08:56:46 +00:00
|
|
|
Name: python-stomper
|
2019-04-18 17:25:59 +00:00
|
|
|
Version: 0.4.3
|
2011-09-22 08:56:46 +00:00
|
|
|
Release: 0
|
2019-03-26 12:30:50 +00:00
|
|
|
Summary: Transport neutral client implementation of the STOMP protocol
|
2013-10-24 11:15:21 +00:00
|
|
|
License: Apache-2.0
|
2019-04-18 17:25:59 +00:00
|
|
|
URL: https://code.google.com/p/stomper
|
|
|
|
Source0: https://files.pythonhosted.org/packages/source/s/stomper/stomper-%{version}.tar.gz
|
2023-09-08 07:04:22 +00:00
|
|
|
Patch0: remove-future-requirement.patch
|
|
|
|
BuildRequires: %{python_module pip}
|
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
BuildRequires: %{python_module wheel}
|
2019-03-26 09:31:38 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
2019-04-18 17:25:59 +00:00
|
|
|
BuildArch: noarch
|
2019-03-26 09:31:38 +00:00
|
|
|
# SECTION test requirements
|
2020-06-03 11:00:53 +00:00
|
|
|
BuildRequires: %{python_module pytest}
|
2019-03-26 09:31:38 +00:00
|
|
|
# /SECTION
|
|
|
|
%python_subpackages
|
2009-07-21 14:34:10 +00:00
|
|
|
|
|
|
|
%description
|
2012-03-14 10:32:55 +00:00
|
|
|
This is a python client implementation of the STOMP protocol.
|
2011-09-22 08:56:46 +00:00
|
|
|
|
2012-03-14 10:32:55 +00:00
|
|
|
The client is attempting to be transport layer neutral. This module provides
|
|
|
|
functions to create and parse STOMP messages in a programatic fashion. The
|
2011-09-22 08:56:46 +00:00
|
|
|
messages can be easily generated and parsed, however its up to the user to do
|
2011-09-22 08:57:10 +00:00
|
|
|
the sending and receiving.
|
2009-07-21 14:34:10 +00:00
|
|
|
|
|
|
|
%prep
|
2023-09-08 07:04:22 +00:00
|
|
|
%autosetup -p1 -n stomper-%{version}
|
2009-07-21 14:34:10 +00:00
|
|
|
|
|
|
|
%build
|
2023-09-08 07:04:22 +00:00
|
|
|
%pyproject_wheel
|
2009-07-21 14:34:10 +00:00
|
|
|
|
|
|
|
%install
|
2023-09-08 07:04:22 +00:00
|
|
|
%pyproject_install
|
2019-03-26 09:31:38 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
2009-07-21 14:34:10 +00:00
|
|
|
|
2011-09-22 08:56:46 +00:00
|
|
|
%check
|
2020-06-03 11:00:53 +00:00
|
|
|
%pytest lib/stomper/tests/*
|
2009-07-21 14:34:10 +00:00
|
|
|
|
2019-03-26 09:31:38 +00:00
|
|
|
%files %{python_files}
|
2015-05-17 12:10:09 +00:00
|
|
|
%doc README.rst lib/stomper/examples
|
2019-03-26 09:31:38 +00:00
|
|
|
%license LICENSE
|
2023-09-08 07:04:22 +00:00
|
|
|
%{python_sitelib}/stomper
|
|
|
|
%{python_sitelib}/stomper-%{version}.dist-info
|
2009-07-21 14:34:10 +00:00
|
|
|
|
|
|
|
%changelog
|