Hello community,

here is the log from the commit of package python-jupyter_ipyparallel for 
openSUSE:Factory checked in at 2015-11-18 22:33:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter_ipyparallel (Old)
 and      /work/SRC/openSUSE:Factory/.python-jupyter_ipyparallel.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-jupyter_ipyparallel"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-jupyter_ipyparallel/python-jupyter_ipyparallel.changes
    2015-09-30 05:50:20.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter_ipyparallel.new/python-jupyter_ipyparallel.changes
       2015-11-18 22:33:53.000000000 +0100
@@ -1,0 +2,5 @@
+Mon Oct  5 10:01:17 UTC 2015 - [email protected]
+
+- Build documentation
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-jupyter_ipyparallel.spec ++++++
--- /var/tmp/diff_new_pack.IHArkz/_old  2015-11-18 22:33:55.000000000 +0100
+++ /var/tmp/diff_new_pack.IHArkz/_new  2015-11-18 22:33:55.000000000 +0100
@@ -32,6 +32,15 @@
 BuildRequires:  python-jupyter_ipython >= 4
 BuildRequires:  python-pyzmq >= 13
 BuildRequires:  python-setuptools
+%if 0%{?suse_version} && 0%{?suse_version} > 1320
+# Test requirements
+BuildRequires:  python-jupyter_ipython-iptest
+%endif
+# Documentation requirements
+BuildRequires:  python-Sphinx
+%if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} > 
1110 )
+BuildRequires:  python-Sphinx-latex
+%endif
 Requires:       python-decorator
 Requires:       python-ipython_genutils
 Requires:       python-jupyter_client
@@ -55,6 +64,20 @@
 %description
 Use multiple instances of IPython in parallel, interactively.
 
+%package doc-html
+Summary:        HTML documentation for %{name}
+Recommends:     %{name} = %{version}
+
+%description doc-html
+Documentation and help files for %{name} in HTML format
+
+%package doc-pdf
+Summary:        HTML documentation for %{name}
+Recommends:     %{name} = %{version}
+
+%description doc-pdf
+Documentation and help files for %{name} in PDF format
+
 %prep
 %setup -q -n ipyparallel-%{version}
 
@@ -67,7 +90,8 @@
 # Prepare for update-alternatives usage
 mkdir -p %{buildroot}%{_sysconfdir}/alternatives
 for p in ipcluster ipcontroller ipengine ; do
-    mv %{buildroot}%{_bindir}/$p %{buildroot}%{_bindir}/$p-%{py_ver}
+    mv %{buildroot}%{_bindir}/$p %{buildroot}%{_bindir}/${p}2
+    ln -s -f %{_bindir}/${p}2 %{buildroot}%{_bindir}/$p-%{py_ver}
     ln -s -f %{_sysconfdir}/alternatives/$p %{buildroot}%{_bindir}/$p
     # create a dummy target for /etc/alternatives/$p
     touch %{buildroot}%{_sysconfdir}/alternatives/$p
@@ -78,6 +102,16 @@
 chmod a-x %{buildroot}%{python_sitelib}/ipyparallel/apps/baseapp.py
 chmod a+x %{buildroot}%{python_sitelib}/ipyparallel/controller/heartmonitor.py
 
+# Build the documentation
+pushd docs
+# PDF documentation currently doesn't build
+# if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} > 
1110 )
+# PYTHONPATH=%{buildroot}%{python_sitelib} make latexpdf
+# %endif
+PYTHONPATH=%{buildroot}%{python_sitelib} make html
+rm -rf build/html/.buildinfo
+popd
+
 %post
 %_sbindir/update-alternatives \
    --install %{_bindir}/ipcluster ipcluster %{_bindir}/ipcluster-%{py_ver} 30 \
@@ -89,19 +123,40 @@
     %_sbindir/update-alternatives --remove ipcluster 
%{_bindir}/ipcluster-%{py_ver}
 fi
 
+%if 0%{?suse_version} && 0%{?suse_version} > 1320
+%check
+export LANG=en_US.UTF-8
+iptest
+%endif
+
 %files
 %defattr(-,root,root,-)
 %doc COPYING.md README.md
 %doc examples/
 %{_bindir}/ipcluster
-%{_bindir}/ipcontroller
-%{_bindir}/ipengine
+%{_bindir}/ipcluster2
 %{_bindir}/ipcluster-%{py_ver}
-%{_bindir}/ipcontroller-%{py_ver}
-%{_bindir}/ipengine-%{py_ver}
 %ghost %{_sysconfdir}/alternatives/ipcluster
+%{_bindir}/ipcontroller
+%{_bindir}/ipcontroller2
+%{_bindir}/ipcontroller-%{py_ver}
 %ghost %{_sysconfdir}/alternatives/ipcontroller
+%{_bindir}/ipengine
+%{_bindir}/ipengine2
+%{_bindir}/ipengine-%{py_ver}
 %ghost %{_sysconfdir}/alternatives/ipengine
 %{python_sitelib}/*
 
+%files doc-html
+%defattr(-,root,root,-)
+%doc COPYING.md
+%doc docs/build/html/
+
+# %if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} > 
1110 )
+# files doc-pdf
+# defattr(-,root,root,-)
+# %doc COPYING.md
+# %doc docs/build/latex/*.pdf
+# %endif
+
 %changelog


Reply via email to