Hello community,
here is the log from the commit of package python-jupyter_ipython for
openSUSE:Factory checked in at 2017-09-12 19:53:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter_ipython (Old)
and /work/SRC/openSUSE:Factory/.python-jupyter_ipython.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyter_ipython"
Tue Sep 12 19:53:24 2017 rev:7 rq:521793 version:6.1.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-jupyter_ipython/python-jupyter_ipython-doc.changes
2017-08-13 15:00:05.665174906 +0200
+++
/work/SRC/openSUSE:Factory/.python-jupyter_ipython.new/python-jupyter_ipython-doc.changes
2017-09-12 19:53:26.455561643 +0200
@@ -1,0 +2,44 @@
+Wed Sep 6 21:34:24 UTC 2017 - [email protected]
+
+- Implement single-spec version
+- Update to version 6.1.0
+ * Quotes in a filename are always escaped during tab-completion on
non-Windows.
+ :ghpull:`10069`
+ * Variables now shadow magics in autocompletion. See :ghissue:`4877` and
:ghpull:`10542`.
+ * Added the ability to add parameters to alias_magic.
+ * To suppress log state messages, you can now either use ``%logstart -q``,
pass
+ ``--LoggingMagics.quiet=True`` on the command line, or set
+ ``c.LoggingMagics.quiet=True`` in your configuration file.
+ * An additional flag ``--TerminalInteractiveShell.term_title_format`` is
+ introduced to allow the user to control the format of the terminal title.
It
+ is specified as a python format string, and currently the only variable it
+ will format is ``{cwd}``.
+ * ``??``/``%pinfo2`` will now show object docstrings if the source can't be
retrieved. :ghpull:`10532`
+ * ``IPython.display`` has gained a ``%markdown`` cell magic. :ghpull:`10563`
+ * ``%config`` options can now be tab completed. :ghpull:`10555`
+ * ``%config`` with no arguments are now unique and sorted. :ghpull:`10548`
+ * Completion on keyword arguments does not duplicate ``=`` sign if already
present. :ghpull:`10547`
+ * ``%run -m <module>`` now ``<module>`` passes extra arguments to
``<module>``. :ghpull:`10546`
+ * completer now understand "snake case auto complete": if
``foo_bar_kittens`` is
+ a valid completion, I can type ``f_b<tab>`` will complete to it.
:ghpull:`10537`
+ * tracebacks are better standardized and will compress `/path/to/home` to
`~`. :ghpull:`10515`
+ * ``TerminalInteractiveShell`` is configurable and can be configured to
+ (re)-use the readline interface.
+ * objects can now define a ``_repr_mimebundle_``
+ * Execution heuristics improve for single line statements
+ * ``display()`` can now return a display id to update display areas.
+- Update to version 6.0.0
+ * A major improvement in the completion machinery which is now capable of
+ completing non-executed code.
+ * stop compatibility with Python 2, which is still supported on the bugfix
+ only 5.x branch.
+ * Configurable TerminalInteractiveShell, readline interface
+ * The :cellmagic:`capture` magic can now capture the result of a cell (from
+ an expression on the last line), as well as printed and displayed output.
+ * Pressing Ctrl-Z in the terminal debugger now suspends IPython, as it
+ already does in the main terminal prompt.
+ * Autoreload can now reload ``Enum``.
+ * IPython.display has gained a :any:`GeoJSON <IPython.display.GeoJSON>`
+ object.
+
+-------------------------------------------------------------------
---
/work/SRC/openSUSE:Factory/python-jupyter_ipython/python-jupyter_ipython.changes
2017-08-13 15:00:05.713168170 +0200
+++
/work/SRC/openSUSE:Factory/.python-jupyter_ipython.new/python-jupyter_ipython.changes
2017-09-12 19:53:26.487557144 +0200
@@ -1,0 +2,44 @@
+Wed Sep 6 21:33:36 UTC 2017 - [email protected]
+
+- Implement single-spec version
+- Update to version 6.1.0
+ * Quotes in a filename are always escaped during tab-completion on
non-Windows.
+ :ghpull:`10069`
+ * Variables now shadow magics in autocompletion. See :ghissue:`4877` and
:ghpull:`10542`.
+ * Added the ability to add parameters to alias_magic.
+ * To suppress log state messages, you can now either use ``%logstart -q``,
pass
+ ``--LoggingMagics.quiet=True`` on the command line, or set
+ ``c.LoggingMagics.quiet=True`` in your configuration file.
+ * An additional flag ``--TerminalInteractiveShell.term_title_format`` is
+ introduced to allow the user to control the format of the terminal title.
It
+ is specified as a python format string, and currently the only variable it
+ will format is ``{cwd}``.
+ * ``??``/``%pinfo2`` will now show object docstrings if the source can't be
retrieved. :ghpull:`10532`
+ * ``IPython.display`` has gained a ``%markdown`` cell magic. :ghpull:`10563`
+ * ``%config`` options can now be tab completed. :ghpull:`10555`
+ * ``%config`` with no arguments are now unique and sorted. :ghpull:`10548`
+ * Completion on keyword arguments does not duplicate ``=`` sign if already
present. :ghpull:`10547`
+ * ``%run -m <module>`` now ``<module>`` passes extra arguments to
``<module>``. :ghpull:`10546`
+ * completer now understand "snake case auto complete": if
``foo_bar_kittens`` is
+ a valid completion, I can type ``f_b<tab>`` will complete to it.
:ghpull:`10537`
+ * tracebacks are better standardized and will compress `/path/to/home` to
`~`. :ghpull:`10515`
+ * ``TerminalInteractiveShell`` is configurable and can be configured to
+ (re)-use the readline interface.
+ * objects can now define a ``_repr_mimebundle_``
+ * Execution heuristics improve for single line statements
+ * ``display()`` can now return a display id to update display areas.
+- Update to version 6.0.0
+ * A major improvement in the completion machinery which is now capable of
+ completing non-executed code.
+ * stop compatibility with Python 2, which is still supported on the bugfix
+ only 5.x branch.
+ * Configurable TerminalInteractiveShell, readline interface
+ * The :cellmagic:`capture` magic can now capture the result of a cell (from
+ an expression on the last line), as well as printed and displayed output.
+ * Pressing Ctrl-Z in the terminal debugger now suspends IPython, as it
+ already does in the main terminal prompt.
+ * Autoreload can now reload ``Enum``.
+ * IPython.display has gained a :any:`GeoJSON <IPython.display.GeoJSON>`
+ object.
+
+-------------------------------------------------------------------
Old:
----
ipython-5.4.1.tar.gz
New:
----
ipython-6.1.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jupyter_ipython-doc.spec ++++++
--- /var/tmp/diff_new_pack.VClpy3/_old 2017-09-12 19:53:27.303442427 +0200
+++ /var/tmp/diff_new_pack.VClpy3/_new 2017-09-12 19:53:27.307441865 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package python-jupyter_ipython-doc
+# spec file for package python3-jupyter_ipython-doc
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
@@ -16,54 +16,88 @@
#
+# PDF documentation currently broken
+%bcond_with pdf
+
+%bcond_without html
%bcond_without tests
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-jupyter_ipython-doc
-Version: 5.4.1
+Version: 6.1.0
Release: 0
-Summary: Documentation for python-jupyter_ipython
+Summary: Documentation for python3-jupyter_ipython
License: BSD-3-Clause
Group: Development/Languages/Python
Url: http://ipython.org
Source:
https://files.pythonhosted.org/packages/source/i/ipython/ipython-%{version}.tar.gz
BuildRequires: fdupes
-BuildRequires: python-jupyter_ipython = %{version}
+BuildRequires: python3-jupyter_ipython
+BuildRequires: python-rpm-macros
%if %{with tests}
# Test Requirements
-BuildRequires: python-jupyter_ipykernel
-BuildRequires: python-jupyter_ipython-iptest = %{version}
-BuildRequires: python-nose
-BuildRequires: python-testpath
-# Python 2 Test Requirements
-BuildRequires: python-mock
+BuildRequires: python3-jupyter_ipython-iptest = %{version}
+BuildRequires: python3-jupyter_ipykernel
+BuildRequires: python3-jedi
+BuildRequires: python3-matplotlib
+BuildRequires: python3-nose
+BuildRequires: python3-testpath
+%endif
+# Documentation requirements
+%if %{with pdf} || %{with html}
+BuildRequires: graphviz
+BuildRequires: graphviz-gnome
+BuildRequires: python3-Sphinx
+BuildRequires: python3-matplotlib
+BuildRequires: python3-numpydoc
+BuildRequires: python3-requests
+%endif
+%if %{with pdf}
+BuildRequires: python3-Sphinx-latex
%endif
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Provides: %{name}-html = %{version}
Provides: %{name}-pdf = %{version}
Obsoletes: %{name}-html < %{version}
Obsoletes: %{name}-pdf < %{version}
-Provides: python2-jupyter_ipython-doc = %{version}
+Provides: %{python_module jupyter_ipython-doc}
+Provides: %{python_module jupyter_ipython-doc-html}
+Provides: %{python_module jupyter_ipython-doc-pdf}
%description
-Documentation and help files for python-jupyter_ipython.
-
-IMPORTANT: The Python 3 version of IPython is in long-term support
-mode. It will not be receiving major new features. Starting with
-IPython 6, only Python 3.3 and later is supported.
+Documentation and help files for python3-jupyter_ipython.
%prep
%setup -q -n ipython-%{version}
-find examples -type f -name "*.py" -exec sed -i "s|#!/usr/bin/env
python|#!/usr/bin/python2|" {} \;
+find examples -type f -name "*.py" -exec sed -i "s|^#!/usr/bin/env
python$|#!/usr/bin/python3|" {} \;
%build
-# Don't need to do anything here
+# Build the documentation
+export LANG="en_US.UTF-8"
+pushd docs
+%if %{with pdf}
+make pdf
+%endif
+%if %{with html}
+make html
+rm -rf build/html/.buildinfo
+%endif
+popd
%install
-mkdir -p %{buildroot}%{_docdir}/python-jupyter_ipython
-cp -r examples %{buildroot}%{_docdir}/python-jupyter_ipython/
-%fdupes %{buildroot}%{_docdir}/python-jupyter_ipython/
+mkdir -p %{buildroot}%{_docdir}/python3-jupyter_ipython
+
+%if %{with pdf}
+cp docs/build/latex/*.pdf %{buildroot}%{_docdir}/python3-jupyter_ipython/
+%endif
+
+%if %{with html}
+cp -r docs/build/html %{buildroot}%{_docdir}/python3-jupyter_ipython/
+%endif
+
+cp -r examples %{buildroot}%{_docdir}/python3-jupyter_ipython/
+%fdupes %{buildroot}%{_docdir}/python3-jupyter_ipython/
%if %{with tests}
%check
@@ -76,6 +110,6 @@
%files
%defattr(-,root,root,-)
%doc COPYING.rst docs/source/about/license_and_copyright.rst
-%{_docdir}/python-jupyter_ipython/
+%{_docdir}/python3-jupyter_ipython/
%changelog
++++++ python-jupyter_ipython.spec ++++++
--- /var/tmp/diff_new_pack.VClpy3/_old 2017-09-12 19:53:27.335437928 +0200
+++ /var/tmp/diff_new_pack.VClpy3/_new 2017-09-12 19:53:27.339437366 +0200
@@ -36,8 +36,10 @@
%endif
%endif
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python2 1
Name: python-jupyter_ipython
-Version: 5.4.1
+Version: 6.1.0
Release: 0
Summary: Rich architecture for interactive computing with Python
License: BSD-3-Clause
@@ -48,55 +50,53 @@
BuildRequires: desktop-file-utils
BuildRequires: fdupes
BuildRequires: hicolor-icon-theme
+BuildRequires: python-rpm-macros
BuildRequires: update-desktop-files
-BuildRequires: python-backports.shutil_get_terminal_size
-BuildRequires: python-decorator
-BuildRequires: python-devel
-BuildRequires: python-jupyter_nbformat
-BuildRequires: python-pathlib2
-BuildRequires: python-pexpect
-BuildRequires: python-pickleshare
-BuildRequires: python-prompt_toolkit
-BuildRequires: python-setuptools
-BuildRequires: python-simplegeneric > 0.8
-BuildRequires: python-traitlets
+BuildRequires: %{python_module decorator}
+BuildRequires: %{python_module devel}
+BuildRequires: %{python_module jupyter_nbformat}
+BuildRequires: %{python_module pexpect}
+BuildRequires: %{python_module pickleshare}
+BuildRequires: %{python_module prompt_toolkit}
+BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module simplegeneric > 0.8}
+BuildRequires: %{python_module traitlets}
%if %{with iptest}
# Test Requirements
-BuildRequires: python-matplotlib
-BuildRequires: python-nose
-BuildRequires: python-requests
-BuildRequires: python-testpath
-# Python 2 Test Requirements
-BuildRequires: python-mock
+BuildRequires: %{python_module matplotlib}
+BuildRequires: %{python_module nose}
+BuildRequires: %{python_module requests}
+BuildRequires: %{python_module testpath}
%endif
%if %{with ico}
BuildRequires: icoutils
%endif
-Requires: python-backports.shutil_get_terminal_size
Requires: python-decorator
Requires: python-jupyter_nbformat
-Requires: python-pathlib2
Requires: python-pexpect
Requires: python-pickleshare
Requires: python-prompt_toolkit
Requires: python-simplegeneric > 0.8
Requires: python-traitlets
Recommends: python-docrepr
+Recommends: python-jedi
Recommends: python-jupyter_ipykernel
Recommends: python-jupyter_ipyparallel
Recommends: python-jupyter_nbconvert
Recommends: python-jupyter_notebook
Recommends: python-jupyter_qtconsole
-Provides: IPython = %{version}
-Obsoletes: IPython < %{version}
-Provides: python-IPython = %{version}
-Obsoletes: python-IPython < %{version}
-Provides: python2-jupyter_ipython = %{version}
+%ifpython3
+Provides: IPython3 = %{version}
+Obsoletes: IPython3 < %{version}
+Provides: python3-IPython = %{version}
+Obsoletes: python3-IPython < %{version}
+%endif
Requires(post): update-alternatives
Requires(postun): update-alternatives
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
+%python_subpackages
+
%description
IPython provides a rich toolkit to help you make the
most out of using Python interactively. Its main
@@ -127,41 +127,25 @@
* Easily embeddable in other Python programs and GUIs.
* Integrated access to the pdb debugger and the Python profiler.
-IMPORTANT: The Python 2 version of IPython is in long-term support
-mode. It will not be receiving major new features. Starting with
-IPython 6, only Python 3.3 and later is supported.
-
%package iptest
Summary: Tools for testing packages that rely in %{name}
Group: Development/Languages/Python
Requires: %{name} = %{version}
+Requires: python-jedi
Requires: python-matplotlib
Requires: python-nose
Requires: python-requests
Requires: python-testpath
-# Python 2 Test Requirements
-Requires: python-mock
-Provides: python2-jupyter_ipython-iptest = %{version}
%description iptest
This package provides the iptest command, which is used for
testing software that uses %{name}.
-IMPORTANT: The Python 2 version of IPython is in long-term support
-mode. It will not be receiving major new features. Starting with
-IPython 6, only Python 3.3 and later is supported.
-
%prep
%setup -q -n ipython-%{version}
-sed -i "s|#!/usr/bin/env python|#!/usr/bin/python|"
IPython/testing/plugin/iptest.py
-sed -i "s|#!/usr/bin/env python|#!/usr/bin/python|"
IPython/testing/plugin/setup.py
-sed -i "s|#!/usr/bin/env python|#!/usr/bin/python|" IPython/terminal/ipapp.py
-
-find . -type f -name "*.py" -exec sed -i
"s|#!/usr/bin/python|#!/usr/bin/python2|" {} \;
-
%build
-python setup.py build
+%python_build
%if %{with ico}
pushd scripts
@@ -171,111 +155,89 @@
%endif
%install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-
-# Prepare for update-alternatives usage
-mkdir -p %{buildroot}%{_sysconfdir}/alternatives
-for p in ipython iptest ; do
- sed -i "s|#!/usr/bin/python|#!/usr/bin/python2|"
%{buildroot}%{_bindir}/${p}
- sed -i "s|#!/usr/bin/python|#!/usr/bin/python2|"
%{buildroot}%{_bindir}/${p}2
- mv %{buildroot}%{_bindir}/$p %{buildroot}%{_bindir}/$p-%{py_ver}
- ln -s -f %{_sysconfdir}/alternatives/$p %{buildroot}%{_bindir}/$p
- # create a dummy target for /etc/alternatives/$p
- touch %{buildroot}%{_sysconfdir}/alternatives/$p
-done
+%python_install
+%python_clone -a %{buildroot}%{_bindir}/ipython
+%python_clone -a %{buildroot}%{_mandir}/man1/ipython.1
-mv %{buildroot}%{_mandir}/man1/ipython.1
%{buildroot}%{_mandir}/man1/ipython-%{py_ver}.1
-ln -s -f %{_sysconfdir}/alternatives/ipython.1.gz
%{buildroot}%{_mandir}/man1/ipython.1.gz
-# create a dummy target for /etc/alternatives/ipython.1.gz
-touch %{buildroot}%{_sysconfdir}/alternatives/ipython.1.gz
-
-# We also want a manual for ipython2
-ln -s %{_mandir}/man1/ipython-%{py_ver}.1.gz
%{buildroot}%{_mandir}/man1/ipython2.1.gz
+%if %{with iptest}
+%python_clone -a %{buildroot}%{_bindir}/iptest
+%else
+rm %{buildroot}%{_bindir}/iptest*
+%endif
-# These can be run stand-alone, so make them executable rather than removing
shebang
-chmod a+x %{buildroot}%{python_sitelib}/IPython/external/mathjax.py
-chmod a+x %{buildroot}%{python_sitelib}/IPython/testing/plugin/iptest.py
-chmod a+x %{buildroot}%{python_sitelib}/IPython/testing/plugin/setup.py
-chmod a+x %{buildroot}%{python_sitelib}/IPython/terminal/ipapp.py
+%if %{have_python3} && ! 0%{?skip_python3}
+ln -s %{_mandir}/man1/ipython-%{python3_bin_suffix}.1.gz
%{buildroot}%{_mandir}/man1/ipython3.1.gz
+%endif
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/
-cp %{SOURCE1}
%{buildroot}%{_datadir}/icons/hicolor/scalable/apps/IPython-%{py_ver}.svg
+%python_expand cp %{SOURCE1}
%{buildroot}%{_datadir}/icons/hicolor/scalable/apps/IPython-%{$python_bin_suffix}.svg
%if %{with ico}
# Install the icons
for x in 16 24 32 48 256 ; do
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/${x}x${x}/apps/
ipyf=(scripts/ipython_*_${x}x${x}x32.png)
ipynbf=(scripts/ipython_nb_*_${x}x${x}x32.png)
- cp ${ipyf[0]}
%{buildroot}%{_datadir}/icons/hicolor/${x}x${x}/apps/IPython-%{py_ver}.png
- cp ${ipynbf[0]}
%{buildroot}%{_datadir}/icons/hicolor/${x}x${x}/apps/IPythonNotebook-%{py_ver}.png
+ %python_expand cp ${ipyf[0]}
%{buildroot}%{_datadir}/icons/hicolor/${x}x${x}/apps/IPython-%{$python_bin_suffix}.png
+ %python_expand cp ${ipynbf[0]}
%{buildroot}%{_datadir}/icons/hicolor/${x}x${x}/apps/IPythonNotebook-%{$python_bin_suffix}.png
done
%endif
# Modify and install .desktop file
-mv examples/IPython\ Kernel/ipython.desktop ipython-%{py_ver}.desktop
-desktop-file-edit --set-comment="Enhanced interactive Python %{py_ver} shell"
--set-name="ipython %{py_ver}" --set-generic-name="IPython %{py_ver}"
--set-key="Exec" --set-value="ipython-%{py_ver}" --set-icon="IPython-%{py_ver}"
ipython-%{py_ver}.desktop
-%suse_update_desktop_file -i -r ipython-%{py_ver} "System;TerminalEmulator;"
-
-%fdupes -s %{buildroot}%{_bindir}
-
-# Remove these since they won't work
-%if !%{with iptest}
-rm %{buildroot}%{_bindir}/iptest
-rm %{buildroot}%{_bindir}/iptest2
-rm %{buildroot}%{_bindir}/iptest-%{py_ver}
-rm %{buildroot}%{_sysconfdir}/alternatives/iptest
-%endif
+%{python_expand cp examples/IPython\ Kernel/ipython.desktop
ipython-%{$python_bin_suffix}.desktop
+desktop-file-edit --set-comment="Enhanced interactive Python
%{$python_bin_suffix} shell" --set-name="ipython %{$python_bin_suffix}"
--set-generic-name="IPython %{$python_bin_suffix}" --set-key="Exec"
--set-value="ipython-%{$python_bin_suffix}"
--set-icon="IPython-%{$python_bin_suffix}" ipython-%{$python_bin_suffix}.desktop
+%suse_update_desktop_file -i -r ipython-%{$python_bin_suffix}
"System;TerminalEmulator;"
+}
+
+# These can be run stand-alone, so make them executable rather than removing
shebang
+%{python_expand find %{buildroot}%{$python_sitelib} -type f -name "*.py" -exec
sed -i "s|^#!/usr/bin/env python$|#!%{__$python}|" {} \;
+find %{buildroot}%{$python_sitelib} -type f -name "*.py" -exec sed -i
"s|^#!/usr/bin/python$|#!%{__$python}|" {} \;
+find %{buildroot}%{$python_sitelib} -type f -name "*.py" -exec grep -q
"#!%{__$python}" {} \; -exec chmod a+x {} \;
+
+$python -m compileall -d %{$python_sitelib}
%{buildroot}%{$python_sitelib}/IPython
+$python -O -m compileall -d %{$python_sitelib}
%{buildroot}%{$python_sitelib}/IPython
+
+%fdupes %{buildroot}%{$python_sitelib}
+}
%post
-%_sbindir/update-alternatives \
- --install %{_bindir}/ipython ipython %{_bindir}/ipython-%{py_ver} 30 \
- --slave %{_mandir}/man1/ipython.1.gz ipython.1.gz
%{_mandir}/man1/ipython-%{py_ver}.1.gz
+%{python_install_alternative ipython ipython.1.gz}
%desktop_database_post
%icon_theme_cache_post
%post iptest
-%_sbindir/update-alternatives \
- --install %{_bindir}/iptest iptest %{_bindir}/iptest-%{py_ver} 30
+%python_install_alternative iptest
%postun
-if [ $1 -eq 0 ] ; then
- %_sbindir/update-alternatives --remove ipython %{_bindir}/ipython-%{py_ver}
-fi
+%python_uninstall_alternative ipython
%desktop_database_postun
%icon_theme_cache_postun
%postun iptest
-if [ $1 -eq 0 ] ; then
- %_sbindir/update-alternatives --remove iptest %{_bindir}/iptest-%{py_ver}
-fi
+%python_uninstall_alternative iptest
-%files
+%files %{python_files}
%defattr(-,root,root,-)
%doc COPYING.rst README.rst docs/source/about/license_and_copyright.rst
-%{_bindir}/ipython
-%{_bindir}/ipython2
-%{_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/ipython.1.gz
+%python_alternative %{_bindir}/ipython
+%python_alternative %{_mandir}/man1/ipython.1.gz
+%python3_only %{_bindir}/ipython3
+%python3_only %{_mandir}/man1/ipython3.1.gz
%{python_sitelib}/IPython/
%{python_sitelib}/ipython-%{version}-py*.egg-info
-%{_datadir}/applications/ipython-%{py_ver}.desktop
-%{_datadir}/icons/hicolor/scalable/apps/IPython-%{py_ver}.svg
+%{_datadir}/applications/ipython-%{python_bin_suffix}.desktop
+%{_datadir}/icons/hicolor/scalable/apps/IPython-%{python_bin_suffix}.svg
%if %{with ico}
-%{_datadir}/icons/hicolor/*x*/apps/IPython-%{py_ver}.png
-%{_datadir}/icons/hicolor/*x*/apps/IPythonNotebook-%{py_ver}.png
+%{_datadir}/icons/hicolor/*x*/apps/IPython-%{python_bin_suffix}.png
+%{_datadir}/icons/hicolor/*x*/apps/IPythonNotebook-%{python_bin_suffix}.png
%endif
%if %{with iptest}
-%files iptest
+
+%files %{python_files iptest}
%defattr(-,root,root,-)
-%{_bindir}/iptest
-%{_bindir}/iptest2
-%{_bindir}/iptest-%{py_ver}
-%ghost %{_sysconfdir}/alternatives/iptest
+%python_alternative %{_bindir}/iptest
+%python3_only %{_bindir}/iptest3
+
%endif
%changelog
++++++ ipython-5.4.1.tar.gz -> ipython-6.1.0.tar.gz ++++++
++++ 17277 lines of diff (skipped)