Hello community,

here is the log from the commit of package python-jupyter_ipython for 
openSUSE:Factory checked in at 2015-11-18 22:33:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter_ipython (Old)
 and      /work/SRC/openSUSE:Factory/.python-jupyter_ipython.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-jupyter_ipython"

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

--- /dev/null   2015-11-02 12:10:47.524024255 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter_ipython.new/python-jupyter_ipython-doc.changes
   2015-11-18 22:33:45.000000000 +0100
@@ -0,0 +1,10 @@
+-------------------------------------------------------------------
+Thu Oct  1 12:50:43 UTC 2015 - [email protected]
+
+- Build documentation
+  This is in a separate spec file to avoid dependency loops
+- Obsolete IPython
+- Split the iptest executable into its own subpackage
+  This has a bunch of testing dependencies that are not otherwise
+  necessary.
+
--- 
/work/SRC/openSUSE:Factory/python-jupyter_ipython/python-jupyter_ipython.changes
    2015-09-30 05:50:00.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter_ipython.new/python-jupyter_ipython.changes
       2015-11-18 22:33:45.000000000 +0100
@@ -1,0 +2,10 @@
+Thu Oct  1 12:50:43 UTC 2015 - [email protected]
+
+- Build documentation
+  This is in a separate spec file to avoid dependency loops
+- Obsolete IPython
+- Split the iptest executable into its own subpackage
+  This has a bunch of testing dependencies that are not otherwise
+  necessary.
+
+-------------------------------------------------------------------

New:
----
  python-jupyter_ipython-doc.changes
  python-jupyter_ipython-doc.spec

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

Other differences:
------------------
++++++ python-jupyter_ipython-doc.spec ++++++
#
# spec file for package python-jupyter_ipython-doc
#
# 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:           python-jupyter_ipython-doc
Version:        4.0.0
Release:        0
Summary:        Documentation for python-jupyter_ipython
License:        BSD-3-Clause
Group:          Development/Languages/Python
Url:            http://ipython.org
Source:         
https://pypi.python.org/packages/source/i/ipython/ipython-%{version}.tar.gz
BuildRequires:  fdupes
BuildRequires:  python-jupyter_ipython
BuildRequires:  python-jupyter_ipykernel
%if 0%{?suse_version} && 0%{?suse_version} > 1320
# Test Requirements
BuildRequires:  python-jupyter_ipython-iptest
%endif
# Documentation requirements
BuildRequires:  graphviz
BuildRequires:  graphviz-gnome
BuildRequires:  python-Sphinx
BuildRequires:  python-matplotlib
BuildRequires:  python-nose
BuildRequires:  python-numpydoc
BuildRequires:  python-requests
%if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} > 
1110 )
BuildRequires:  python-Sphinx-latex
%endif
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
Documentation and help files for python-jupyter_ipython

%package html
Summary:        HTML documentation for python-jupyter_ipython
Recommends:     python-jupyter_ipython = %{version}

%description html
Documentation and help files for python-jupyter_ipython in HTML format

%package pdf
Summary:        HTML documentation for python-jupyter_ipython
Recommends:     python-jupyter_ipython = %{version}

%description pdf
Documentation and help files for python-jupyter_ipython in PDF format

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

%build
# Build the documentation
pushd docs
# PDF documentation not currently working
#%if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} > 
1110 )
# make pdf
# %endif
make html
rm -rf build/html/.buildinfo
popd

%install
mkdir -p %{buildroot}%{_docdir}/python-jupyter_ipython

#%if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} > 
1110 )
# cp docs/build/latex/jupyter_core.pdf 
%{buildroot}%{_docdir}/python-jupyter_ipython/
# %endif

cp -r docs/build/html %{buildroot}%{_docdir}/python-jupyter_ipython/
%fdupes %{buildroot}%{_docdir}/python-jupyter_ipython/html/

%if 0%{?suse_version} && 0%{?suse_version} > 1320
%check
export LANG="en_US.UTF-8"
pushd docs
iptest
popd
%endif
 
%files html
%defattr(-,root,root,-)
%doc COPYING.rst
%{_docdir}/python-jupyter_ipython/html/

# %if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} > 
1110 )
# %files pdf
# %defattr(-,root,root,-)
# %doc COPYING.rst docs/source/about/license_and_copyright.rst
# %{_docdir}/python-jupyter_ipython/jupyter_core.pdf
# %endif

%changelog
++++++ python-jupyter_ipython.spec ++++++
--- /var/tmp/diff_new_pack.tcvEAq/_old  2015-11-18 22:33:46.000000000 +0100
+++ /var/tmp/diff_new_pack.tcvEAq/_new  2015-11-18 22:33:46.000000000 +0100
@@ -19,7 +19,7 @@
 Name:           python-jupyter_ipython
 Version:        4.0.0
 Release:        0
-Summary:        IPython Components for Jupyter
+Summary:        Rich architecture for interactive computing with Python
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
 Url:            http://ipython.org
@@ -32,6 +32,15 @@
 BuildRequires:  python-setuptools
 BuildRequires:  python-simplegeneric > 0.8
 BuildRequires:  python-traitlets
