Hello community,

here is the log from the commit of package python-jupyter_octave_kernel for 
openSUSE:Factory checked in at 2018-04-20 17:31:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter_octave_kernel (Old)
 and      /work/SRC/openSUSE:Factory/.python-jupyter_octave_kernel.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-jupyter_octave_kernel"

Fri Apr 20 17:31:04 2018 rev:3 rq:598573 version:0.28.3

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-jupyter_octave_kernel/python-jupyter_octave_kernel.changes
        2018-04-05 15:35:29.215815746 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter_octave_kernel.new/python-jupyter_octave_kernel.changes
   2018-04-20 17:33:24.353975237 +0200
@@ -1,0 +2,7 @@
+Thu Apr 19 14:35:45 UTC 2018 - [email protected]
+
+- Update to version 0.28.3
+  * Bugfix release
+- Switch to using wheels for more reliable installation
+
+-------------------------------------------------------------------

Old:
----
  octave_kernel-0.28.0.tar.gz

New:
----
  LICENSE.txt
  README.rst
  octave_kernel-0.28.3-py2.py3-none-any.whl

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

Other differences:
------------------
++++++ python-jupyter_octave_kernel.spec ++++++
--- /var/tmp/diff_new_pack.AAauil/_old  2018-04-20 17:33:25.241943034 +0200
+++ /var/tmp/diff_new_pack.AAauil/_new  2018-04-20 17:33:25.245942889 +0200
@@ -19,17 +19,21 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %bcond_with test
 Name:           python-jupyter_octave_kernel
-Version:        0.28.0
+Version:        0.28.3
 Release:        0
 Summary:        Jupyter kernel for Octave
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
 Url:            http://github.com/Calysto/octave_kernel
-Source:         
https://files.pythonhosted.org/packages/source/o/octave_kernel/octave_kernel-%{version}.tar.gz
+Source:         
https://files.pythonhosted.org/packages/py2.py3/o/octave_kernel/octave_kernel-%{version}-py2.py3-none-any.whl
+Source10:       
https://raw.githubusercontent.com/Calysto/octave_kernel/v%{version}/LICENSE.txt
+Source11:       
https://raw.githubusercontent.com/Calysto/octave_kernel/v%{version}/README.rst
 BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module certifi}
 BuildRequires:  %{python_module jupyter_client >= 4.3.0}
 BuildRequires:  %{python_module jupyter_ipykernel}
 BuildRequires:  %{python_module jupyter_metakernel >= 0.18.0}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -38,6 +42,7 @@
 BuildRequires:  python3-jupyter_kernel_test
 %endif
 Requires:       octave
+Requires:       python-certifi
 Requires:       python-jupyter_client >= 4.3.0
 Requires:       python-jupyter_ipykernel
 Requires:       python-jupyter_metakernel >= 0.18.0
@@ -49,19 +54,19 @@
 An Octave kernel for Jupyter.
 
 %prep
-%setup -q -n octave_kernel-%{version}
+%setup -c -T
+cp %{SOURCE10} .
+cp %{SOURCE11} .
 
 %build
-%python_build
+# note needed
 
 %install
-%python_install
-%python_expand %fdupes %{buildroot}%{$python_sitelib}
-%python_expand install -m 644 octave_kernel/kernel.json 
%{buildroot}%{$python_sitelib}/octave_kernel/
+%python_expand pip%{$python_bin_suffix} install --root=%{buildroot} %{SOURCE0}
+sed -i "s|\"python\"|\"%{__python3}\"|" 
%{buildroot}%{_datadir}/jupyter/kernels/octave/kernel.json
 
-export PYTHONPATH=%{buildroot}%{python3_sitelib}
-python3 -m octave_kernel install --name "octave" \
-                                 --prefix %{buildroot}%{_prefix}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%{fdupes %{buildroot}%{_datadir}/jupyter/ %{buildroot}%{python3_sitelib}}
 
 %if %{with test}
 %check

++++++ LICENSE.txt ++++++

# Copyright (c) Octave Kernel Development Team.
# Distributed under the terms of the Modified BSD License.

++++++ README.rst ++++++
An Octave kernel for Jupyter
============================
Prerequisites: Install  `Jupyter Notebook 
<http://jupyter.readthedocs.org/en/latest/install.html>`_, and Octave_.  It is 
recommended that you also
install ``gnuplot`` support in Octave for inline plotting.

To install::

    pip install octave_kernel

Add ``--user`` to install in your private environment.

To use it, run one of:

.. code:: shell

    ipython notebook
    # In the notebook interface, select Octave from the 'New' menu
    ipython qtconsole --kernel octave
    ipython console --kernel octave

This is based on `MetaKernel <http://pypi.python.org/pypi/metakernel>`_,
which means it features a standard set of magics.

A sample notebook is available online_.

You can specify the path to your Octave executable by creating an 
``OCTAVE_EXECUTABLE`` environment variable.

You can also specify the command line options to Octave by creating an
``OCTAVE_CLI_OPTIONS`` environment variable.  The will be appended to the
default opions of  ``--interactive --quiet --no-init-file``.  Note that the
init file is explicitly called after the kernel has set ``more off`` to prevent
a lockup when the pager is invoked in ``~/.octaverc``.

Advanced Installation Notes::
We automatically install a Jupyter kernelspec when installing the 
python package.  This location can be found using ``jupyter kernelspec list``.
If the default location is not desired, you can remove the directory for the
``octave`` kernel, and install using `python -m octave_kernel install`.  See
``python -m octave_kernel install --help`` for available options.

.. _Octave: https://www.gnu.org/software/octave/download.html
.. _online: 
http://nbviewer.ipython.org/github/Calysto/octave_kernel/blob/master/octave_kernel.ipynb

Reply via email to