38c1ef2
Name:           stomppy
e981900
Version:        8.1.2
2d1c4af
Release:        %autorelease
38c1ef2
Summary:        Python stomp client for messaging
38c1ef2
ebde5da
License:        Apache-2.0
5a2d451
URL:            https://github.com/jasonrbriggs/stomp.py
e981900
Source0:        %{pypi_source stomp_py}
38c1ef2
BuildArch:      noarch
38c1ef2
cb65bcb
BuildRequires:  python3-devel
38c1ef2
5e91389
%description
5e91389
stomp.py is a Python client library for accessing messaging servers 
5e91389
(such as ActiveMQ or JBoss Messaging) using the STOMP protocol. It can also
5e91389
be run as a standalone, command-line client for testing.
7dbe6b2
cb65bcb
%package -n python3-stomppy
cb65bcb
Summary:        Python stomp client for messaging for python3
cb65bcb
cb65bcb
%description -n python3-stomppy
cb65bcb
stomp.py is a Python client library for accessing messaging servers 
cb65bcb
(such as ActiveMQ or JBoss Messaging) using the STOMP protocol. It can also
cb65bcb
be run as a standalone, command-line client for testing.
cb65bcb
cb65bcb
This module is for the python3.
cb65bcb
38c1ef2
%prep
e981900
%autosetup -n stomp_py-%{version}
38c1ef2
5a2d451
%generate_buildrequires
5a2d451
%pyproject_buildrequires
5a2d451
38c1ef2
%build
5a2d451
%pyproject_wheel
cb65bcb
38c1ef2
%install
5a2d451
%pyproject_install
5a2d451
%pyproject_save_files stomp
cb65bcb
5e91389
%check
5a2d451
# Upsteream tests require a running activemq, rabbitmq, ....
966836a
%pyproject_check_import
cb65bcb
5a2d451
%files -n python3-stomppy -f %{pyproject_files}
d598bf3
%{_bindir}/stomp
cb65bcb
38c1ef2
%changelog
2d1c4af
%autochangelog