Hello community,
here is the log from the commit of package python-jupyter_widgetsnbextension
for openSUSE:Factory checked in at 2018-03-19 23:40:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter_widgetsnbextension (Old)
and /work/SRC/openSUSE:Factory/.python-jupyter_widgetsnbextension.new
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyter_widgetsnbextension"
Mon Mar 19 23:40:20 2018 rev:7 rq:588726 version:3.1.4
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-jupyter_widgetsnbextension/python-jupyter_widgetsnbextension.changes
2018-03-07 10:34:25.739016668 +0100
+++
/work/SRC/openSUSE:Factory/.python-jupyter_widgetsnbextension.new/python-jupyter_widgetsnbextension.changes
2018-03-19 23:40:45.148214415 +0100
@@ -1,0 +2,10 @@
+Mon Mar 19 20:19:04 UTC 2018 - [email protected]
+
+- Re-remove bashisms
+
+-------------------------------------------------------------------
+Tue Mar 13 12:21:35 UTC 2018 - [email protected]
+
+- Switch to simpler and more reliable wheels
+
+-------------------------------------------------------------------
Old:
----
widgetsnbextension-3.1.4.tar.gz
New:
----
widgetsnbextension-3.1.4-py2.py3-none-any.whl
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jupyter_widgetsnbextension.spec ++++++
--- /var/tmp/diff_new_pack.hiDRzR/_old 2018-03-19 23:40:46.516165067 +0100
+++ /var/tmp/diff_new_pack.hiDRzR/_new 2018-03-19 23:40:46.520164924 +0100
@@ -25,24 +25,25 @@
License: BSD-3-Clause
Group: Development/Languages/Python
Url:
https://github.com/jupyter-widgets/ipywidgets/tree/master/widgetsnbextension
-Source:
https://files.pythonhosted.org/packages/source/w/widgetsnbextension/widgetsnbextension-%{version}.tar.gz
+Source:
https://files.pythonhosted.org/packages/py2.py3/w/widgetsnbextension/widgetsnbextension-%{version}-py2.py3-none-any.whl
# This package is created from inside the ipywidgets github project at the
same time, so use its license.
Source10:
https://raw.githubusercontent.com/jupyter-widgets/ipywidgets/%%40jupyter-widgets/notebook-manager%%40%{version}/COPYING.md
Source11:
https://raw.githubusercontent.com/jupyter-widgets/ipywidgets/%%40jupyter-widgets/notebook-manager%%40%{version}/LICENSE
+BuildRequires: %{python_module certifi}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module jupyter_notebook >= 4.4.1}
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-%ifpython2
+Requires: python-certifi
Requires: python-jupyter_notebook >= 4.4.1
+%ifpython2
Requires: python3-jupyter_widgetsnbextension
%endif
%ifpython3
Provides: %{oldpython}-jupyter_widgetsnbextension-nbextension =
%{version}
Obsoletes: %{oldpython}-jupyter_widgetsnbextension-nbextension <
%{version}
-Requires(post): python3-jupyter_notebook >= 4.4.1
-Requires(preun): python3-jupyter_notebook >= 4.4.1
%endif
BuildArch: noarch
%python_subpackages
@@ -55,16 +56,15 @@
documentation for usage instructions.
%prep
-%setup -q -n widgetsnbextension-%{version}
+%setup -c -T
cp %{SOURCE10} .
cp %{SOURCE11} .
%build
-%python_build
+# not needed
%install
-%python_install
-%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%python_expand pip%{$python_bin_suffix} install --root=%{buildroot} %{SOURCE0}
if [ "$(dirname %{_prefix}/etc/jupyter)" != "$(dirname
%{_sysconfdir}/jupyter)" ]; then
mkdir -p %{buildroot}%{_sysconfdir}
@@ -72,21 +72,14 @@
rm -d %{buildroot}%{_prefix}/etc
fi
-%post -n python3-jupyter_widgetsnbextension
-jupyter nbextension enable --system --py widgetsnbextension
-exit 0
-
-%preun -n python3-jupyter_widgetsnbextension
-if [ $1 == 0 ] && [ -d %{python3_sitelib}/widgetsnbextension/ ] ; then
- jupyter nbextension disable --system --py widgetsnbextension
-fi
-exit 0
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%{fdupes %{buildroot}%{_datadir}/jupyter/ %{buildroot}%{python3_sitelib}}
%files %{python_files}
%defattr(-,root,root,-)
%doc COPYING.md LICENSE
-%{python_sitelib}/widgetsnbextension-%{version}-py*.egg-info
%{python_sitelib}/widgetsnbextension/
+%{python_sitelib}/widgetsnbextension-%{version}.dist-info
%python3_only %{_datadir}/jupyter/nbextensions/jupyter-js-widgets/
%python3_only %config
%{_sysconfdir}/jupyter/nbconfig/notebook.d/widgetsnbextension.json