1
0
forked from pool/python-pandas

Accepting request 436929 from devel:languages:python

Python 2 version of python3-pandas, which is already in openSUSE:Factory.  This is one of the most important scientific and mathematical packages in the python software ecosystem.

OBS-URL: https://build.opensuse.org/request/show/436929
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pandas?expand=0&rev=1
This commit is contained in:
Dominique Leuenberger 2017-01-25 22:18:43 +00:00 committed by Git OBS Bridge
commit 8484a04edf
7 changed files with 1307 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
pandas-0.19.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4697606cdf023c6b7fcb74e48aaf25cf282a1a00e339d2d274cf1b663748805b
size 8341971

30
python-pandas-doc.changes Normal file
View File

@ -0,0 +1,30 @@
-------------------------------------------------------------------
Sun Oct 23 01:32:23 UTC 2016 - toddrme2178@gmail.com
- update to version 0.19.0:
(long changelog, see http://pandas.pydata.org/pandas-docs/stable/whatsnew.html#v0-19-0-october-2-2016)
* Highlights include:
+ merge_asof() for asof-style time-series joining
+ .rolling() is now time-series aware
+ read_csv() now supports parsing Categorical data
+ A function union_categorical() has been added for combining
categoricals
+ PeriodIndex now has its own period dtype, and changed to be more
consistent with other Index classes
+ Sparse data structures gained enhanced support of int and bool
dtypes
+ Comparison operations with Series no longer ignores the index,
see here for an overview of the API changes.
+ Introduction of a pandas development API for utility functions
+ Deprecation of Panel4D and PanelND. We recommend to represent
these types of n-dimensional data with the xarray package.
+ Removal of the previously deprecated modules pandas.io.data,
pandas.io.wb, pandas.tools.rplot.
- specfile:
* require python3-Cython
* Split documentation into own subpackage to speed up build.
* Remove buildrequires for optional dependencies to speed up build.
- Remove unneeded patches:
* 0001_disable_experimental_msgpack_big_endian.patch ^
* 0001_respect_byteorder_in_statareader.patch

51
python-pandas-doc.spec Normal file
View File

@ -0,0 +1,51 @@
#
# spec file for package python-pandas-doc
#
# Copyright (c) 2016 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
# 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/
#
Name: python-pandas-doc
Version: 0.19.0
Release: 0
Summary: Documentation for python3-pandas
License: BSD-3-Clause
Group: Documentation/HTML
Url: http://pandas.pydata.org/
Source0: https://files.pythonhosted.org/packages/source/p/pandas/pandas-%{version}.tar.gz
BuildRequires: python-Sphinx
BuildRequires: python-pandas = %{version}
Recommends: python-pandas = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
Documentation, help files, and examples for python3-pandas.
%prep
%setup -q -n pandas-%{version}
%build
# Not needed
%install
pushd doc
python make.py html
popd
%files
%defattr(-,root,root)
%doc doc/build/html/
%changelog

1108
python-pandas.changes Normal file

File diff suppressed because it is too large Load Diff

91
python-pandas.spec Normal file
View File

@ -0,0 +1,91 @@
#
# spec file for package python-pandas
#
# Copyright (c) 2016 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
# 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/
#
Name: python-pandas
Version: 0.19.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/
Source0: https://files.pythonhosted.org/packages/source/p/pandas/pandas-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: python-Cython
BuildRequires: python-dateutil
BuildRequires: python-devel
BuildRequires: python-numpy-devel >= 1.7.0
BuildRequires: python-pytz
BuildRequires: python-setuptools
Requires: python-dateutil
Requires: python-numpy >= 1.7.0
Requires: python-pytz
Recommends: python-Bottleneck
Recommends: python-Jinja2
Recommends: python-beautifulsoup4
Recommends: python-blosc
Recommends: python-boto
Recommends: python-html5lib
Recommends: python-lxml
Recommends: python-matplotlib
Recommends: python-numexpr >= 2.1
Recommends: python-openpyxl
Recommends: python-scipy
Recommends: python-statsmodels
Recommends: python-SQLAlchemy
Recommends: python-statsmodels
Recommends: python-tables >= 3.0.0
Recommends: python-xarray
Recommends: python-xlrd
Recommends: python-xlsxwriter
Recommends: python-xlwt
Recommends: xclip
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
pandas is a Python package providing fast, flexible, and expressive data
structures designed to make working with "relational" or "labeled" data both
easy and intuitive. It aims to be the fundamental high-level building block for
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.
%prep
%setup -q -n pandas-%{version}
%build
CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build
%install
python setup.py install --root %{buildroot} --prefix=%{_prefix}
rm -r %{buildroot}%{python_sitearch}/pandas/tests
%fdupes %{buildroot}%{python_sitearch}
# Fix python-bytecode-inconsistent-mtime
pushd %{buildroot}%{python_sitearch}
%py_compile .
popd
%files
%defattr(-,root,root)
%doc LICENSE doc/README.rst RELEASE.md
%{python_sitearch}/pandas/
%{python_sitearch}/pandas-%{version}-py*.egg-info
%changelog