代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/python-stomper 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%{?python_enable_dependency_generator}
# Disable Python 2
%bcond_with python2
# Enable Python 3
%bcond_without python3
%global commit 9b9fddf596a77e6b7e0407f0e45d02ca3a5ba5e1
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: python-stomper
Version: 0.4.3
Release: 1
Summary: A python client implementation of the STOMP protocol
License: ASL 2.0
URL: https://pypi.io/project/stomper
Source0: https://pypi.io/packages/source/s/stomper/stomper-%{version}.tar.gz
BuildArch: noarch
%description
This is a python client implementation of the STOMP protocol. The client is
attempting to be transport layer neutral. This module provides functions to
create and parse STOMP messages in a programatic fashion.
%if %{with python2}
%package -n python2-stomper
Summary: A python client implementation of the STOMP protocol
%{?python_provide:%python_provide python2-stomper}
BuildRequires: python2-devel
BuildRequires: python2-setuptools
BuildRequires: python2-nose
BuildRequires: python2-future
%if %{undefined __pythondist_requires}
Requires: python2-future
%endif
%description -n python2-stomper
This is a python client implementation of the STOMP protocol. The client is
attempting to be transport layer neutral. This module provides functions to
create and parse STOMP messages in a programatic fashion.
%endif
%if %{with python3}
%package -n python3-stomper
Summary: A python client implementation of the STOMP protocol
%{?python_provide:%python_provide python3-stomper}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-nose
%description -n python3-stomper
This is a python client implementation of the STOMP protocol. The client is
attempting to be transport layer neutral. This module provides functions to
create and parse STOMP messages in a programatic fashion.
%endif
%prep
%setup -q -n stomper-%{version}
%build
%if %{with python2}
%{py2_build}
%endif
%if %{with python3}
%{py3_build}
%endif
%install
%if %{with python2}
%{py2_install}
%endif
%if %{with python3}
%{py3_install}
%endif
%check
%if %{with python2}
PYTHONPATH=. nosetests-%{python2_version} -q
%endif
%if %{with python3}
PYTHONPATH=. nosetests-%{python3_version} -q
%endif
%if %{with python2}
%files -n python2-stomper
%doc README.rst
%{python2_sitelib}/stomper*
%endif
%if %{with python3}
%files -n python3-stomper
%doc README.rst
%{python3_sitelib}/stomper*
%endif
%changelog
* Fri Jul 09 2021 xiehongyu <xiehongyu@kylinos.cn> - 0.4.3-1
- Initial package
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。