Accepting request 882710 from home:bnavigator:branches:devel:languages:python:numeric
- Disable Cythonization for 32-bit gh#dask/dask#7489 OBS-URL: https://build.opensuse.org/request/show/882710 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-distributed?expand=0&rev=93
This commit is contained in:
parent
f6819de955
commit
1bbcb22eeb
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 2 10:06:50 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Disable Cythonization for 32-bit gh#dask/dask#7489
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 30 20:57:39 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
@ -36,7 +36,6 @@ License: BSD-3-Clause
|
||||
URL: https://distributed.readthedocs.io/en/latest/
|
||||
Source: https://files.pythonhosted.org/packages/source/d/distributed/distributed-%{version}.tar.gz
|
||||
Source99: python-distributed-rpmlintrc
|
||||
BuildRequires: %{python_module Cython}
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
@ -54,6 +53,11 @@ Requires: python-toolz >= 0.8.2
|
||||
Requires: python-tornado
|
||||
Requires: python-tornado >= 6.0.3
|
||||
Requires: python-zict >= 0.1.3
|
||||
%ifnarch %ix86 %arm
|
||||
# cython optimizations not supported on 32-bit: https://github.com/dask/dask/issues/7489
|
||||
BuildRequires: %{python_module Cython}
|
||||
%define cythonize --with-cython
|
||||
%endif
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module PyYAML}
|
||||
BuildRequires: %{python_module certifi}
|
||||
@ -93,12 +97,12 @@ clusters.
|
||||
|
||||
%build
|
||||
%if ! %{with test}
|
||||
%python_build --with-cython
|
||||
%python_build %{?cythonize}
|
||||
%endif
|
||||
|
||||
%install
|
||||
%if ! %{with test}
|
||||
%python_install --with-cython
|
||||
%python_install %{?cythonize}
|
||||
%python_clone -a %{buildroot}%{_bindir}/dask-ssh
|
||||
%python_clone -a %{buildroot}%{_bindir}/dask-scheduler
|
||||
%python_clone -a %{buildroot}%{_bindir}/dask-worker
|
||||
|
Loading…
Reference in New Issue
Block a user