Hello community,

here is the log from the commit of package python-jupyter_latex_envs for 
openSUSE:Factory checked in at 2019-05-22 11:09:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter_latex_envs (Old)
 and      /work/SRC/openSUSE:Factory/.python-jupyter_latex_envs.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-jupyter_latex_envs"

Wed May 22 11:09:39 2019 rev:4 rq:699927 version:1.4.6

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-jupyter_latex_envs/python-jupyter_latex_envs.changes
      2018-12-24 11:48:08.717094145 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter_latex_envs.new.5148/python-jupyter_latex_envs.changes
    2019-05-22 11:09:40.230592906 +0200
@@ -1,0 +2,5 @@
+Wed May  1 18:50:20 UTC 2019 - Todd R <[email protected]>
+
+- Split jupyter components into own package.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-jupyter_latex_envs.spec ++++++
--- /var/tmp/diff_new_pack.vRQBhZ/_old  2019-05-22 11:09:40.718592937 +0200
+++ /var/tmp/diff_new_pack.vRQBhZ/_new  2019-05-22 11:09:40.722592937 +0200
@@ -26,31 +26,24 @@
 Group:          Development/Languages/Python
 Url:            http://github.com/jfbercher/jupyter_latex_envs
 Source:         
https://files.pythonhosted.org/packages/source/j/jupyter_latex_envs/jupyter_latex_envs-%{version}.tar.gz
-BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRequires:  python3-jupyter_notebook >= 4.0
+BuildRequires:  jupyter-notebook >= 4.0
 %if %{with test}
 BuildRequires:  %{python_module entrypoints >= 0.2.2}
 BuildRequires:  %{python_module jupyter_core}
-BuildRequires:  %{python_module jupyter_ipython}
-BuildRequires:  %{python_module jupyter_nbconvert}
-BuildRequires:  %{python_module jupyter_notebook >= 4.0}
+BuildRequires:  %{python_module ipython}
+BuildRequires:  %{python_module nbconvert}
+BuildRequires:  %{python_module notebook >= 4.0}
 BuildRequires:  %{python_module traitlets >= 4.1}
 %endif
 Requires:       python-jupyter_core
-Requires:       python-jupyter_ipython
-Requires:       python-jupyter_nbconvert
-Requires:       python-jupyter_notebook >= 4.0
+Requires:       python-ipython
+Requires:       python-nbconvert
+Requires:       python-notebook >= 4.0
 Requires:       python-traitlets >= 4.1
-%ifpython3
-Requires(post):   python-jupyter_notebook
-Requires(preun):  python-jupyter_notebook
-%endif
-%ifpython2
-Requires:       python3-jupyter_latex_envs = %{version}
-%endif
+Requires:       jupyter-jupyter_latex_envs = %{version}
 BuildArch:      noarch
 
 %python_subpackages
@@ -60,6 +53,26 @@
 within markdown cells. Also provides support for labels and
 crossreferences, document wide numbering, bibliography, and more.
 
+This package provides the python interface.
+
+%package     -n jupyter-jupyter_latex_envs
+Summary:        LaTeX environments for Jupyter notebook
+Requires:       jupyter-jupyter_core
+Requires:       jupyter-nbconvert
+Requires:       jupyter-notebook >= 4.0
+Requires:       python3-jupyter_latex_envs = %{version}
+Requires(post): jupyter-notebook
+Requires(preun): jupyter-notebook
+Requires(post): python3-jupyter_latex_envs = %{version}
+Requires(preun): python3-jupyter_latex_envs = %{version}
+
+%description -n jupyter-jupyter_latex_envs
+Jupyter notebook extension which supports (some) LaTeX environments
+within markdown cells. Also provides support for labels and
+crossreferences, document wide numbering, bibliography, and more.
+
+This package provides the jupyter components.
+
 %prep
 %setup -q -n jupyter_latex_envs-%{version}
 rm -r src/latex_envs/static/doc/.ipynb_checkpoints
@@ -72,16 +85,14 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-PYTHONPATH=%{buildroot}%{python3_sitelib} jupyter nbextension install 
--nbextensions=%{buildroot}%{_datadir}/jupyter/nbextensions/ --py latex_envs
-%python_expand %fdupes %{buildroot}%{_datadir}/jupyter/nbextensions/
+%{jupyter_nbextension_install latex_envs}
+%{fdupes %{buildroot}%{python3_sitelib} 
%{buildroot}%{_jupyter_nbextension_dir}}
 
-%post -n python3-jupyter_latex_envs
-jupyter nbextension enable --system --py latex_envs || true
+%post -n jupyter-jupyter_latex_envs
+%{jupyter_nbextension_enable latex_envs}
 
-%preun -n python3-jupyter_latex_envs
-if [ $1 = 0 ] && [ -d %{python3_sitelib}/latex_envs/ ] ; then
-    jupyter nbextension disable --system --py latex_envs || true
-fi
+%preun -n jupyter-jupyter_latex_envs
+%{jupyter_nbextension_disable latex_envs}
 
 %if %{with test}
 %check
@@ -89,11 +100,13 @@
 %endif
 
 %files %{python_files}
-%defattr(-,root,root,-)
 %doc README.rst
 %license LICENSE.txt
 %{python_sitelib}/latex_envs
 %{python_sitelib}/jupyter_latex_envs-%{version}-py*.egg-info
-%python3_only %{_datadir}/jupyter/nbextensions/latex_envs/
+
+%files -n jupyter-jupyter_latex_envs
+%license LICENSE.txt
+%{_jupyter_nbextension_dir}/latex_envs/
 
 %changelog


Reply via email to