2017-01-25 22:18:43 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-pandas-doc
|
|
|
|
#
|
2017-04-12 15:34:48 +00:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2017-01-25 22:18:43 +00: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 17:04:25 +00:00
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
2017-01-25 22:18:43 +00:00
|
|
|
Name: python-pandas-doc
|
2017-11-10 13:56:41 +00:00
|
|
|
Version: 0.21.0
|
2017-01-25 22:18:43 +00:00
|
|
|
Release: 0
|
2017-05-08 17:04:25 +00:00
|
|
|
Summary: Documentation for python-pandas
|
2017-01-25 22:18:43 +00:00
|
|
|
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
|
2017-05-08 17:04:25 +00:00
|
|
|
BuildRequires: %{python_module pandas = %{version}}
|
2017-04-12 15:34:48 +00:00
|
|
|
BuildRequires: gcc-c++
|
2017-05-08 17:04:25 +00:00
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
BuildRequires: python3-Sphinx
|
2017-10-09 17:41:03 +00:00
|
|
|
BuildRequires: python3-devel
|
2017-05-08 17:04:25 +00:00
|
|
|
BuildRequires: python3-jupyter_client
|
|
|
|
BuildRequires: python3-jupyter_ipykernel
|
|
|
|
BuildRequires: python3-jupyter_nbconvert
|
|
|
|
BuildRequires: python3-jupyter_nbformat
|
2017-05-31 10:22:08 +00:00
|
|
|
BuildRequires: python3-jupyter_nbsphinx
|
2017-05-08 17:04:25 +00:00
|
|
|
BuildRequires: python3-matplotlib
|
|
|
|
BuildRequires: python3-numpy-devel >= 1.7.1
|
2017-10-09 17:41:03 +00:00
|
|
|
BuildRequires: python3-python-dateutil >= 1.5
|
2017-05-08 17:04:25 +00:00
|
|
|
BuildRequires: python3-pytz
|
|
|
|
BuildRequires: python3-scipy
|
2017-10-09 17:41:03 +00:00
|
|
|
BuildRequires: python3-setuptools
|
2017-05-08 17:04:25 +00:00
|
|
|
Provides: %{python_module pandas-doc = %{version}}
|
2017-01-25 22:18:43 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
Documentation, help files, and examples for python3-pandas.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n pandas-%{version}
|
|
|
|
|
|
|
|
%build
|
2017-05-08 17:04:25 +00:00
|
|
|
python3 setup.py build_ext --inplace
|
2017-01-25 22:18:43 +00:00
|
|
|
|
|
|
|
pushd doc
|
2017-05-08 17:04:25 +00:00
|
|
|
python3 make.py html
|
2017-01-25 22:18:43 +00:00
|
|
|
popd
|
|
|
|
|
2017-05-08 17:04:25 +00:00
|
|
|
%install
|
|
|
|
mkdir -p %{buildroot}%{_docdir}/python-pandas
|
|
|
|
cp -r doc/build/html %{buildroot}%{_docdir}/python-pandas/
|
|
|
|
|
2017-01-25 22:18:43 +00:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2017-05-08 17:04:25 +00:00
|
|
|
%doc LICENSE
|
|
|
|
%{_docdir}/python-pandas/
|
2017-01-25 22:18:43 +00:00
|
|
|
|
|
|
|
%changelog
|