From bc31cfcf65ed94dcea351fa4581898abfb2807794fbb27d182901bd902b69031 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 1 Oct 2015 10:21:42 +0000 Subject: [PATCH] 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 --- numpy-1.9.2.tar.gz | 3 --- numpy-1.9.3.tar.gz | 3 +++ python-numpy-doc.changes | 14 +++++++++++ python-numpy-doc.spec | 54 +++++++++++++++++++++++++++++++--------- python-numpy.changes | 11 ++++++++ python-numpy.spec | 2 +- 6 files changed, 71 insertions(+), 16 deletions(-) delete mode 100644 numpy-1.9.2.tar.gz create mode 100644 numpy-1.9.3.tar.gz diff --git a/numpy-1.9.2.tar.gz b/numpy-1.9.2.tar.gz deleted file mode 100644 index 88e9db0..0000000 --- a/numpy-1.9.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:325e5f2b0b434ecb6e6882c7e1034cc6cdde3eeeea87dbc482575199a6aeef2a -size 3986067 diff --git a/numpy-1.9.3.tar.gz b/numpy-1.9.3.tar.gz new file mode 100644 index 0000000..1216c6e --- /dev/null +++ b/numpy-1.9.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c3b74d3b9da4ceb11f66abd21e117da8cf584b63a0efbd01a9b7e91b693fbbd6 +size 3984430 diff --git a/python-numpy-doc.changes b/python-numpy-doc.changes index 52c944d..5f09680 100644 --- a/python-numpy-doc.changes +++ b/python-numpy-doc.changes @@ -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 diff --git a/python-numpy-doc.spec b/python-numpy-doc.spec index 43a86ac..3b18106 100644 --- a/python-numpy-doc.spec +++ b/python-numpy-doc.spec @@ -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 diff --git a/python-numpy.changes b/python-numpy.changes index 0497101..4f66ad0 100644 --- a/python-numpy.changes +++ b/python-numpy.changes @@ -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 diff --git a/python-numpy.spec b/python-numpy.spec index 2277e3a..d3a0f0d 100644 --- a/python-numpy.spec +++ b/python-numpy.spec @@ -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