Accepting request 493376 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/493376 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pandas?expand=0&rev=3
This commit is contained in:
parent
092e81002a
commit
9c058995c4
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 25 18:39:03 UTC 2017 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Implement single-spec version.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 30 15:00:41 UTC 2017 - toddrme2178@gmail.com
|
Thu Mar 30 15:00:41 UTC 2017 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
@ -16,30 +16,31 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-pandas-doc
|
Name: python-pandas-doc
|
||||||
Version: 0.19.2
|
Version: 0.19.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Documentation for python3-pandas
|
Summary: Documentation for python-pandas
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Documentation/HTML
|
Group: Documentation/HTML
|
||||||
Url: http://pandas.pydata.org/
|
Url: http://pandas.pydata.org/
|
||||||
Source0: https://files.pythonhosted.org/packages/source/p/pandas/pandas-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/p/pandas/pandas-%{version}.tar.gz
|
||||||
BuildRequires: python-pandas = %{version}
|
BuildRequires: %{python_module pandas = %{version}}
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: python-Cython
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python-Sphinx
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python-dateutil
|
BuildRequires: python3-setuptools
|
||||||
BuildRequires: python-devel
|
BuildRequires: python3-Sphinx
|
||||||
BuildRequires: python-matplotlib
|
BuildRequires: python3-dateutil >= 1.5
|
||||||
BuildRequires: python-numpy-devel >= 1.7.0
|
BuildRequires: python3-jupyter_client
|
||||||
BuildRequires: python-pytz
|
BuildRequires: python3-jupyter_ipykernel
|
||||||
BuildRequires: python-scipy
|
BuildRequires: python3-jupyter_nbconvert
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python3-jupyter_nbformat
|
||||||
BuildRequires: python-jupyter_client
|
BuildRequires: python3-matplotlib
|
||||||
BuildRequires: python-jupyter_ipykernel
|
BuildRequires: python3-numpy-devel >= 1.7.1
|
||||||
BuildRequires: python-jupyter_nbconvert
|
BuildRequires: python3-pytz
|
||||||
BuildRequires: python-jupyter_nbformat
|
BuildRequires: python3-scipy
|
||||||
Recommends: python-pandas = %{version}
|
Provides: %{python_module pandas-doc = %{version}}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
@ -50,15 +51,19 @@ Documentation, help files, and examples for python3-pandas.
|
|||||||
%setup -q -n pandas-%{version}
|
%setup -q -n pandas-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build_ext --inplace
|
python3 setup.py build_ext --inplace
|
||||||
|
|
||||||
|
pushd doc
|
||||||
|
python3 make.py html
|
||||||
|
popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
pushd doc
|
mkdir -p %{buildroot}%{_docdir}/python-pandas
|
||||||
python make.py html
|
cp -r doc/build/html %{buildroot}%{_docdir}/python-pandas/
|
||||||
popd
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc doc/build/html/
|
%doc LICENSE
|
||||||
|
%{_docdir}/python-pandas/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 8 03:37:27 UTC 2017 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Fix dateutil dependency
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 25 18:39:03 UTC 2017 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Implement single-spec version.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 30 15:00:41 UTC 2017 - toddrme2178@gmail.com
|
Thu Mar 30 15:00:41 UTC 2017 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-pandas
|
Name: python-pandas
|
||||||
Version: 0.19.2
|
Version: 0.19.2
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -26,36 +27,42 @@ Url: http://pandas.pydata.org/
|
|||||||
Source0: https://files.pythonhosted.org/packages/source/p/pandas/pandas-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/p/pandas/pandas-%{version}.tar.gz
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: python-Cython
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-dateutil
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python-devel
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: python-numpy-devel >= 1.7.0
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: python-pytz
|
BuildRequires: %{python_module numpy-devel >= 1.7.1}
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: %{python_module python-dateutil >= 1.5}
|
||||||
Requires: python-dateutil
|
BuildRequires: %{python_module pytz}
|
||||||
Requires: python-numpy >= 1.7.0
|
Requires: python-numpy >= 1.7.1
|
||||||
|
Requires: python-python-dateutil >= 1.5
|
||||||
Requires: python-pytz
|
Requires: python-pytz
|
||||||
Recommends: python-Bottleneck
|
Recommends: python-Bottleneck
|
||||||
Recommends: python-Jinja2
|
Recommends: python-Jinja2
|
||||||
|
Recommends: python-SQLAlchemy >= 0.8.1
|
||||||
Recommends: python-beautifulsoup4
|
Recommends: python-beautifulsoup4
|
||||||
Recommends: python-blosc
|
Recommends: python-blosc
|
||||||
Recommends: python-boto
|
Recommends: python-boto
|
||||||
|
Recommends: python-google-api-python-client
|
||||||
Recommends: python-html5lib
|
Recommends: python-html5lib
|
||||||
Recommends: python-lxml
|
Recommends: python-lxml
|
||||||
Recommends: python-matplotlib
|
Recommends: python-matplotlib
|
||||||
Recommends: python-numexpr >= 2.1
|
Recommends: python-numexpr >= 2.1
|
||||||
Recommends: python-openpyxl
|
Recommends: python-oauth2client
|
||||||
|
Recommends: python-openpyxl >= 2.2
|
||||||
|
Recommends: python-python-gflags
|
||||||
Recommends: python-scipy
|
Recommends: python-scipy
|
||||||
Recommends: python-statsmodels
|
|
||||||
Recommends: python-SQLAlchemy
|
|
||||||
Recommends: python-statsmodels
|
|
||||||
Recommends: python-tables >= 3.0.0
|
Recommends: python-tables >= 3.0.0
|
||||||
Recommends: python-xarray
|
Recommends: python-xarray >= 0.7.0
|
||||||
Recommends: python-xlrd
|
Recommends: python-xlrd
|
||||||
Recommends: python-xlsxwriter
|
Recommends: python-XlsxWriter
|
||||||
Recommends: python-xlwt
|
Recommends: python-xlwt
|
||||||
Recommends: xclip
|
Recommends: xclip
|
||||||
|
%ifpython2
|
||||||
|
Recommends: python-backports.lzma
|
||||||
|
%endif
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
pandas is a Python package providing fast, flexible, and expressive data
|
pandas is a Python package providing fast, flexible, and expressive data
|
||||||
@ -69,20 +76,21 @@ analysis / manipulation tool available in any language.
|
|||||||
%setup -q -n pandas-%{version}
|
%setup -q -n pandas-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build
|
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||||
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --root %{buildroot} --prefix=%{_prefix}
|
%python_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
|
||||||
rm -r %{buildroot}%{python_sitearch}/pandas/tests
|
%python_expand rm -r %{buildroot}%{$python_sitearch}/pandas/tests
|
||||||
%fdupes %{buildroot}%{python_sitearch}
|
|
||||||
|
|
||||||
# Fix python-bytecode-inconsistent-mtime
|
# Fix python-bytecode-inconsistent-mtime
|
||||||
pushd %{buildroot}%{python_sitearch}
|
# pushd %{buildroot}%{python_sitearch}
|
||||||
%py_compile .
|
# %py_compile .
|
||||||
popd
|
# popd
|
||||||
|
|
||||||
%files
|
%files %{python_files}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc LICENSE doc/README.rst RELEASE.md
|
%doc LICENSE doc/README.rst RELEASE.md
|
||||||
%{python_sitearch}/pandas/
|
%{python_sitearch}/pandas/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user