- Do not delete tests, they are used even by other inheriting packages

for their testing
- Execute tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-pandas?expand=0&rev=11
This commit is contained in:
Tomáš Chvátal 2019-02-20 09:12:44 +00:00 committed by Git OBS Bridge
parent 185c20e024
commit f0a0ff7acb
2 changed files with 17 additions and 10 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Feb 19 14:31:25 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Do not delete tests, they are used even by other inheriting packages
for their testing
- Execute tests
-------------------------------------------------------------------
Tue Feb 5 22:16:08 UTC 2019 - Todd R <toddrme2178@gmail.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-pandas
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@ -26,16 +26,17 @@ License: BSD-3-Clause
Group: Development/Libraries/Python
URL: http://pandas.pydata.org/
Source0: https://files.pythonhosted.org/packages/source/p/pandas/pandas-%{version}.tar.gz
BuildRequires: %{python_module Cython >= 0.28.2}
BuildRequires: %{python_module SQLAlchemy}
BuildRequires: %{python_module XlsxWriter}
BuildRequires: %{python_module beautifulsoup4 >= 4.2.1}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module hypothesis}
BuildRequires: %{python_module lxml}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module numpy-devel >= 1.12.0}
BuildRequires: %{python_module numpy-devel >= 1.15.0}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module python-dateutil >= 2.5}
BuildRequires: %{python_module python-dateutil}
BuildRequires: %{python_module pytz >= 2011k}
BuildRequires: %{python_module setuptools >= 24.2.0}
BuildRequires: %{python_module six}
@ -43,10 +44,11 @@ BuildRequires: %{python_module xlrd}
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: python-rpm-macros
BuildRequires: xvfb-run
Requires: python-Cython >= 0.28.2
Requires: python-Tempita
Requires: python-lxml
Requires: python-numpy >= 1.12.0
Requires: python-numpy >= 1.15.0
Requires: python-python-dateutil >= 2.5
Requires: python-pytz >= 2011k
Requires: python-six
@ -100,11 +102,9 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%python_expand rm -r %{buildroot}%{$python_sitearch}/pandas/tests
# Needs X and various other fun to work
#%check
#%%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} py.test-%{$python_version} pandas/tests
%check
# skip test that tries to compile stuff in buildroot test_oo_optimizable
%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} xvfb-run py.test-%{$python_version} -v %{buildroot}%{$python_sitearch}/pandas/tests -k 'not test_oo_optimizable'
%files %{python_files}
%license LICENSE