14
0
forked from pool/python-txaio

Accepting request 582419 from devel:languages:python

- Initial package

OBS-URL: https://build.opensuse.org/request/show/582419
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-txaio?expand=0&rev=1
This commit is contained in:
2018-03-07 09:34:12 +00:00
committed by Git OBS Bridge
parent 4bba85d5a6
commit 315e6fbc2b
4 changed files with 18 additions and 64 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-txaio
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,39 +12,34 @@
# 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/
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-txaio
Version: 20.1.1
Version: 2.9.0
Release: 0
Summary: WebSocket and WAMP in Python for Twisted and asyncio
License: MIT
Summary: WebSocket and WAMP in Python for Twisted and asyncio
Url: http://crossbar.io/autobahn
Group: Development/Languages/Python
URL: https://github.com/crossbario/txaio
Source: https://files.pythonhosted.org/packages/source/t/txaio/txaio-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python3-testsuite
Requires: python-six
Recommends: python-Twisted >= 12.1.0
Recommends: python-zope.interface >= 3.6
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module Twisted >= 12.1.0}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module Twisted}
BuildRequires: %{python_module six}
# /SECTION
Requires: python-six
BuildArch: noarch
%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 txaio-%{version}
@@ -57,10 +52,10 @@ asynchronous Remote Procedure Calls and Publish & Subscribe on top of WebSocket.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest -k 'not test_sdist'
%python_exec setup.py test
%files %{python_files}
%license LICENSE
%doc LICENSE
%{python_sitelib}/*
%changelog