forked from pool/python-autobahn
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-autobahn?expand=0&rev=14
This commit is contained in:
committed by
Git OBS Bridge
parent
2f97b3bf19
commit
a445d940ec
@@ -32,6 +32,7 @@ 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 devel}
|
||||
BuildRequires: %{python_module flatbuffers >= 1.10}
|
||||
BuildRequires: %{python_module lz4 >= 0.7.0}
|
||||
BuildRequires: %{python_module mock >= 1.3.0}
|
||||
@@ -54,7 +55,7 @@ BuildRequires: python-rpm-macros
|
||||
BuildRequires: python2-trollius
|
||||
BuildRequires: python3-pytest-aiohttp
|
||||
BuildRequires: python3-pytest-asyncio
|
||||
Requires: python-PyNaCl >= 1.0.1}
|
||||
Requires: python-PyNaCl >= 1.0.1
|
||||
Requires: python-PyQRCode >= 1.1
|
||||
Requires: python-Twisted >= 12.1.0
|
||||
Requires: python-argon2-cffi >= 18.1.0
|
||||
@@ -74,8 +75,6 @@ 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
|
||||
#https://github.com/crossbario/autobahn-python/blob/master/setup.py#L108
|
||||
%ifpython2
|
||||
Requires: python-futures >= 3.0.4
|
||||
Requires: python-trollius >= 2.0
|
||||
@@ -94,15 +93,18 @@ export AUTOBAHN_USE_NVX=true
|
||||
%python_build
|
||||
|
||||
%install
|
||||
export AUTOBAHN_USE_NVX=true
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%check
|
||||
export USE_ASYNCIO=true
|
||||
%pytest
|
||||
export AUTOBAHN_USE_NVX=true
|
||||
%pytest_arch autobahn/
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
%doc README.rst
|
||||
%{python_sitearch}/*
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user