Hello community,
here is the log from the commit of package
python-jupyter_highlight_selected_word for openSUSE:Factory checked in at
2019-05-22 11:09:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter_highlight_selected_word
(Old)
and
/work/SRC/openSUSE:Factory/.python-jupyter_highlight_selected_word.new.5148
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyter_highlight_selected_word"
Wed May 22 11:09:35 2019 rev:4 rq:699926 version:0.2.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-jupyter_highlight_selected_word/python-jupyter_highlight_selected_word.changes
2018-08-04 21:54:56.417450009 +0200
+++
/work/SRC/openSUSE:Factory/.python-jupyter_highlight_selected_word.new.5148/python-jupyter_highlight_selected_word.changes
2019-05-22 11:09:37.102592704 +0200
@@ -1,0 +2,5 @@
+Wed May 1 18:52:09 UTC 2019 - Todd R <[email protected]>
+
+- Split jupyter components into own package
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jupyter_highlight_selected_word.spec ++++++
--- /var/tmp/diff_new_pack.TPt8zW/_old 2019-05-22 11:09:38.058592766 +0200
+++ /var/tmp/diff_new_pack.TPt8zW/_new 2019-05-22 11:09:38.058592766 +0200
@@ -27,23 +27,17 @@
Group: Development/Languages/Python
Url: https://github.com/jcb91/jupyter_highlight_selected_word
Source:
https://files.pythonhosted.org/packages/source/j/jupyter_highlight_selected_word/jupyter_highlight_selected_word-%{version}.tar.gz
-BuildRequires: %{python_module devel}
+BuildRequires: %{python_module notebook}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-BuildRequires: python3-jupyter_notebook
+BuildRequires: jupyter-notebook
%if %{with test}
-BuildRequires: %{python_module jupyter_notebook}
+BuildRequires: %{python_module notebook}
BuildRequires: %{python_module nose}
%endif
-Requires: python-jupyter_notebook >= 4.0
-%ifpython3
-Requires(post): python-jupyter_notebook
-Requires(preun): python-jupyter_notebook
-%endif
-%ifpython2
-Requires: python3-jupyter_highlight_selected_word = %{version}
-%endif
+Requires: python-notebook
+Requires: jupyter-jupyter_highlight_selected_word = %{version}
BuildArch: noarch
%python_subpackages
@@ -53,6 +47,24 @@
currently-selected or cursor-adjecent word in either the current cell's editor,
or in the whole notebook.
+This package provides the python interface.
+
+%package -n jupyter-jupyter_highlight_selected_word
+Summary: Jupyter notebook extension to highlight every instance of the
current word
+Requires: jupyter-notebook
+Requires: python3-jupyter_highlight_selected_word = %{version}
+Requires(post): jupyter-notebook
+Requires(preun): jupyter-notebook
+Requires(post): python3-jupyter_highlight_selected_word = %{version}
+Requires(preun): python3-jupyter_highlight_selected_word = %{version}
+
+%description -n jupyter-jupyter_highlight_selected_word
+Jupyter notebook extension that enables highlighting of all instances of the
+currently-selected or cursor-adjecent word in either the current cell's editor,
+or in the whole notebook.
+
+This package provides the jupyter components.
+
%prep
%setup -q -n jupyter_highlight_selected_word-%{version}
@@ -64,16 +76,14 @@
%python_expand chmod a-x
%{buildroot}%{$python_sitelib}/jupyter_highlight_selected_word-%{version}-py*.egg-info/PKG-INFO
%python_expand %fdupes %{buildroot}%{$python_sitelib}
-PYTHONPATH=%{buildroot}%{python3_sitelib} jupyter nbextension install
--nbextensions=%{buildroot}%{_datadir}/jupyter/nbextensions/ --py
jupyter_highlight_selected_word
-%python_expand %fdupes %{buildroot}%{_datadir}/jupyter/nbextensions/
+%{jupyter_nbextension_install jupyter_highlight_selected_word}
+%{fdupes %{buildroot}%{python3_sitelib}
%{buildroot}%{_jupyter_nbextension_dir}}
-%post -n python3-jupyter_highlight_selected_word
-jupyter nbextension enable --system --py jupyter_highlight_selected_word ||
true
+%post -n jupyter-jupyter_highlight_selected_word
+%{jupyter_nbextension_enable jupyter_highlight_selected_word}
-%preun -n python3-jupyter_highlight_selected_word
-if [ $1 = 0 ] && [ -d %{python3_sitelib}/jupyter_highlight_selected_word/ ] ;
then
- jupyter nbextension disable --system --py jupyter_highlight_selected_word
|| true
-fi
+%preun -n jupyter-jupyter_highlight_selected_word
+%{jupyter_nbextension_disable jupyter_highlight_selected_word}
%if %{with test}
%check
@@ -81,11 +91,12 @@
%endif
%files %{python_files}
-%defattr(-,root,root,-)
%doc README.md
%license LICENSE.txt
%{python_sitelib}/jupyter_highlight_selected_word
%{python_sitelib}/jupyter_highlight_selected_word-%{version}-py*.egg-info
-%python3_only %{_datadir}/jupyter/nbextensions/highlight_selected_word/
+
+%files -n jupyter-jupyter_highlight_selected_word
+%{_jupyter_nbextension_dir}/highlight_selected_word/
%changelog