Hello community,

here is the log from the commit of package python3-jupyter_notebook for 
openSUSE:Factory checked in at 2015-09-30 05:51:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-jupyter_notebook (Old)
 and      /work/SRC/openSUSE:Factory/.python3-jupyter_notebook.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python3-jupyter_notebook"

Changes:
--------
New Changes file:

--- /dev/null   2015-09-24 09:51:01.260026505 +0200
+++ 
/work/SRC/openSUSE:Factory/.python3-jupyter_notebook.new/python3-jupyter_notebook.changes
   2015-09-30 05:51:21.000000000 +0200
@@ -0,0 +1,12 @@
+-------------------------------------------------------------------
+Wed Sep 23 11:24:40 UTC 2015 - [email protected]
+
+- Update to 4.0.5
+  * Fix launching the notebook on Windows
+  * Fix the path searched for frontend config
+
+-------------------------------------------------------------------
+Fri Aug 14 11:28:49 UTC 2015 - [email protected]
+
+- Initial version
+

New:
----
  notebook-4.0.5.tgz
  python3-jupyter_notebook.changes
  python3-jupyter_notebook.spec

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

Other differences:
------------------
++++++ python3-jupyter_notebook.spec ++++++
#
# spec file for package python3-jupyter_notebook
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           python3-jupyter_notebook
Version:        4.0.5
Release:        0
Summary:        Jupyter Notebook
License:        BSD-3-Clause
Group:          Development/Languages/Python
Url:            http://jupyter.org
Source:         
https://pypi.python.org/packages/source/n/notebook/notebook-%{version}.tgz
BuildRequires:  python3-Jinja2
BuildRequires:  python3-devel
BuildRequires:  python3-ipython_genutils
BuildRequires:  python3-jupyter_client
BuildRequires:  python3-jupyter_core
BuildRequires:  python3-jupyter_ipykernel
BuildRequires:  python3-jupyter_nbconvert
BuildRequires:  python3-jupyter_nbformat
BuildRequires:  python3-setuptools
BuildRequires:  python3-terminado >= 0.3.3
BuildRequires:  python3-tornado >= 4
BuildRequires:  python3-traitlets
# Test requirements
BuildRequires:  python3-nose
BuildRequires:  python3-requests
Requires:       python3-Jinja2
Requires:       python3-ipython_genutils
Requires:       python3-jupyter_client
Requires:       python3-jupyter_core
Requires:       python3-jupyter_ipykernel
Requires:       python3-jupyter_nbconvert
Requires:       python3-jupyter_nbformat
Requires:       python3-terminado >= 0.3.3
Requires:       python3-tornado >= 4
Requires:       python3-traitlets
Recommends:     python3-jupyter_ipywidgets
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
The Jupyter HTML notebook is a web-based notebook environment for interactive 
computing.


%prep
%setup -q -n notebook-%{version}

%build
python3 setup.py build

%install
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}

# Prepare for update-alternatives usage
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
for p in jupyter-notebook jupyter-nbextension ; do
    mv %{buildroot}%{_bindir}/$p %{buildroot}%{_bindir}/$p-%{py3_ver}
    ln -s -f %{_sysconfdir}/alternatives/$p %{buildroot}%{_bindir}/$p
    # create a dummy target for /etc/alternatives/$p
    touch %{buildroot}%{_sysconfdir}/alternatives/$p
done

%post
%_sbindir/update-alternatives \
   --install %{_bindir}/jupyter-notebook jupyter-notebook 
%{_bindir}/jupyter-notebook-%{py3_ver} 30 \
   --slave %{_bindir}/jupyter-nbextension jupyter-nbextension 
%{_bindir}/jupyter-nbextension-%{py3_ver}

%postun
if [ $1 -eq 0 ] ; then
    %_sbindir/update-alternatives --remove jupyter-notebook 
%{_bindir}/jupyter-notebook-%{py3_ver}
fi

%check
export LANG=en_US.UTF-8
nosetests

%files
%defattr(-,root,root,-)
%doc CONTRIBUTING.md COPYING.md README.md
%{_bindir}/jupyter-nbextension
%{_bindir}/jupyter-notebook
%{_bindir}/jupyter-nbextension-%{py3_ver}
%{_bindir}/jupyter-notebook-%{py3_ver}
%ghost %{_sysconfdir}/alternatives/jupyter-nbextension
%ghost %{_sysconfdir}/alternatives/jupyter-notebook
%{python3_sitelib}/*

%changelog

Reply via email to