Accepting request 563565 from devel:languages:python

- Format with spec-cleaner

- Drop commented code to allow us py3 only build

OBS-URL: https://build.opensuse.org/request/show/563565
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pandas?expand=0&rev=9
This commit is contained in:
Dominique Leuenberger 2018-01-16 08:37:21 +00:00 committed by Git OBS Bridge
parent 5f6c4d8d49
commit 4328c07ff5
4 changed files with 12 additions and 12 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jan 11 11:19:29 UTC 2018 - tchvatal@suse.com
- Format with spec-cleaner
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jan 3 22:41:40 UTC 2018 - arun@gmx.de Wed Jan 3 22:41:40 UTC 2018 - arun@gmx.de

View File

@ -42,7 +42,6 @@ BuildRequires: python3-pytz
BuildRequires: python3-scipy BuildRequires: python3-scipy
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
Provides: %{python_module pandas-doc = %{version}} Provides: %{python_module pandas-doc = %{version}}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch BuildArch: noarch
%description %description
@ -63,7 +62,6 @@ mkdir -p %{buildroot}%{_docdir}/python-pandas
cp -r doc/build/html %{buildroot}%{_docdir}/python-pandas/ cp -r doc/build/html %{buildroot}%{_docdir}/python-pandas/
%files %files
%defattr(-,root,root)
%doc LICENSE %doc LICENSE
%{_docdir}/python-pandas/ %{_docdir}/python-pandas/

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jan 11 11:18:48 UTC 2018 - tchvatal@suse.com
- Drop commented code to allow us py3 only build
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jan 3 22:41:40 UTC 2018 - arun@gmx.de Wed Jan 3 22:41:40 UTC 2018 - arun@gmx.de

View File

@ -31,7 +31,6 @@ BuildRequires: %{python_module python-dateutil >= 1.5}
BuildRequires: %{python_module pytz} BuildRequires: %{python_module pytz}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: fdupes
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-numpy >= 1.9.0 Requires: python-numpy >= 1.9.0
@ -40,6 +39,7 @@ Requires: python-pytz
Recommends: python-Bottleneck Recommends: python-Bottleneck
Recommends: python-Jinja2 Recommends: python-Jinja2
Recommends: python-SQLAlchemy >= 0.8.1 Recommends: python-SQLAlchemy >= 0.8.1
Recommends: python-XlsxWriter
Recommends: python-beautifulsoup4 Recommends: python-beautifulsoup4
Recommends: python-blosc Recommends: python-blosc
Recommends: python-boto Recommends: python-boto
@ -52,18 +52,16 @@ Recommends: python-oauth2client
Recommends: python-openpyxl >= 2.2 Recommends: python-openpyxl >= 2.2
Recommends: python-pandas-gbq Recommends: python-pandas-gbq
Recommends: python-python-gflags Recommends: python-python-gflags
Recommends: python-scipy
Recommends: python-s3fs Recommends: python-s3fs
Recommends: python-scipy
Recommends: python-tables >= 3.0.0 Recommends: python-tables >= 3.0.0
Recommends: python-xarray >= 0.7.0 Recommends: python-xarray >= 0.7.0
Recommends: python-xlrd Recommends: python-xlrd
Recommends: python-XlsxWriter
Recommends: python-xlwt Recommends: python-xlwt
Recommends: xclip Recommends: xclip
%ifpython2 %ifpython2
Recommends: python-backports.lzma Recommends: python-backports.lzma
%endif %endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%python_subpackages %python_subpackages
%description %description
@ -87,13 +85,7 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
%python_expand rm -r %{buildroot}%{$python_sitearch}/pandas/tests %python_expand rm -r %{buildroot}%{$python_sitearch}/pandas/tests
# Fix python-bytecode-inconsistent-mtime
# pushd %{buildroot}%{python_sitearch}
# %py_compile .
# popd
%files %{python_files} %files %{python_files}
%defattr(-,root,root)
%doc LICENSE doc/README.rst RELEASE.md %doc LICENSE doc/README.rst RELEASE.md
%{python_sitearch}/pandas/ %{python_sitearch}/pandas/
%{python_sitearch}/pandas-%{version}-py*.egg-info %{python_sitearch}/pandas-%{version}-py*.egg-info