Accepting request 333114 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/333114
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpy?expand=0&rev=45
This commit is contained in:
Dominique Leuenberger 2015-10-01 10:21:42 +00:00 committed by Git OBS Bridge
parent 680be04ad9
commit bc31cfcf65
6 changed files with 71 additions and 16 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:325e5f2b0b434ecb6e6882c7e1034cc6cdde3eeeea87dbc482575199a6aeef2a
size 3986067

3
numpy-1.9.3.tar.gz Normal file
View File

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

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Wed Sep 23 07:31:55 UTC 2015 - toddrme2178@gmail.com
- update to version 1.9.3:
* #5866: fix error finding Python headers when build_ext --include-dirs is set;
* #6016: fix np.loadtxt error on Python 3.5 when reading from gzip files;
* #5555: Replace deprecated options for ifort;
* #6096: remove /GL for VS2015 in check_long_double_representation;
* #6141: enable Visual Studio 2015 C99 features;
* #6171: revert C99 complex for MSVC14.
- Fix latex dependencies.
- Disable building of latex packages on distros that don't support it
- Disable building of latex packages entirely since it is currently broken
-------------------------------------------------------------------
Mon Mar 2 15:38:20 UTC 2015 - toddrme2178@gmail.com

View File

@ -19,7 +19,7 @@
%define modname numpy
Name: python-numpy-doc
%define docname numpydoc
Version: 1.9.2
Version: 1.9.3
Release: 0
%define docvers 0.4
Url: http://www.numpy.org/
@ -39,8 +39,19 @@ BuildRequires: python-devel
BuildRequires: python-matplotlib
BuildRequires: python-numpy-devel
BuildRequires: python-numpydoc
BuildRequires: texlive-latex
BuildRequires: zip
# LaTeX requirements, not available on SLES
%if 0%{?suse_version} > 1110 && 0%{?suse_version} != 1315
BuildRequires: python-Sphinx-latex
BuildRequires: tex(a4wide.sty)
BuildRequires: tex(abstract.sty)
BuildRequires: tex(amsmath.sty)
BuildRequires: tex(epsfig.sty)
BuildRequires: tex(expdlist.sty)
BuildRequires: tex(verbatim.sty)
BuildRequires: tex(xspace.sty)
BuildRequires: tex(article.cls)
%endif
%if 0%{?suse_version}
BuildRequires: fdupes
BuildRequires: gcc-fortran
@ -114,25 +125,44 @@ This package provides the PDF documentation for NumPy
%build
# make the documentation
cd doc
make dist PYVER=%{py_ver}
pushd doc
make html PYVER=%{py_ver}
popd
# LaTeX building currently broken
# %if 0%{?suse_version} > 1110 && 0%{?suse_version} != 1315
# pushd doc
# make latex PYVER=%{py_ver}
# make -C build/latex all-pdf PYVER=%{py_ver}
# popd
# %endif
%install
# install the documentation
cd doc
mkdir -p %{buildroot}%{_docdir}/python-numpy/{html,pdf}
tar -xzf build/dist.tar.gz -C %{buildroot}%{_docdir}/python-numpy/html
mv %{buildroot}%{_docdir}/python-numpy/html/*.pdf %{buildroot}%{_docdir}/python-numpy/pdf/
mkdir -p %{buildroot}%{_docdir}/python-numpy/
pushd doc/build
cp -r html %{buildroot}%{_docdir}/python-numpy/
popd
%fdupes %{buildroot}%{_docdir}/python-numpy/html/
%fdupes %{buildroot}%{_docdir}/python-numpy/pdf/
# LaTeX building currently broken
# %if 0%{?suse_version} > 1110 && 0%{?suse_version} != 1315
# pushd doc/build
# cp -r pdf %{buildroot}%{_docdir}/python-numpy/
# popd
# %fdupes %{buildroot}%{_docdir}/python-numpy/pdf/
# %endif
%files html
%defattr(-,root,root)
%{_docdir}/python-numpy/html/
%files pdf
%defattr(-,root,root)
%{_docdir}/python-numpy/pdf/
# LaTeX building currently broken
# %if 0%{?suse_version} > 1110 && 0%{?suse_version} != 1315
# %files pdf
# %defattr(-,root,root)
# %{_docdir}/python-numpy/pdf/
# %endif
%changelog

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Wed Sep 23 07:31:55 UTC 2015 - toddrme2178@gmail.com
- update to version 1.9.3:
* #5866: fix error finding Python headers when build_ext --include-dirs is set;
* #6016: fix np.loadtxt error on Python 3.5 when reading from gzip files;
* #5555: Replace deprecated options for ifort;
* #6096: remove /GL for VS2015 in check_long_double_representation;
* #6141: enable Visual Studio 2015 C99 features;
* #6171: revert C99 complex for MSVC14.
-------------------------------------------------------------------
Mon Mar 2 15:38:20 UTC 2015 - toddrme2178@gmail.com

View File

@ -19,7 +19,7 @@
%define with_atlas 0
Name: python-numpy
Version: 1.9.2
Version: 1.9.3
Release: 0
Url: http://www.numpy.org/
Summary: NumPy array processing for numbers, strings, records and objects