forked from pool/python-distributed
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:
@@ -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>
|
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/
|
URL: https://distributed.readthedocs.io/en/latest/
|
||||||
Source: https://files.pythonhosted.org/packages/source/d/distributed/distributed-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/d/distributed/distributed-%{version}.tar.gz
|
||||||
Source99: python-distributed-rpmlintrc
|
Source99: python-distributed-rpmlintrc
|
||||||
BuildRequires: %{python_module Cython}
|
|
||||||
BuildRequires: %{python_module base >= 3.7}
|
BuildRequires: %{python_module base >= 3.7}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@@ -54,6 +53,11 @@ Requires: python-toolz >= 0.8.2
|
|||||||
Requires: python-tornado
|
Requires: python-tornado
|
||||||
Requires: python-tornado >= 6.0.3
|
Requires: python-tornado >= 6.0.3
|
||||||
Requires: python-zict >= 0.1.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}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module PyYAML}
|
BuildRequires: %{python_module PyYAML}
|
||||||
BuildRequires: %{python_module certifi}
|
BuildRequires: %{python_module certifi}
|
||||||
@@ -93,12 +97,12 @@ clusters.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%if ! %{with test}
|
%if ! %{with test}
|
||||||
%python_build --with-cython
|
%python_build %{?cythonize}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%if ! %{with test}
|
%if ! %{with test}
|
||||||
%python_install --with-cython
|
%python_install %{?cythonize}
|
||||||
%python_clone -a %{buildroot}%{_bindir}/dask-ssh
|
%python_clone -a %{buildroot}%{_bindir}/dask-ssh
|
||||||
%python_clone -a %{buildroot}%{_bindir}/dask-scheduler
|
%python_clone -a %{buildroot}%{_bindir}/dask-scheduler
|
||||||
%python_clone -a %{buildroot}%{_bindir}/dask-worker
|
%python_clone -a %{buildroot}%{_bindir}/dask-worker
|
||||||
|
|||||||
Reference in New Issue
Block a user