forked from pool/python-cloudpickle
Accepting request 623634 from devel:languages:python
- Fix runtime dependencies and raise numpy requirement OBS-URL: https://build.opensuse.org/request/show/623634 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cloudpickle?expand=0&rev=3
This commit is contained in:
commit
f857384476
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 18 11:48:40 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
- Fix runtime dependencies and raise numpy requirement
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 14 19:14:34 UTC 2018 - arun@gmx.de
|
||||
|
||||
|
@ -17,7 +17,6 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without tests
|
||||
Name: python-cloudpickle
|
||||
Version: 0.5.3
|
||||
Release: 0
|
||||
@ -26,20 +25,21 @@ License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/cloudpipe/cloudpickle
|
||||
Source: https://files.pythonhosted.org/packages/source/c/cloudpickle/cloudpickle-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
%if %{with tests}
|
||||
BuildRequires: %{python_module curses}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module numpy}
|
||||
BuildRequires: %{python_module numpy >= 1.8.2}
|
||||
BuildRequires: %{python_module pytest-cov}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module scipy}
|
||||
BuildRequires: %{python_module tornado}
|
||||
%endif
|
||||
Requires: python-curses
|
||||
Requires: python-numpy >= 1.8.2
|
||||
Requires: python-scipy
|
||||
Requires: python-tornado
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@ -64,12 +64,10 @@ functions and classes defined interactively in the __main__ module.
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%if %{with tests}
|
||||
%check
|
||||
# Tests require very specific paths and py.test arguments
|
||||
export PYTHONPATH='.:tests'
|
||||
%python_expand py.test-%{$python_bin_suffix} -s
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
|
Loading…
x
Reference in New Issue
Block a user