From 708111bd834834f905084194d4c893d31d730389e2413454f7a7196f62ed30ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 18 Jul 2018 11:48:58 +0000 Subject: [PATCH] - Fix runtime dependencies and raise numpy requirement OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudpickle?expand=0&rev=10 --- python-cloudpickle.changes | 5 +++++ python-cloudpickle.spec | 12 +++++------- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/python-cloudpickle.changes b/python-cloudpickle.changes index 4e90e48..c77a275 100644 --- a/python-cloudpickle.changes +++ b/python-cloudpickle.changes @@ -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 diff --git a/python-cloudpickle.spec b/python-cloudpickle.spec index 5163846..08147b1 100644 --- a/python-cloudpickle.spec +++ b/python-cloudpickle.spec @@ -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