+%if 0%{?suse_version} && 0%{?suse_version} > 1320
+# Test Requirements
+BuildRequires:  python-matplotlib
+BuildRequires:  python-nose
+BuildRequires:  python-requests
+BuildRequires:  python-testpath
+# Python 2 Test Requirements
+BuildRequires:  python-mock
+%endif
 Requires:       python-decorator
 Requires:       python-pexpect
 Requires:       python-pickleshare
@@ -43,7 +52,10 @@
 Recommends:     python-jupyter_nbformat
 Recommends:     python-jupyter_notebook
 Recommends:     python-jupyter_qtconsole
-Conflicts:      IPython < 4
+Provides:       IPython = %{version}
+Obsoletes:      IPython < %{version}
+Provides:       python-IPython = %{version}
+Obsoletes:      python-IPython < %{version}
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -54,7 +66,47 @@
 %endif
 
 %description
-This package provides the IPython components for Jupyter.
+IPython provides a rich toolkit to help you make the
+most out of using Python interactively. Its main
+components are:
+
+ * A powerful interactive Python shell
+ * A Jupyter kernel to work with Python code in
+   Jupyter notebooks and other interactive frontends.
+
+The enhanced interactive Python shells have the
+following main features:
+
+ * Comprehensive object introspection.
+ * Input history, persistent across sessions.
+ * Caching of output results during a session with automatically
+   generated references.
+ * Extensible tab completion, with support by default for completion
+   of python variables and keywords, filenames and function keywords.
+ * Extensible system of ‘magic’ commands for controlling the
+   environment and performing many tasks related either to IPython or
+   the operating system.
+ * A rich configuration system with easy switching between different
+   setups (simpler than changing $PYTHONSTARTUP environment variables
+   every time).
+ * Session logging and reloading.
+ * Extensible syntax processing for special purpose situations.
+ * Access to the system shell with user-extensible alias system.
+ * Easily embeddable in other Python programs and GUIs.
+ * Integrated access to the pdb debugger and the Python profiler.
+ 
+%package iptest
+Summary:        Tools for testing packages that rely in %{name}
+Requires:       %{name} = %{version}
+Requires:       python-matplotlib
+Requires:       python-mock
+Requires:       python-nose
+Requires:       python-requests
+Requires:       python-testpath
+
+%description iptest
+This package provides the iptest command, which is used for
+testing software that uses %{name}.
 
 %prep
 %setup -q -n ipython-%{version}
@@ -90,32 +142,53 @@
 
 %fdupes -s %{buildroot}%{_bindir}
 
+# Remove these since they won't work
+%if 0%{?suse_version} && 0%{?suse_version} <= 1320
+rm %{buildroot}%{_bindir}/iptest
+rm %{buildroot}%{_bindir}/iptest2
+rm %{buildroot}%{_bindir}/iptest-%{py_ver}
+rm %{buildroot}%{_sysconfdir}/alternatives/iptest
+%endif
+
 %post
 %_sbindir/update-alternatives \
    --install %{_bindir}/ipython ipython %{_bindir}/ipython-%{py_ver} 30 \
-   --slave %{_bindir}/iptest iptest %{_bindir}/iptest-%{py_ver} \
    --slave %{_mandir}/man1/ipython.1.gz ipython.1.gz 
%{_mandir}/man1/ipython-%{py_ver}.1.gz
 
+%post iptest
+%_sbindir/update-alternatives \
+   --install %{_bindir}/iptest iptest %{_bindir}/iptest-%{py_ver} 30
+
 %postun
 if [ $1 -eq 0 ] ; then
     %_sbindir/update-alternatives --remove ipython %{_bindir}/ipython-%{py_ver}
 fi
 
+%postun iptest
+if [ $1 -eq 0 ] ; then
+    %_sbindir/update-alternatives --remove iptest %{_bindir}/iptest-%{py_ver}
+fi
+
 %files
 %defattr(-,root,root,-)
-%doc README.rst docs/source/about/license_and_copyright.rst
-%{_bindir}/iptest
-%{_bindir}/iptest2
+%doc COPYING.rst README.rst docs/source/about/license_and_copyright.rst
 %{_bindir}/ipython
 %{_bindir}/ipython2
-%{_bindir}/iptest-%{py_ver}
 %{_bindir}/ipython-%{py_ver}
+%ghost %{_sysconfdir}/alternatives/ipython
 %{_mandir}/man1/ipython.1.gz
 %{_mandir}/man1/ipython-%{py_ver}.1.gz
 %{_mandir}/man1/ipython2.1.gz
-%ghost %{_sysconfdir}/alternatives/iptest
-%ghost %{_sysconfdir}/alternatives/ipython
 %ghost %{_sysconfdir}/alternatives/ipython.1.gz
 %{python_sitelib}/*
 
+%if 0%{?suse_version} && 0%{?suse_version} > 1320
+%files iptest
+%defattr(-,root,root,-)
+%{_bindir}/iptest
+%{_bindir}/iptest2
+%{_bindir}/iptest-%{py_ver}
+%ghost %{_sysconfdir}/alternatives/iptest
+%endif
+
 %changelog


Reply via email to