1
0
forked from pool/python-pandas

Accepting request 610084 from devel:languages:python

- Update to 0.23.0:
  * Round-trippable JSON format with ‘table’ orient.
  * Instantiation from dicts respects order for Python 3.6+.
  * Dependent column arguments for assign.
  * Merging / sorting on a combination of columns and index levels.
  * Extending Pandas with custom types.
  * Excluding unobserved categories from groupby.
  * Changes to make output shape of DataFrame.apply consistent.

- Do not bother generating pandas doc if it is already in both
  html and pdf provided by upstream, just point to the URL

OBS-URL: https://build.opensuse.org/request/show/610084
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pandas?expand=0&rev=10
This commit is contained in:
2018-05-19 13:38:05 +00:00
committed by Git OBS Bridge
parent 4328c07ff5
commit 4d1c673719
6 changed files with 47 additions and 494 deletions

View File

@@ -17,25 +17,39 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
Name: python-pandas
Version: 0.22.0
Version: 0.23.0
Release: 0
Summary: Make working with "relational" or "labeled" data both easy and intuitive
License: BSD-3-Clause
Group: Development/Libraries/Python
Url: http://pandas.pydata.org/
URL: http://pandas.pydata.org/
Source0: https://files.pythonhosted.org/packages/source/p/pandas/pandas-%{version}.tar.gz
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module SQLAlchemy}
BuildRequires: %{python_module XlsxWriter}
BuildRequires: %{python_module beautifulsoup4}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module lxml}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module numpy-devel >= 1.9.0}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module python-dateutil >= 1.5}
BuildRequires: %{python_module python-dateutil}
BuildRequires: %{python_module pytz}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: %{python_module xlrd}
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: python-rpm-macros
Requires: python-Cython
Requires: python-lxml
Requires: python-numpy >= 1.9.0
Requires: python-python-dateutil >= 1.5
Requires: python-pytz
Requires: python-six
Recommends: python-Bottleneck
Recommends: python-Jinja2
Recommends: python-SQLAlchemy >= 0.8.1
@@ -45,7 +59,6 @@ Recommends: python-blosc
Recommends: python-boto
Recommends: python-google-api-python-client
Recommends: python-html5lib
Recommends: python-lxml
Recommends: python-matplotlib
Recommends: python-numexpr >= 2.1
Recommends: python-oauth2client
@@ -59,8 +72,10 @@ Recommends: python-xarray >= 0.7.0
Recommends: python-xlrd
Recommends: python-xlwt
Recommends: xclip
Obsoletes: python-pandas-doc
%ifpython2
Recommends: python-backports.lzma
Obsoletes: %{oldpython}-pandas-doc
%endif
%python_subpackages
@@ -72,6 +87,8 @@ doing practical, real world data analysis in Python. Additionally, it has
the broader goal of becoming the most powerful and flexible open source data
analysis / manipulation tool available in any language.
http://pandas.pydata.org/pandas-docs/stable/
%prep
%setup -q -n pandas-%{version}
@@ -85,8 +102,13 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
%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
%files %{python_files}
%doc LICENSE doc/README.rst RELEASE.md
%license LICENSE
%doc doc/README.rst RELEASE.md
%{python_sitearch}/pandas/
%{python_sitearch}/pandas-%{version}-py*.egg-info