Search
SailfishOS Open Build Service
>
Projects
>
home:nodevel
:
python3-pandas
>
python3-jupyter_ipython
> python3-jupyter_ipython.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File python3-jupyter_ipython.spec of Package python3-jupyter_ipython
# # spec file for package python3-jupyter_ipython # # Copyright (c) 2016 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/ # %{?!py3_ver: %global py3_ver 3.4} %{?!python3_sitearch: %global python3_sitearch /usr/lib/python%{py3_ver}/site-packages/} %{?!python3_sitelib: %global python3_sitelib /usr/lib/python%{py3_ver}/site-packages/} Name: python3-jupyter_ipython Version: 4.2.0 Release: 19.13 Summary: Rich architecture for interactive computing with Python 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: python3-backports.shutil_get_terminal_size BuildRequires: python3-decorator BuildRequires: python3-devel BuildRequires: python3-pexpect BuildRequires: python3-pickleshare BuildRequires: python3-base BuildRequires: python3-simplegeneric > 0.8 BuildRequires: python3-traitlets # Recommends: python3-jupyter_ipykernel # Recommends: python3-jupyter_ipyparallel # Recommends: python3-jupyter_nbconvert # Recommends: python3-jupyter_nbformat # Recommends: python3-jupyter_notebook # Recommends: python3-jupyter_qtconsole Requires: python3-pexpect Requires: python3-backports.shutil_get_terminal_size Requires: python3-pickleshare Requires: python3-simplegeneric Provides: python3-IPython = %{version} Obsoletes: python3-IPython < %{version} Requires(post): update-alternatives Requires(postun): update-alternatives BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description 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} Group: Development/Languages/Python Requires: %{name} = %{version} Requires: python3-matplotlib Requires: python3-nose Requires: python3-requests Requires: python3-testpath %description iptest This package provides the iptest command, which is used for testing software that uses %{name}. %prep %setup -q -n ipython-%{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 ipython iptest ; 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 mv %{buildroot}%{_mandir}/man1/ipython.1 %{buildroot}%{_mandir}/man1/ipython-%{py3_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 ipython3 ln -s %{_mandir}/man1/ipython-%{py3_ver}.1.gz %{buildroot}%{_mandir}/man1/ipython3.1.gz # These can be run stand-alone, so make them executable rather than removing shebang chmod a+x %{buildroot}%{python3_sitelib}/IPython/external/mathjax.py chmod a+x %{buildroot}%{python3_sitelib}/IPython/testing/plugin/iptest.py chmod a+x %{buildroot}%{python3_sitelib}/IPython/testing/plugin/setup.py chmod a+x %{buildroot}%{python3_sitelib}/IPython/terminal/ipapp.py %fdupes -s %{buildroot}%{_bindir} %post %_sbindir/update-alternatives \ --install %{_bindir}/ipython ipython %{_bindir}/ipython-%{py3_ver} 30 \ --slave %{_mandir}/man1/ipython.1.gz ipython.1.gz %{_mandir}/man1/ipython-%{py3_ver}.1.gz %post iptest %_sbindir/update-alternatives \ --install %{_bindir}/iptest iptest %{_bindir}/iptest-%{py3_ver} 30 %postun if [ $1 -eq 0 ] ; then %_sbindir/update-alternatives --remove ipython %{_bindir}/ipython-%{py3_ver} fi %postun iptest if [ $1 -eq 0 ] ; then %_sbindir/update-alternatives --remove iptest %{_bindir}/iptest-%{py3_ver} fi %files %defattr(-,root,root,-) %doc COPYING.rst README.rst docs/source/about/license_and_copyright.rst %{_bindir}/ipython %{_bindir}/ipython3 %{_bindir}/ipython-%{py3_ver} %ghost %{_sysconfdir}/alternatives/ipython %{_mandir}/man1/ipython.1.gz %{_mandir}/man1/ipython-%{py3_ver}.1.gz %{_mandir}/man1/ipython3.1.gz %ghost %{_sysconfdir}/alternatives/ipython.1.gz %{python3_sitelib}/* %files iptest %defattr(-,root,root,-) %{_bindir}/iptest %{_bindir}/iptest3 %{_bindir}/iptest-%{py3_ver} %ghost %{_sysconfdir}/alternatives/iptest %changelog * Tue May 17 2016 toddrme2178@gmail.com - Update to 4.2.0 - Fix ``ipython -i`` on errors, which was broken in 4.1. - The delay meant to highlight deprecated commands that have moved to jupyter has been removed. - Improve compatibility with future versions of traitlets and matplotlib. - Use stdlib :func:`python:shutil.get_terminal_size` to measure terminal width when displaying tracebacks (provided by ``backports.shutil_get_terminal_size`` on Python 2). * Sun May 8 2016 arun@gmx.de - specfile: * updated source url to files.pythonhosted.org * Fri Mar 4 2016 arun@gmx.de - update to version 4.1.2: * fixes installation issues with some versions of setuptools. * Wed Feb 3 2016 arun@gmx.de - update to version 4.1.1: * Backport #9209: Don't import IPython to check version number in setup * Wed Feb 3 2016 toddrme2178@gmail.com - Update to 4.1.0 * Release February, 2016. IPython 4.1 contain mostly bug fixes. It though contain a few improvement. * IPython debugger (IPdb) now supports the number of context lines for the where (and w) commands. The context keyword is also available in various APIs. See PR :ghpull:`9097` * YouTube video will now show thumbnail when exported to a media that do not support video. (:ghpull:`9086`) * Add warning when running ipython <subcommand> when subcommand is deprecated. jupyter should now be used. * Code in %%pinfo (also known as ??) are now highlighter (:ghpull:`8947`) * %%aimport now support module completion. (:ghpull:`8884`) * ipdb output is now colored ! (:ghpull:`8842`) * Add ability to transpose columns for completion: (:ghpull:`8748`) * Many many docs improvements and bug fixes * Wed Jan 20 2016 arun@gmx.de - update to version 4.0.3: * Python 3.5 bug in that could crash during shutdown, triggered by deprecations in traitlets 4.1. * Typo in deprecation message for nbconvert * Sat Jan 16 2016 arun@gmx.de - specfile: * update copyright year - update to version 4.0.2: * Fix backward-compatiblity shim for "IPython.Config", which should have been deprecated instead of removed. This will be removed in 5.0. * Fri Nov 27 2015 arun@gmx.de - update to version 4.0.1: * Installation on some systems * Compatibility with CPython 3.4.4 * Compatibility with Qt5 * Thu Oct 1 2015 toddrme2178@gmail.com - Build documentation This is in a separate spec file to avoid dependency loops - Obsolete python3-IPython - Split the iptest executable into its own subpackage This has a bunch of testing dependencies that are not otherwise necessary. * Fri Aug 21 2015 toddrme2178@gmail.com - Add conflict with older versions of python3-IPython * Mon Aug 17 2015 toddrme2178@gmail.com - Initial version