15
0

- Update to 19.3.2:

* no upstream changelog
- List all the missing requirements based on setup.py

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-autobahn?expand=0&rev=10
This commit is contained in:
Tomáš Chvátal
2019-03-19 14:51:16 +00:00
committed by Git OBS Bridge
parent 97745b29fa
commit fd113ffbcc
4 changed files with 62 additions and 18 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d98b924f06865700116ee616027e4a6d678004a7b44e0d01cb262eab333112d6
size 225185

3
autobahn-19.3.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:70a221d5e01923ea81457de04a3270ea2de376a759345ec4e8693db216c603a9
size 265350

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Mar 19 14:37:02 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 19.3.2:
* no upstream changelog
- List all the missing requirements based on setup.py
-------------------------------------------------------------------
Thu Oct 18 09:23:10 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-autobahn
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 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
@@ -18,31 +18,67 @@
%{?!python_module:%define python_module() python-%{**} %{!?skip_python3:python3-%{**}}}
Name: python-autobahn
Version: 18.9.2
Version: 19.3.2
Release: 0
Summary: WebSocket and WAMP in Python for Twisted and asyncio
License: MIT
Group: Development/Languages/Python
URL: http://crossbar.io/autobahn
URL: https://github.com/crossbario/autobahn-python
Source: https://files.pythonhosted.org/packages/source/a/autobahn/autobahn-%{version}.tar.gz
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module Twisted >= 12.1.0}
BuildRequires: %{python_module argon2_cffi >= 18.1.0}
BuildRequires: %{python_module cbor >= 1.0.0}
BuildRequires: %{python_module cbor2 >= 4.1.2}
BuildRequires: %{python_module cffi >= 1.11.5}
BuildRequires: %{python_module flatbuffers >= 1.10}
BuildRequires: %{python_module lz4 >= 0.7.0}
BuildRequires: %{python_module mock >= 1.3.0}
BuildRequires: %{python_module msgpack >= 0.6.1}
BuildRequires: %{python_module passlib >= 1.7.1}
BuildRequires: %{python_module py-ubjson >= 0.8.4}
BuildRequires: %{python_module pynacl >= 1.0.1}
BuildRequires: %{python_module pyopenssl >= 16.2.0}
BuildRequires: %{python_module pyqrcode >= 1.1}
BuildRequires: %{python_module pytest >= 2.8.6}
BuildRequires: %{python_module pytrie >= 0.2}
BuildRequires: %{python_module service_identity >= 16.0.0}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six >= 1.11.0}
BuildRequires: %{python_module txaio >= 18.8.1}
BuildRequires: %{python_module ujson >= 1.35}
BuildRequires: %{python_module wsaccel >= 0.6.2}
BuildRequires: %{python_module zope.interface >= 3.6.0}
BuildRequires: fdupes
BuildRequires: python-futures >= 3.0.4
BuildRequires: python-rpm-macros
BuildRequires: python2-trollius
BuildRequires: python3-pytest-aiohttp
BuildRequires: python3-pytest-asyncio
Requires: python-Twisted
Requires: python-six
Requires: python-txaio
Requires: python-Twisted >= 12.1.0
Requires: python-argon2_cffi >= 18.1.0
Requires: python-cbor >= 1.0.0
Requires: python-cbor2 >= 4.1.2
Requires: python-cffi >= 1.11.5
Requires: python-flatbuffers >= 1.10
Requires: python-lz4 >= 0.7.0
Requires: python-msgpack >= 0.6.1
Requires: python-passlib >= 1.7.1
Requires: python-py-ubjson >= 0.8.4
Requires: python-pynacl >= 1.0.1}
Requires: python-pyopenssl >= 16.2.0
Requires: python-pyqrcode >= 1.1
Requires: python-pytrie >= 0.2
Requires: python-service_identity >= 16.0.0
Requires: python-six >= 1.11.0
Requires: python-txaio >= 18.8.1
Requires: python-ujson >= 1.35
Requires: python-wsaccel >= 0.6.2
Requires: python-zope.interface >= 3.6.0
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module Twisted}
BuildRequires: %{python_module six >= 1.10.0}
BuildRequires: %{python_module txaio}
# /SECTION
#https://github.com/crossbario/autobahn-python/blob/master/setup.py#L108
%ifpython2
Requires: python-trollius
Requires: python-futures >= 3.0.4
Requires: python-trollius >= 2.0
%endif
%python_subpackages
@@ -54,6 +90,7 @@ asynchronous Remote Procedure Calls and Publish & Subscribe on top of WebSocket.
%setup -q -n autobahn-%{version}
%build
export AUTOBAHN_USE_NVX=true
%python_build
%install
@@ -62,7 +99,7 @@ asynchronous Remote Procedure Calls and Publish & Subscribe on top of WebSocket.
%check
export USE_ASYNCIO=true
%{python_expand PYTHONPATH=. $python -m pytest autobahn}
%pytest
%files %{python_files}
%license LICENSE