Hello community,
here is the log from the commit of package python-autobahn for openSUSE:Factory
checked in at 2020-08-20 22:31:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-autobahn (Old)
and /work/SRC/openSUSE:Factory/.python-autobahn.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-autobahn"
Thu Aug 20 22:31:26 2020 rev:13 rq:828104 version:20.7.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-autobahn/python-autobahn.changes
2020-07-24 12:10:37.081878652 +0200
+++
/work/SRC/openSUSE:Factory/.python-autobahn.new.3399/python-autobahn.changes
2020-08-20 22:31:34.824058539 +0200
@@ -1,0 +2,5 @@
+Thu Aug 20 08:47:52 UTC 2020 - Guillaume GARDET <[email protected]>
+
+- Do not use NVX on %arm and aarch64
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-autobahn.spec ++++++
--- /var/tmp/diff_new_pack.bkYkxr/_old 2020-08-20 22:31:35.876059031 +0200
+++ /var/tmp/diff_new_pack.bkYkxr/_new 2020-08-20 22:31:35.880059033 +0200
@@ -15,6 +15,11 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
+%ifarch %arm aarch64
+%bcond_with nvx_support
+%else
+%bcond_without nvx_support
+%endif
%{?!python_module:%define python_module() python-%{**}
%{!?skip_python3:python3-%{**}}}
%define skip_python2 1
@@ -92,23 +97,30 @@
rm autobahn/test/test_rng.py
%build
+%if %{with nvx_support}
export AUTOBAHN_USE_NVX=true
+%endif
export CFLAGS="%{optflags}"
%python_build
%install
+%if %{with nvx_support}
export AUTOBAHN_USE_NVX=true
+%endif
%python_install
%python_clone -a %{buildroot}%{_bindir}/wamp
%python_clone -a %{buildroot}%{_bindir}/xbrnetwork
%python_expand %fdupes %{buildroot}%{$python_sitearch}
+%if %{with nvx_support}
+# It tries to test NVX, even if disabled
%check
export USE_ASYNCIO=true
export AUTOBAHN_USE_NVX=true
export PYTHONDONTWRITEBYTECODE=1
export PY_IGNORE_IMPORTMISMATCH=1
%pytest_arch
+%endif
%post
%python_install_alternative wamp xbrnetwork