Hello community,

here is the log from the commit of package python-jupyter_rise for 
openSUSE:Factory checked in at 2018-06-15 14:38:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter_rise (Old)
 and      /work/SRC/openSUSE:Factory/.python-jupyter_rise.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-jupyter_rise"

Fri Jun 15 14:38:10 2018 rev:2 rq:615414 version:5.3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-jupyter_rise/python-jupyter_rise.changes  
2018-06-03 12:36:42.775074600 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter_rise.new/python-jupyter_rise.changes 
    2018-06-15 14:38:13.282018242 +0200
@@ -1,0 +2,18 @@
+Thu Jun  7 21:31:16 UTC 2018 - [email protected]
+
+- Ensure neutrality of description. Remove history lesson.
+
+-------------------------------------------------------------------
+Tue May 29 15:12:10 UTC 2018 - [email protected]
+
+- Update to version 5.3.0
+  * Auto enable nbextension when installing with pip
+  * Making rise compliant with nbextensions_configurator
+  * Documentation general review, fixes and improvements
+  * Mixup between note and notes
+  * Keep ? from popping up keyboard shortcuts
+  * Create shortcut to go to the configurator
+  * General review of setup.py
+- Switch to simpler, more reliable wheel-based install
+
+-------------------------------------------------------------------

Old:
----
  rise-5.2.0.tar.gz

New:
----
  LICENSE.md
  rise-5.3.0-py2.py3-none-any.whl

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

Other differences:
------------------
++++++ python-jupyter_rise.spec ++++++
--- /var/tmp/diff_new_pack.wBf7p7/_old  2018-06-15 14:38:13.905995418 +0200
+++ /var/tmp/diff_new_pack.wBf7p7/_new  2018-06-15 14:38:13.909995271 +0200
@@ -13,27 +13,25 @@
 # published by the Open Source Initiative.
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_with     test
 Name:           python-jupyter_rise
-Version:        5.2.0
+Version:        5.3.0
 Release:        0
-License:        BSD-3-Clause
 Summary:        Jupyter Slideshow Extension
-Url:            http://github.com/damianavila/RISE
+License:        BSD-3-Clause
 Group:          Development/Languages/Python
-Source:         
https://files.pythonhosted.org/packages/source/r/rise/rise-%{version}.tar.gz
+Url:            http://github.com/damianavila/RISE
+Source:         
https://files.pythonhosted.org/packages/py2.py3/r/rise/rise-%{version}-py2.py3-none-any.whl
+Source10:       
https://raw.githubusercontent.com/damianavila/RISE/%{version}/LICENSE.md
+BuildRequires:  %{python_module certifi}
 BuildRequires:  %{python_module devel}
-BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module jupyter_notebook >= 5.5.0}
+BuildRequires:  %{python_module pip}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRequires:  python3-jupyter_notebook
-%ifpython3
-Requires(post):   python-jupyter_notebook
-Requires(preun):  python-jupyter_notebook
-%endif
 %ifpython2
 Requires:       python3-jupyter_rise = %{version}
 %endif
@@ -42,57 +40,43 @@
 %python_subpackages
 
 %description
-As you know... we love Jupyter/IPython and we like Reveal.js too.
-
-Previously, we developed a "converter" for the nbconvert library to
-export a ipynb to a STATIC html slideshow based in Reveal.js library.
+RISE produces live HTML-based slideshows.
 
-But with RISE, you don't have a STATIC version anymore, you have a
-LIVE version! A notebook rendered as a Reveal.js-based slideshow,
+A notebook can be rendered as a Reveal.js-based slideshow,
 where you can execute code or show to the audience whatever you can
 show/do inside the notebook itself (but in a "slidy" way).
 
 README at https://github.com/damianavila/RISE/blob/master/README.md
 
 %prep
-%setup -q -n rise-%{version}
-rm rise/static/reveal.js/.npmignore
-rm rise/static/reveal.js/.travis.yml
+%setup -c -T
+cp %{SOURCE10} .
 
 %build
-export LANG=en_US.UTF-8
-%python_build
+# Not Needed
 
 %install
-export LANG=en_US.UTF-8
-%python_install
+# The current requires-python is broken, see 
https://github.com/damianavila/RISE/pull/390
+%python_expand pip%{$python_bin_suffix} install --root=%{buildroot} 
--ignore-requires-python %{SOURCE0}
+%python_expand rm 
%{buildroot}%{$python_sitelib}/rise/static/reveal.js/.travis.yml
+%python_expand rm 
%{buildroot}%{$python_sitelib}/rise/static/reveal.js/.npmignore
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-PYTHONPATH=%{buildroot}%{python3_sitelib} jupyter nbextension install 
--nbextensions=%{buildroot}%{_datadir}/jupyter/nbextensions/ --py rise
-%python_expand %fdupes %{buildroot}%{_datadir}/jupyter/nbextensions/
+%{fdupes %{buildroot}%{_datadir}/jupyter/ %{buildroot}%{python3_sitelib}}
 
-%post -n python3-jupyter_rise
-jupyter nbextension enable --system --py rise
-exit 0
-
-%preun -n python3-jupyter_rise
-if [ $1 == 0 ]   && [ -d %{python3_sitelib}/rise/ ] ; then
-    jupyter nbextension disable --system --py rise
+if [ "$(dirname %{_prefix}/etc/jupyter)" != "$(dirname 
%{_sysconfdir}/jupyter)" ]; then
+mkdir -p %{buildroot}%{_sysconfdir}
+mv %{buildroot}%{_prefix}/etc/jupyter %{buildroot}%{_sysconfdir}/jupyter
+rm -d %{buildroot}%{_prefix}/etc
 fi
-exit 0
-
-%if %{with test}
-%check
-export LANG=en_US.UTF-8
-%python_exec setup.py test
-%endif
 
 %files %{python_files}
 %defattr(-,root,root,-)
-%doc README.md
 %license LICENSE.md
+%doc %{python_sitelib}/rise/static/README.md
 %{python_sitelib}/rise/
-%{python_sitelib}/rise-%{version}-py*.egg-info
+%{python_sitelib}/rise-*.dist-info
 %python3_only %{_datadir}/jupyter/nbextensions/rise/
+%python3_only %config %{_sysconfdir}/jupyter/nbconfig/notebook.d/rise.json
 
 %changelog

++++++ LICENSE.md ++++++
Copyright (c) 2013-2016, Damián Avila and contributors
All rights reserved.

Redistribution and use in source and binary forms, with or without 
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this 
list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, 
this list of conditions and the following disclaimer in the documentation 
and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its contributors 
may be used to endorse or promote products derived from this software without 
specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Reply via email to