2017-01-25 23:18:43 +01:00
|
|
|
#
|
|
|
|
# spec file for package python-pandas
|
|
|
|
#
|
2018-01-07 17:23:01 +01:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2017-01-25 23:18:43 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2017-05-08 19:04:25 +02:00
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
2018-05-19 15:38:05 +02:00
|
|
|
%define oldpython python
|
2017-01-25 23:18:43 +01:00
|
|
|
Name: python-pandas
|
2018-08-06 11:54:25 +02:00
|
|
|
Version: 0.23.4
|
2017-01-25 23:18:43 +01:00
|
|
|
Release: 0
|
2018-08-08 19:03:19 +02:00
|
|
|
Summary: Python module for working with "relational" or "labeled" data
|
2017-01-25 23:18:43 +01:00
|
|
|
License: BSD-3-Clause
|
|
|
|
Group: Development/Libraries/Python
|
2018-05-19 15:38:05 +02:00
|
|
|
URL: http://pandas.pydata.org/
|
2017-01-25 23:18:43 +01:00
|
|
|
Source0: https://files.pythonhosted.org/packages/source/p/pandas/pandas-%{version}.tar.gz
|
2018-05-19 15:38:05 +02:00
|
|
|
BuildRequires: %{python_module Cython}
|
|
|
|
BuildRequires: %{python_module SQLAlchemy}
|
|
|
|
BuildRequires: %{python_module XlsxWriter}
|
2018-06-05 12:53:15 +02:00
|
|
|
BuildRequires: %{python_module beautifulsoup4 >= 4.2.1}
|
2017-05-08 19:04:25 +02:00
|
|
|
BuildRequires: %{python_module devel}
|
2018-05-19 15:38:05 +02:00
|
|
|
BuildRequires: %{python_module lxml}
|
|
|
|
BuildRequires: %{python_module nose}
|
2017-11-10 14:56:41 +01:00
|
|
|
BuildRequires: %{python_module numpy-devel >= 1.9.0}
|
2018-05-19 15:38:05 +02:00
|
|
|
BuildRequires: %{python_module pytest}
|
2018-06-05 12:53:15 +02:00
|
|
|
BuildRequires: %{python_module python-dateutil >= 2.5}
|
2018-05-19 15:38:05 +02:00
|
|
|
BuildRequires: %{python_module python-dateutil}
|
2018-06-05 12:53:15 +02:00
|
|
|
BuildRequires: %{python_module pytz >= 2011k}
|
|
|
|
BuildRequires: %{python_module setuptools >= 24.2.0}
|
2018-05-19 15:38:05 +02:00
|
|
|
BuildRequires: %{python_module six}
|
|
|
|
BuildRequires: %{python_module xlrd}
|
2017-10-09 19:41:03 +02:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: python-rpm-macros
|
2018-05-19 15:38:05 +02:00
|
|
|
Requires: python-Cython
|
|
|
|
Requires: python-lxml
|
2017-11-10 14:56:41 +01:00
|
|
|
Requires: python-numpy >= 1.9.0
|
2018-06-05 12:53:15 +02:00
|
|
|
Requires: python-python-dateutil >= 2.5
|
|
|
|
Requires: python-pytz >= 2011k
|
2018-05-19 15:38:05 +02:00
|
|
|
Requires: python-six
|
2017-01-25 23:18:43 +01:00
|
|
|
Recommends: python-Bottleneck
|
|
|
|
Recommends: python-Jinja2
|
2017-05-08 19:04:25 +02:00
|
|
|
Recommends: python-SQLAlchemy >= 0.8.1
|
2018-01-16 09:37:21 +01:00
|
|
|
Recommends: python-XlsxWriter
|
2018-06-05 12:53:15 +02:00
|
|
|
Recommends: python-beautifulsoup4 >= 4.2.1
|
2017-01-25 23:18:43 +01:00
|
|
|
Recommends: python-blosc
|
|
|
|
Recommends: python-boto
|
2017-05-08 19:04:25 +02:00
|
|
|
Recommends: python-google-api-python-client
|
2017-01-25 23:18:43 +01:00
|
|
|
Recommends: python-html5lib
|
|
|
|
Recommends: python-matplotlib
|
|
|
|
Recommends: python-numexpr >= 2.1
|
2017-05-08 19:04:25 +02:00
|
|
|
Recommends: python-oauth2client
|
2018-06-05 12:53:15 +02:00
|
|
|
Recommends: python-openpyxl >= 2.4
|
2017-05-31 12:22:08 +02:00
|
|
|
Recommends: python-pandas-gbq
|
2017-05-08 19:04:25 +02:00
|
|
|
Recommends: python-python-gflags
|
2017-05-31 12:22:08 +02:00
|
|
|
Recommends: python-s3fs
|
2018-01-16 09:37:21 +01:00
|
|
|
Recommends: python-scipy
|
2017-01-25 23:18:43 +01:00
|
|
|
Recommends: python-tables >= 3.0.0
|
2017-05-08 19:04:25 +02:00
|
|
|
Recommends: python-xarray >= 0.7.0
|
2017-01-25 23:18:43 +01:00
|
|
|
Recommends: python-xlrd
|
|
|
|
Recommends: python-xlwt
|
|
|
|
Recommends: xclip
|
2018-05-19 15:38:05 +02:00
|
|
|
Obsoletes: python-pandas-doc
|
2017-05-08 19:04:25 +02:00
|
|
|
%ifpython2
|
|
|
|
Recommends: python-backports.lzma
|
2018-05-19 15:38:05 +02:00
|
|
|
Obsoletes: %{oldpython}-pandas-doc
|
2017-05-08 19:04:25 +02:00
|
|
|
%endif
|
|
|
|
%python_subpackages
|
2017-01-25 23:18:43 +01:00
|
|
|
|
|
|
|
%description
|
2018-08-08 19:03:19 +02:00
|
|
|
pandas is a Python package providing flexible and expressive data
|
|
|
|
structures for working with "relational" or "labeled" data.
|
2017-01-25 23:18:43 +01:00
|
|
|
|
2018-08-08 19:03:19 +02:00
|
|
|
Documentation is located at
|
|
|
|
http://pandas.pydata.org/pandas-docs/stable/ .
|
2018-05-19 15:38:05 +02:00
|
|
|
|
2017-01-25 23:18:43 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n pandas-%{version}
|
|
|
|
|
|
|
|
%build
|
2017-05-08 19:04:25 +02:00
|
|
|
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
|
|
|
%python_build
|
2017-01-25 23:18:43 +01:00
|
|
|
|
|
|
|
%install
|
2017-05-08 19:04:25 +02:00
|
|
|
%python_install
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
2017-01-25 23:18:43 +01:00
|
|
|
|
2017-05-08 19:04:25 +02:00
|
|
|
%python_expand rm -r %{buildroot}%{$python_sitearch}/pandas/tests
|
2017-01-25 23:18:43 +01:00
|
|
|
|
2018-05-19 15:38:05 +02:00
|
|
|
# Needs X and various other fun to work
|
|
|
|
#%check
|
|
|
|
#%%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} py.test-%{$python_version} pandas/tests
|
|
|
|
|
2017-05-08 19:04:25 +02:00
|
|
|
%files %{python_files}
|
2018-05-19 15:38:05 +02:00
|
|
|
%license LICENSE
|
|
|
|
%doc doc/README.rst RELEASE.md
|
2017-01-25 23:18:43 +01:00
|
|
|
%{python_sitearch}/pandas/
|
|
|
|
%{python_sitearch}/pandas-%{version}-py*.egg-info
|
|
|
|
|
|
|
|
%changelog
|