15
0
Tomáš Chvátal
2018-03-10 10:18:27 +00:00
committed by Git OBS Bridge
parent f8d31d5a12
commit fc483af3d8

View File

@@ -13,42 +13,43 @@
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} %{!?skip_python3:python3-%{**}}}
Name: python-autobahn
Version: 17.10.1
Release: 0
License: MIT
Summary: WebSocket and WAMP in Python for Twisted and asyncio
Url: http://crossbar.io/autobahn
License: MIT
Group: Development/Languages/Python
Url: http://crossbar.io/autobahn
Source: https://files.pythonhosted.org/packages/source/a/autobahn/autobahn-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module unittest2}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python-trollius
Requires: python-Twisted
Requires: python-six
Requires: python-txaio
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module Twisted}
BuildRequires: %{python_module six >= 1.10.0}
BuildRequires: %{python_module txaio}
# /SECTION
Requires: python-Twisted
Requires: python-six
Requires: python-txaio
BuildArch: noarch
%ifpython2
BuildRequires: python-trollius
%ifpythhon2
Requires: python-trollius
%endif
%python_subpackages
%description
WebSocket allows bidirectional real-time messaging on the Web and WAMP adds
asynchronous Remote Procedure Calls and Publish & Subscribe on top of WebSocket.
WebSocket allows bidirectional real-time messaging on the Web and WAMP adds
asynchronous Remote Procedure Calls and Publish & Subscribe on top of WebSocket.
%prep
%setup -q -n autobahn-%{version}