Hello community,
here is the log from the commit of package python-jupyter_ipyparallel for
openSUSE:Factory checked in at 2017-10-03 23:17:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter_ipyparallel (Old)
and /work/SRC/openSUSE:Factory/.python-jupyter_ipyparallel.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyter_ipyparallel"
Tue Oct 3 23:17:08 2017 rev:6 rq:527591 version:6.0.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-jupyter_ipyparallel/python-jupyter_ipyparallel-doc.changes
2017-08-19 10:56:24.248570752 +0200
+++
/work/SRC/openSUSE:Factory/.python-jupyter_ipyparallel.new/python-jupyter_ipyparallel-doc.changes
2017-10-03 23:17:10.571337587 +0200
@@ -1,0 +2,10 @@
+Wed Sep 20 17:04:11 UTC 2017 - [email protected]
+
+- Further improvements to notebook extension handling
+
+-------------------------------------------------------------------
+Wed Sep 20 15:26:13 UTC 2017 - [email protected]
+
+- Fix notebook extension handling
+
+-------------------------------------------------------------------
python-jupyter_ipyparallel.changes: same change
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jupyter_ipyparallel-doc.spec ++++++
--- /var/tmp/diff_new_pack.fkMrYM/_old 2017-10-03 23:17:11.399221075 +0200
+++ /var/tmp/diff_new_pack.fkMrYM/_new 2017-10-03 23:17:11.399221075 +0200
@@ -37,6 +37,7 @@
%if %{with tests}
# Test requirements
BuildRequires: %{python_module jupyter_ipython-iptest}
+BuildRequires: %{python_module jupyter_nbformat}
%endif
# Documentation requirements
%if %{with pdf} || %{with html}
++++++ python-jupyter_ipyparallel.spec ++++++
--- /var/tmp/diff_new_pack.fkMrYM/_old 2017-10-03 23:17:11.415218824 +0200
+++ /var/tmp/diff_new_pack.fkMrYM/_new 2017-10-03 23:17:11.419218261 +0200
@@ -32,45 +32,42 @@
BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
-BuildRequires: %{python_module decorator}
-BuildRequires: %{python_module ipython_genutils}
-BuildRequires: %{python_module jupyter_client}
-BuildRequires: %{python_module jupyter_ipykernel}
-BuildRequires: %{python_module jupyter_ipython >= 4}
-BuildRequires: %{python_module pyzmq >= 13}
-BuildRequires: %{python_module traitlets}
%if %{with nbextension}
BuildRequires: python3-jupyter_notebook
%endif
+Requires: python-python-dateutil >= 2.1
Requires: python-decorator
Requires: python-ipython_genutils
Requires: python-jupyter_client
Requires: python-jupyter_ipykernel
Requires: python-jupyter_ipython >= 4
Requires: python-pyzmq >= 13
-Recommends: python-jupyter_notebook
+Requires: python-tornado >= 4
+%ifpython2
+Requires: python-futures
+%endif
Recommends: %{name}-nbextension = %{version}
Recommends: python-mpi4py
Recommends: python-pymongo
-Recommends: python-tornado
+%ifpython2
+Requires: python3-jupyter_ipyparallel
+%endif
+%ifpython3
+Provides: python-jupyter_ipyparallel-nbextension = %{version}
+# Change <= to < in next version of 6.0.2
+Obsoletes: python-jupyter_ipyparallel-nbextension <= %{version}
+Requires(post): python3-jupyter_notebook
+Requires(preun): python3-jupyter_notebook
+%endif
Requires(post): update-alternatives
-Requires(preun): update-alternatives
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Requires(postun): update-alternatives
BuildArch: noarch
+
%python_subpackages
%description
Use multiple instances of IPython in parallel, interactively.
-%package -n %{name}-nbextension
-Summary: Notebook extension for %{name}
-Provides: %{python_module jupyter_ipyparallel-nbextension = %{version}}
-
-%description -n %{name}-nbextension
-This package provides the python version-independent nbextension files
-for %{name}. It is useless on its own, the proper python version-
-specific package will require this.
-
%prep
%setup -q -n ipyparallel-%{version}
@@ -80,7 +77,6 @@
%install
%python_install
-PYTHONPATH=%{buildroot}%{python3_sitelib} jupyter nbextension install
--prefix=%{buildroot}%{_prefix} --py ipyparallel
# Prepare for update-alternatives
%python_clone -a %{buildroot}%{_bindir}/ipcluster
@@ -101,25 +97,36 @@
$python -m compileall -d %{$python_sitearch}
ipyparallel/controller/heartmonitor.py
$python -O -m compileall -d %{$python_sitearch}
ipyparallel/controller/heartmonitor.py
%fdupes .
+popd
}
+%python_expand rm -f %{buildroot}%{$python_sitelib}/_current_flavor
+
+PYTHONPATH=%{buildroot}%{python3_sitelib} jupyter nbextension install
--prefix=%{buildroot}%{_prefix} --py ipyparallel
%post
%{python_install_alternative ipcluster ipcontroller ipengine}
+%ifpython3
+ipcluster nbextension enable
+%endif
+exit 0
%postun
%python_uninstall_alternative ipcluster
+%preun -n python3-jupyter_ipyparallel
+if [ $1 == 0 ] && [ -d %{python3_sitelib}/ipyparallel/ ] ; then
+ ipcluster nbextension disable
+fi
+exit 0
+
%files %{python_files}
%defattr(-,root,root,-)
%doc COPYING.md README.md
%python_alternative %{_bindir}/ipcluster
%python_alternative %{_bindir}/ipcontroller
%python_alternative %{_bindir}/ipengine
-%{python_sitelib}/*
-
-%files -n %{name}-nbextension
-%defattr(-,root,root,-)
-%doc COPYING.md
-%{_datadir}/jupyter/nbextensions/ipyparallel/
+%{python_sitelib}/ipyparallel-%{version}-py*.egg-info
+%{python_sitelib}/ipyparallel/
+%python3_only %{_datadir}/jupyter/nbextensions/ipyparallel/
%changelog