Thomas Spura ba8a764
%if ! (0%{?rhel} > 5)
efa169a
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
efa169a
%endif
Shahms King 44d2679
Thomas Spura 40fb0db
%bcond_without run_testsuite
Thomas Spura 40fb0db
Thomas Spura 40fb0db
# where are all the python3 dependencies
Thomas Spura 40fb0db
%if 0%{?fedora} > 15
Thomas Spura 84be9a1
%global with_python3 1
Thomas Spura 40fb0db
%endif
Thomas Spura 40fb0db
Thomas Spura 40fb0db
# where are all the pypy dependencies
Thomas Spura 40fb0db
%if 0%{?fedora} > 15
Thomas Spura 40fb0db
%global with_pypy 0
Thomas Spura 40fb0db
%endif
Thomas Spura aad6999
Shahms King 44d2679
Name:           ipython
Thomas Spura 375c18d
Version:        0.13.2
Thomas Spura 75f87cf
Release:        3%{?dist}
Shahms King 44d2679
Summary:        An enhanced interactive Python shell
Shahms King 44d2679
Shahms King 44d2679
Group:          Development/Libraries
dfd5875
# See bug #603178 for a quick overview for the choice of licenses
dfd5875
# most files are under BSD and just a few under Python or MIT
dfd5875
# There are some extensions released under GPLv2+
dfd5875
License:        (BSD and MIT and Python) and GPLv2+
Thomas Spura aad6999
URL:            http://ipython.org/
Thomas Spura aad6999
Source0:        http://archive.ipython.org/release/%{version}/%{name}-%{version}.tar.gz
Thomas Spura ef9e54c
# will be in ipython-0.14
Thomas Spura ef9e54c
# https://github.com/ipython/ipython/pull/2681
Thomas Spura ef9e54c
Patch0:         ipython-0.13.1-dont-require-matplotlib.patch
a34b15b
Shahms King 44d2679
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Shahms King 44d2679
Shahms King 44d2679
BuildArch:      noarch
Shahms King 44d2679
BuildRequires:  python-devel
dfd5875
BuildRequires:  python-simplegeneric
Thomas Spura aad6999
Thomas Spura 40fb0db
%if %{with run_testsuite}
Thomas Spura aad6999
# for checking/testing
Thomas Spura bf6dcb0
BuildRequires:  python-nose
Thomas Spura aad6999
BuildRequires:  python-simplegeneric
Thomas Spura 6c9e0b2
# "Tools and libraries available at test time:"
Thomas Spura 6c9e0b2
BuildRequires:  python-zmq
Thomas Spura 6c9e0b2
BuildRequires:  python-zmq-tests
Thomas Spura 6c9e0b2
BuildRequires:  pexpect
Thomas Spura 6c9e0b2
BuildRequires:  python-matplotlib
Thomas Spura 4e20f2d
#BuildRequires:  python-matplotlib-tk
Thomas Spura 6c9e0b2
BuildRequires:  pymongo
Thomas Spura 6c9e0b2
BuildRequires:  PyQt4
Thomas Spura 6c9e0b2
# for frontend
Thomas Spura 6c9e0b2
BuildRequires:  python-pygments
Thomas Spura 375c18d
# for running qt/matplotlib tests
Thomas Spura 375c18d
BuildRequires:  xorg-x11-server-Xvfb
Thomas Spura aad6999
%endif
Thomas Spura aad6999
Thomas Spura 8f9f3a7
# Require $current_python_interpreter-ipython
Thomas Spura 96cccfd
Requires:       python-ipython
dfd5875
Thomas Spura 40fb0db
# add python3 packages
Thomas Spura 40fb0db
%if 0%{?with_python3}
Thomas Spura b155315
BuildRequires:  python3-devel
Thomas Spura 40fb0db
# for checking/testing
Thomas Spura 40fb0db
BuildRequires:  python3-nose
Thomas Spura 40fb0db
BuildRequires:  python3-mglob
Thomas Spura 40fb0db
BuildRequires:  python3-simplegeneric
Thomas Spura 40fb0db
# "Tools and libraries available at test time:"
Thomas Spura 40fb0db
BuildRequires:  python3-zmq
Thomas Spura 40fb0db
BuildRequires:  python3-zmq-tests
Thomas Spura b155315
BuildRequires:  python3-tornado
Thomas Spura 4e20f2d
BuildRequires:  python3-pexpect
Thomas Spura 4e20f2d
BuildRequires:  python3-matplotlib
Thomas Spura 4e20f2d
#BuildRequires:  python3-matplotlib-tk
Thomas Spura 4e20f2d
BuildRequires:  python3-pymongo
Thomas Spura 8890cd1
BuildRequires:  python3-PyQt4
Thomas Spura 40fb0db
# for frontend
Thomas Spura 4e20f2d
BuildRequires:  python3-pygments
Thomas Spura 40fb0db
Thomas Spura 40fb0db
Requires:       python3-zmq
Thomas Spura 40fb0db
%endif
Thomas Spura 40fb0db
Thomas Spura 8f9f3a7
%global ipython_desc_base \
Thomas Spura 8f9f3a7
IPython provides a replacement for the interactive Python interpreter with\
Thomas Spura 8f9f3a7
extra functionality.\
Thomas Spura 8f9f3a7
\
Thomas Spura 8f9f3a7
Main features:\
Thomas Spura 8f9f3a7
 * Comprehensive object introspection.\
Thomas Spura 8f9f3a7
 * Input history, persistent across sessions.\
Thomas Spura 8f9f3a7
 * Caching of output results during a session with automatically generated\
Thomas Spura 8f9f3a7
   references.\
Thomas Spura 8f9f3a7
 * Readline based name completion.\
Thomas Spura 8f9f3a7
 * Extensible system of 'magic' commands for controlling the environment and\
Thomas Spura 8f9f3a7
   performing many tasks related either to IPython or the operating system.\
Thomas Spura 8f9f3a7
 * Configuration system with easy switching between different setups (simpler\
Thomas Spura 8f9f3a7
   than changing $PYTHONSTARTUP environment variables every time).\
Thomas Spura 8f9f3a7
 * Session logging and reloading.\
Thomas Spura 8f9f3a7
 * Extensible syntax processing for special purpose situations.\
Thomas Spura 8f9f3a7
 * Access to the system shell with user-extensible alias system.\
Thomas Spura 8f9f3a7
 * Easily embeddable in other Python programs.\
Thomas Spura 8f9f3a7
 * Integrated access to the pdb debugger and the Python profiler.
c055309
Shahms King 44d2679
%description
Thomas Spura 8f9f3a7
%{ipython_desc_base}
Shahms King 44d2679
Thomas Spura 96cccfd
%package -n python-ipython
Thomas Spura 8f9f3a7
Summary:        An enhanced interactive Python shell
Thomas Spura 016d8a3
Requires:       python-ipython-console = %{version}-%{release}
Thomas Spura 016d8a3
Requires:       python-ipython-gui = %{version}-%{release}
Thomas Spura 016d8a3
Requires:       python-ipython-notebook = %{version}-%{release}
Thomas Spura 2017b11
Provides:       ipython = %{version}-%{release}
Thomas Spura 4fbfa39
Obsoletes:      ipython < 0.13-1
Thomas Spura 96cccfd
%description -n python-ipython
Thomas Spura 8f9f3a7
%{ipython_desc_base}
Thomas Spura 8f9f3a7
Thomas Spura 1125183
This package depends on all python-ipython packages but python-ipython-tests.
Thomas Spura 1125183
Thomas Spura 96cccfd
%package -n python-ipython-console
Thomas Spura 1125183
Summary:        An enhanced interactive Python shell for the terminal
Thomas Spura 8f9f3a7
Requires:       python-zmq
Shahms King 44d2679
Thomas Spura 8f9f3a7
Thomas Spura 8f9f3a7
#bundled libs
Thomas Spura 8f9f3a7
Requires:       pexpect
Thomas Spura 8f9f3a7
Requires:       python-mglob
Thomas Spura 8f9f3a7
Requires:       python-simplegeneric
Thomas Spura 8f9f3a7
Thomas Spura 96cccfd
%description -n python-ipython-console
Thomas Spura 8f9f3a7
%{ipython_desc_base}
Thomas Spura 8f9f3a7
Thomas Spura 1125183
This package provides IPython for in a terminal.
Thomas Spura 8f9f3a7
Thomas Spura 96cccfd
%package -n python-ipython-notebook
Thomas Spura 1125183
Summary:        An enhanced interactive Python notebook
Thomas Spura 96cccfd
Requires:       python-ipython-console = %{version}-%{release}
Thomas Spura 8f9f3a7
Requires:       python-tornado
Thomas Spura ef9e54c
Requires:       python-matplotlib
Thomas Spura a431e82
Provides:       ipython-notebook = %{version}-%{release}
Thomas Spura 8f9f3a7
Thomas Spura 96cccfd
%description -n python-ipython-notebook
Thomas Spura 8f9f3a7
%{ipython_desc_base}
Thomas Spura 8f9f3a7
Thomas Spura 8f9f3a7
This package contains the ipython notebook.
Thomas Spura 8f9f3a7
Thomas Spura 8f9f3a7
Thomas Spura 96cccfd
%package -n python-ipython-tests
efa169a
Summary:        Tests for %{name}
efa169a
Group:          Documentation
efa169a
Requires:       python-nose
Thomas Spura aad6999
Requires:       python-zmq-tests
Thomas Spura 96cccfd
Requires:       python-ipython-console = %{version}-%{release}
Thomas Spura 88fa31f
Provides:       ipython-tests = %{version}-%{release}
Thomas Spura 88fa31f
Obsoletes:      ipython-tests < 0.13-1
Thomas Spura 96cccfd
%description -n python-ipython-tests
efa169a
This package contains the tests of %{name}.
Thomas Spura 375c18d
You can check this way, if ipython works on your platform.
efa169a
Thomas Spura 96cccfd
%package -n python-ipython-doc
efa169a
Summary:        Documentation for %{name}
efa169a
Group:          Documentation
Thomas Spura 88fa31f
Provides:       ipython-doc = %{version}-%{release}
Thomas Spura 88fa31f
Obsoletes:      ipython-doc < 0.13-1
Thomas Spura 96cccfd
%description -n python-ipython-doc
efa169a
This package contains the documentation of %{name}.
efa169a
Thomas Spura aad6999
Thomas Spura 96cccfd
%package -n python-ipython-gui
efa169a
Summary:        Gui applications from %{name}
efa169a
Group:          Applications/Editors
Thomas Spura 96cccfd
Requires:       python-ipython-console = %{version}-%{release}
c8e1324
Requires:       PyQt4
Thomas Spura ef9e54c
Requires:       python-matplotlib
Thomas Spura 1971215
Requires:       python-pygments
Thomas Spura 88fa31f
Provides:       ipython-gui = %{version}-%{release}
Thomas Spura 88fa31f
Obsoletes:      ipython-gui < 0.13-1
Thomas Spura 96cccfd
%description -n python-ipython-gui
Thomas Spura aad6999
This package contains the gui of %{name}, which requires PyQt.
efa169a
efa169a
efa169a
Thomas Spura 8890cd1
%if 0%{?with_python3}
Thomas Spura 8f9f3a7
# TODO revisit python3 packages again, once python2 restructuring is done
Thomas Spura 8890cd1
%package -n python3-ipython
Thomas Spura 8890cd1
Summary:        An enhanced interactive Python shell
Thomas Spura 4d3644e
Requires:       python3-ipython-console = %{version}-%{release}
Thomas Spura 4d3644e
Requires:       python3-ipython-gui = %{version}-%{release}
Thomas Spura 4d3644e
Requires:       python3-ipython-notebook = %{version}-%{release}
Thomas Spura 8890cd1
%description -n python3-ipython
Thomas Spura 8f9f3a7
%{ipython_desc_base}
Thomas Spura 8890cd1
Thomas Spura 1125183
This package depends on all python3-ipython packages but python3-ipython-tests.
Thomas Spura 1125183
Thomas Spura 4d3644e
%package -n python3-ipython-console
Thomas Spura 1125183
Summary:        An enhanced interactive Python shell for the terminal
Thomas Spura 4d3644e
Requires:       python3-zmq
Thomas Spura 4d3644e
Thomas Spura 4d3644e
Thomas Spura 4d3644e
#bundled libs
Thomas Spura 4d3644e
Requires:       python3-pexpect
Thomas Spura 4d3644e
Requires:       python3-mglob
Thomas Spura 4d3644e
Requires:       python3-simplegeneric
Thomas Spura 4d3644e
Thomas Spura 4d3644e
%description -n python3-ipython-console
Thomas Spura 4d3644e
%{ipython_desc_base}
Thomas Spura 4d3644e
Thomas Spura 1125183
This package provides IPython for in a terminal.
Thomas Spura 1125183
Thomas Spura 4d3644e
Thomas Spura 4d3644e
%package -n python3-ipython-notebook
Thomas Spura 1125183
Summary:        An enhanced interactive Python notebook
Thomas Spura 4d3644e
Requires:       python3-ipython-console = %{version}-%{release}
Thomas Spura 4d3644e
Requires:       python3-tornado
Thomas Spura 4d3644e
Requires:       python3-matplotlib
Thomas Spura 4d3644e
Thomas Spura 4d3644e
%description -n python3-ipython-notebook
Thomas Spura 4d3644e
%{ipython_desc_base}
Thomas Spura 4d3644e
Thomas Spura 4d3644e
This package contains the ipython notebook.
Thomas Spura 4d3644e
Thomas Spura 4d3644e
Thomas Spura 8890cd1
%package -n python3-ipython-tests
Thomas Spura 8890cd1
Summary:        Tests for %{name}
Thomas Spura 8890cd1
Group:          Documentation
Thomas Spura 8890cd1
Requires:       python3-nose
Thomas Spura 8890cd1
Requires:       python3-zmq-tests
Thomas Spura 4d3644e
Requires:       python3-ipython-console = %{version}-%{release}
Thomas Spura 8890cd1
%description -n python3-ipython-tests
Thomas Spura 8890cd1
This package contains the tests of %{name}.
Thomas Spura 375c18d
You can check this way, if ipython works on your platform.
Thomas Spura 8890cd1
Thomas Spura e290d79
%package -n python3-ipython-doc
Thomas Spura 8890cd1
Summary:        Documentation for %{name}
Thomas Spura 8890cd1
Group:          Documentation
Thomas Spura e290d79
%description -n python3-ipython-doc
Thomas Spura 8890cd1
This package contains the documentation of %{name}.
Thomas Spura 8890cd1
Thomas Spura 8890cd1
%package -n python3-ipython-gui
Thomas Spura 8890cd1
Summary:        Gui applications from %{name}
Thomas Spura 8890cd1
Group:          Applications/Editors
Thomas Spura 4d3644e
Requires:       python3-ipython-console = %{version}-%{release}
Thomas Spura 8890cd1
Requires:       python3-PyQt4
Thomas Spura 4d3644e
Requires:       python3-matplotlib
Thomas Spura 8890cd1
Requires:       python3-pygments
Thomas Spura 8890cd1
%description -n python3-ipython-gui
Thomas Spura 8890cd1
This package contains the gui of %{name}, which requires PyQt.
Thomas Spura 8890cd1
Thomas Spura 8890cd1
%endif # with_python3
Thomas Spura 8890cd1
Thomas Spura 8890cd1
Thomas Spura 8890cd1
Shahms King 44d2679
%prep
Shahms King 44d2679
%setup -q
a0d71d1
Thomas Spura 92713f4
%patch0 -p 1
Thomas Spura 92713f4
dfd5875
# delete bundling libs
dfd5875
pushd IPython/external
dfd5875
# python's own modules
dfd5875
rm argparse/_argparse.py
dfd5875
Thomas Spura 40fb0db
# use decorators of numpy
Thomas Spura 40fb0db
rm decorators/_decorators.py
Thomas Spura 40fb0db
dfd5875
# other packages exist in fedora
dfd5875
rm simplegeneric/_simplegeneric.py
Thomas Spura e290d79
%if ! 0%{?with_python3}
Thomas Spura e290d79
# bundle this on python3 in experimental version for now
Thomas Spura aad6999
rm pexpect/_pexpect.py
Thomas Spura e290d79
%endif
dfd5875
dfd5875
# rejected in a PEP, probably no upstream
dfd5875
#rm Itpl/_Itpl.py
dfd5875
dfd5875
# available at pypi
dfd5875
#rm path/_path.py
dfd5875
Thomas Spura aad6999
# ssh modules from paramiko
Thomas Spura aad6999
dfd5875
popd
Shahms King 44d2679
Thomas Spura e290d79
%if 0%{?with_python3}
Thomas Spura e290d79
rm -rf %{py3dir}
Thomas Spura e290d79
cp -a . %{py3dir}
Thomas Spura e290d79
find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|'
Thomas Spura e290d79
%endif # with_python3
Thomas Spura e290d79
Shahms King 44d2679
Shahms King 44d2679
%build
Thomas Spura 8890cd1
%if 0%{?with_python3}
Thomas Spura 8890cd1
pushd %{py3dir}
Thomas Spura 8890cd1
    %{__python3} setup.py build
Thomas Spura 8890cd1
popd
Thomas Spura 8890cd1
%endif # with_python3
Thomas Spura 8890cd1
efa169a
%{__python} setup.py build
Shahms King 44d2679
Shahms King 44d2679
Shahms King 44d2679
%install
efa169a
rm -rf %{buildroot}
Thomas Spura 8890cd1
%if 0%{?with_python3}
Thomas Spura 8890cd1
pushd %{py3dir}
Thomas Spura 8890cd1
    %{__python3} setup.py install -O1 --skip-build --root %{buildroot} 
Thomas Spura 8890cd1
popd
Thomas Spura 8890cd1
%endif # with_python3
Thomas Spura 8890cd1
efa169a
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
efa169a
Shahms King 44d2679
Shahms King 44d2679
%clean
efa169a
rm -rf %{buildroot}
Shahms King 44d2679
Shahms King 44d2679
Thomas Spura 40fb0db
%if %{with run_testsuite}
Thomas Spura aad6999
%check
Thomas Spura 4e20f2d
# Ensure that the user's .pythonrc.py is not invoked during any tests.
Thomas Spura 4e20f2d
export PYTHONSTARTUP=""
Thomas Spura 375c18d
#####################################################################
Thomas Spura 375c18d
# Reasons for ignoring tests below:
Thomas Spura c277414
# * FAIL: Verify that plot is available when pylab_import_all = True
Thomas Spura c277414
#----------------------------------------------------------------------
Thomas Spura c277414
#Traceback (most recent call last):
Thomas Spura c277414
#    File "/builddir/build/BUILDROOT/ipython-0.13.2-1.fc20.noarch/usr/lib/python2.7/site-packages/IPython/testing/decorators.py", line 228, in skipper_func
Thomas Spura c277414
#        return f(*args, **kwargs)
Thomas Spura c277414
#    File "/builddir/build/BUILDROOT/ipython-0.13.2-1.fc20.noarch/usr/lib/python2.7/site-packages/IPython/testing/decorators.py", line 228, in skipper_func
Thomas Spura c277414
#        return f(*args, **kwargs)
Thomas Spura c277414
#    File "/builddir/build/BUILDROOT/ipython-0.13.2-1.fc20.noarch/usr/lib/python2.7/site-packages/IPython/lib/tests/test_irunner_pylab_magic.py", line 92, in test_pylab_import_all_enabled
Thomas Spura c277414
#        self._test_runner(runner,source,output)
Thomas Spura c277414
#    File "/builddir/build/BUILDROOT/ipython-0.13.2-1.fc20.noarch/usr/lib/python2.7/site-packages/IPython/lib/tests/test_irunner_pylab_magic.py", line 53, in _test_runner
Thomas Spura c277414
#        self.fail(message)
Thomas Spura c277414
#    AssertionError: Mismatch in number of lines
Thomas Spura c277414
#    Expected:
Thomas Spura c277414
#    ~~~~~~~~~
Thomas Spura c277414
#    In \[1\]: from IPython\.config\.application import Application
Thomas Spura c277414
#    In \[2\]: app = Application\.instance\(\)
Thomas Spura c277414
#    In \[3\]: app\.pylab_import_all = True
Thomas Spura c277414
#    In \[4\]: pylab
Thomas Spura c277414
#    ^Welcome to pylab, a matplotlib-based Python environment
Thomas Spura c277414
#    For more information, type 'help\(pylab\)'\.
Thomas Spura c277414
#    In \[5\]: ip=get_ipython\(\)
Thomas Spura c277414
#    In \[6\]: 'plot' in ip\.user_ns
Thomas Spura c277414
#    Out\[6\]: True
Thomas Spura c277414
#    Got:
Thomas Spura c277414
#    ~~~~~~~~~
Thomas Spura c277414
#    In [1]: from IPython.config.application import Application
Thomas Spura c277414
#    In [2]: app = Application.instance()
Thomas Spura c277414
#    In [3]: app.pylab_import_all = True
Thomas Spura c277414
#    In [4]: pylab
Thomas Spura c277414
#    Xlib:  extension "RANDR" missing on display ":99".
Thomas Spura c277414
#    Welcome to pylab, a matplotlib-based Python environment [backend: GTKAgg].
Thomas Spura c277414
#    For more information, type 'help(pylab)'.
Thomas Spura c277414
#    In [5]: ip=get_ipython()
Thomas Spura c277414
#    In [6]: 'plot' in ip.user_ns
Thomas Spura c277414
#    Out[6]: True
Thomas Spura c277414
#        """Fail immediately, with the given message."""
Thomas Spura c277414
#### -> ignoring test_pylab_import_all_disabled|test_pylab_import_all_enabled
Thomas Spura 375c18d
#####################################################################
Thomas Spura 375c18d
# No *EXCLUDE_TESTS may be empty. Write NONE in such a case.
Thomas Spura 375c18d
%global COMMON_EXCLUDE_TESTS NONE
Thomas Spura 375c18d
%global PYTHON3EXCLUDE_TESTS NONE
Thomas Spura c277414
%global PYTHON2EXCLUDE_TESTS test_pylab_import_all_disabled|test_pylab_import_all_enabled
Thomas Spura 375c18d
Thomas Spura 375c18d
%global EXCLUDE_TESTS_3 "%{COMMON_EXCLUDE_TESTS}|%{PYTHON3EXCLUDE_TESTS}"
Thomas Spura 375c18d
%global EXCLUDE_TESTS_2 "%{COMMON_EXCLUDE_TESTS}|%{PYTHON2EXCLUDE_TESTS}"
Thomas Spura 4e20f2d
Thomas Spura 8890cd1
%if 0%{?with_python3}
Thomas Spura 8890cd1
pushd %{py3dir}
Thomas Spura 8890cd1
PYTHONPATH=%{buildroot}%{python3_sitelib} \
Thomas Spura 8890cd1
    PATH="%{buildroot}%{_bindir}:$PATH" \
Thomas Spura 9df054e
    LC_ALL=en_US.UTF-8 \
Thomas Spura 375c18d
    xvfb-run \
Thomas Spura 375c18d
    %{buildroot}%{_bindir}/iptest3 -v -e %{EXCLUDE_TESTS_3}
Thomas Spura 8890cd1
popd
Thomas Spura 8890cd1
%endif
Thomas Spura 8890cd1
Thomas Spura 6c9e0b2
# TODO no ipython in path in koji
Thomas Spura 743c79f
PYTHONPATH=%{buildroot}%{python_sitelib} \
Thomas Spura 743c79f
    PATH="%{buildroot}%{_bindir}:$PATH" \
Thomas Spura 9df054e
    LC_ALL=en_US.UTF-8 \
Thomas Spura 375c18d
    xvfb-run \
Thomas Spura 375c18d
    %{buildroot}%{_bindir}/iptest -v -e %{EXCLUDE_TESTS_2}
Thomas Spura aad6999
%endif
dfd5875
Thomas Spura 4fbfa39
%files -n python-ipython
Thomas Spura 4fbfa39
%defattr(-,root,root,-)
dfd5875
Thomas Spura 96cccfd
%files -n python-ipython-console
Shahms King 44d2679
%defattr(-,root,root,-)
Shahms King 44d2679
%{_bindir}/ipython
Shahms King 836d59a
%{_bindir}/irunner
Shahms King 44d2679
%{_bindir}/pycolor
7a1ba7b
%{_bindir}/ipcluster
7a1ba7b
%{_bindir}/ipcontroller
7a1ba7b
%{_bindir}/ipengine
Thomas Spura aad6999
%{_bindir}/iplogger
efa169a
%{_mandir}/man*/ipython.*
efa169a
%{_mandir}/man*/ipengine*
efa169a
%{_mandir}/man*/irunner*
efa169a
%{_mandir}/man*/pycolor*
efa169a
%{_mandir}/man*/ipc*
Thomas Spura aad6999
%{_mandir}/man*/iplogger*
Thomas Spura aad6999
efa169a
%dir %{python_sitelib}/IPython
efa169a
%{python_sitelib}/IPython/external
efa169a
%{python_sitelib}/IPython/*.py*
efa169a
%dir %{python_sitelib}/IPython/kernel
efa169a
%{python_sitelib}/IPython/kernel/*.py*
efa169a
%dir %{python_sitelib}/IPython/testing
efa169a
%{python_sitelib}/IPython/testing/*.py*
efa169a
%{python_sitelib}/IPython/testing/plugin
efa169a
%{python_sitelib}/ipython-%{version}-py?.?.egg-info
Thomas Spura aad6999
Thomas Spura aad6999
%{python_sitelib}/IPython/config/
Thomas Spura aad6999
%{python_sitelib}/IPython/core/
Thomas Spura aad6999
%{python_sitelib}/IPython/extensions/
Thomas Spura aad6999
%dir %{python_sitelib}/IPython/frontend/
Thomas Spura aad6999
%{python_sitelib}/IPython/frontend/terminal/
Thomas Spura aad6999
%{python_sitelib}/IPython/frontend/__init__.py*
Thomas Spura 40fb0db
%{python_sitelib}/IPython/frontend/consoleapp.py*
Thomas Spura aad6999
%{python_sitelib}/IPython/lib/
Thomas Spura 40fb0db
%{python_sitelib}/IPython/nbformat/
Thomas Spura aad6999
%{python_sitelib}/IPython/parallel/
Thomas Spura aad6999
%{python_sitelib}/IPython/scripts/
Thomas Spura aad6999
%{python_sitelib}/IPython/utils/
Thomas Spura aad6999
%{python_sitelib}/IPython/zmq/
Thomas Spura aad6999
%exclude %{python_sitelib}/IPython/zmq/gui/
Thomas Spura aad6999
Thomas Spura aad6999
# tests go into subpackage
Thomas Spura aad6999
%exclude %{python_sitelib}/IPython/*/tests/
Thomas Spura aad6999
%exclude %{python_sitelib}/IPython/*/*/tests
Thomas Spura aad6999
efa169a
Thomas Spura 96cccfd
%files -n python-ipython-tests
efa169a
%defattr(-,root,root,-)
7a1ba7b
%{_bindir}/iptest
efa169a
%{python_sitelib}/IPython/*/tests
efa169a
%{python_sitelib}/IPython/*/*/tests
efa169a
efa169a
Thomas Spura 96cccfd
%files -n python-ipython-doc
efa169a
%defattr(-,root,root,-)
efa169a
# ipython installs its own documentation, but we need to own the directory
efa169a
%{_datadir}/doc/%{name}-%{version}
efa169a
Thomas Spura aad6999
Thomas Spura 96cccfd
%files -n python-ipython-notebook
Thomas Spura 8f9f3a7
%defattr(-,root,root,-)
Thomas Spura 8f9f3a7
%{python_sitelib}/IPython/frontend/html/
Thomas Spura 8f9f3a7
Thomas Spura 8f9f3a7
Thomas Spura 96cccfd
%files -n python-ipython-gui
efa169a
%defattr(-,root,root,-)
Thomas Spura aad6999
%{python_sitelib}/IPython/zmq/gui
Thomas Spura aad6999
%{python_sitelib}/IPython/frontend/qt/
7135005
Thomas Spura 8890cd1
%if 0%{?with_python3}
Thomas Spura e290d79
%files -n python3-ipython
Thomas Spura 8890cd1
%defattr(-,root,root,-)
Thomas Spura 4d3644e
Thomas Spura 4d3644e
%files -n python3-ipython-console
Thomas Spura 4d3644e
%defattr(-,root,root,-)
Thomas Spura e290d79
%{_bindir}/ipython3
Thomas Spura e290d79
%{_bindir}/irunner3
Thomas Spura e290d79
%{_bindir}/pycolor3
Thomas Spura e290d79
%{_bindir}/ipcluster3
Thomas Spura e290d79
%{_bindir}/ipcontroller3
Thomas Spura e290d79
%{_bindir}/ipengine3
Thomas Spura e290d79
%{_bindir}/iplogger3
Thomas Spura e290d79
# no man pages (yet?)
Thomas Spura e290d79
#%{_mandir}/man*/ipython3.*
Thomas Spura e290d79
#%{_mandir}/man*/ipengine3*
Thomas Spura e290d79
#%{_mandir}/man*/irunner3*
Thomas Spura e290d79
#%{_mandir}/man*/pycolor3*
Thomas Spura e290d79
#%{_mandir}/man*/ipc*3*
Thomas Spura e290d79
#%{_mandir}/man*/iplogger3*
Thomas Spura 8890cd1
Thomas Spura 8890cd1
%dir %{python3_sitelib}/IPython
Thomas Spura 8890cd1
%{python3_sitelib}/IPython/external
Thomas Spura e290d79
%{python3_sitelib}/IPython/__pycache__/
Thomas Spura 8890cd1
%{python3_sitelib}/IPython/*.py*
Thomas Spura 8890cd1
%dir %{python3_sitelib}/IPython/kernel
Thomas Spura e290d79
%{python3_sitelib}/IPython/kernel/__pycache__/
Thomas Spura 8890cd1
%{python3_sitelib}/IPython/kernel/*.py*
Thomas Spura 8890cd1
%dir %{python3_sitelib}/IPython/testing
Thomas Spura e290d79
%{python3_sitelib}/IPython/testing/__pycache__/
Thomas Spura 8890cd1
%{python3_sitelib}/IPython/testing/*.py*
Thomas Spura 8890cd1
%{python3_sitelib}/IPython/testing/plugin
Thomas Spura 8890cd1
%{python3_sitelib}/ipython-%{version}-py?.?.egg-info
Thomas Spura 8890cd1
Thomas Spura 8890cd1
%{python3_sitelib}/IPython/config/
Thomas Spura 8890cd1
%{python3_sitelib}/IPython/core/
Thomas Spura 8890cd1
%{python3_sitelib}/IPython/extensions/
Thomas Spura 8890cd1
%dir %{python3_sitelib}/IPython/frontend/
Thomas Spura 8890cd1
%{python3_sitelib}/IPython/frontend/terminal/
Thomas Spura e290d79
%{python3_sitelib}/IPython/frontend/__pycache__/
Thomas Spura 8890cd1
%{python3_sitelib}/IPython/frontend/__init__.py*
Thomas Spura 8890cd1
%{python3_sitelib}/IPython/frontend/consoleapp.py*
Thomas Spura 8890cd1
%{python3_sitelib}/IPython/lib/
Thomas Spura 8890cd1
%{python3_sitelib}/IPython/nbformat/
Thomas Spura 8890cd1
%{python3_sitelib}/IPython/parallel/
Thomas Spura 8890cd1
%{python3_sitelib}/IPython/scripts/
Thomas Spura 8890cd1
%{python3_sitelib}/IPython/utils/
Thomas Spura 8890cd1
%{python3_sitelib}/IPython/zmq/
Thomas Spura 8890cd1
%exclude %{python3_sitelib}/IPython/zmq/gui/
Thomas Spura 8890cd1
Thomas Spura 8890cd1
# tests go into subpackage
Thomas Spura 8890cd1
%exclude %{python3_sitelib}/IPython/*/tests/
Thomas Spura 8890cd1
%exclude %{python3_sitelib}/IPython/*/*/tests
Thomas Spura 8890cd1
Thomas Spura 8890cd1
Thomas Spura 8890cd1
%files -n python3-ipython-tests
Thomas Spura 8890cd1
%defattr(-,root,root,-)
Thomas Spura e290d79
%{_bindir}/iptest3
Thomas Spura 8890cd1
%{python3_sitelib}/IPython/*/tests
Thomas Spura 8890cd1
%{python3_sitelib}/IPython/*/*/tests
Thomas Spura 8890cd1
Thomas Spura 8890cd1
Thomas Spura e290d79
##%files -n python3-ipython-doc
Thomas Spura e290d79
##%defattr(-,root,root,-)
Thomas Spura 8890cd1
# ipython installs its own documentation, but we need to own the directory
Thomas Spura e290d79
##%{_datadir}/doc/python3-%{name}-%{version}
Thomas Spura 8890cd1
Thomas Spura 8890cd1
Thomas Spura 4d3644e
%files -n python3-ipython-notebook
Thomas Spura 4d3644e
%defattr(-,root,root,-)
Thomas Spura 4d3644e
%{python3_sitelib}/IPython/frontend/html/
Thomas Spura 4d3644e
Thomas Spura 4d3644e
Thomas Spura 8890cd1
%files -n python3-ipython-gui
Thomas Spura 8890cd1
%defattr(-,root,root,-)
Thomas Spura 8890cd1
%{python3_sitelib}/IPython/zmq/gui
Thomas Spura 8890cd1
%{python3_sitelib}/IPython/frontend/qt/
Thomas Spura 8890cd1
%endif # with_python3
Shahms King 44d2679
Shahms King 44d2679
%changelog
Thomas Spura 75f87cf
* Mon Oct  7 2013 Thomas Spura <tomspur@fedoraproject.org> - 0.13.2-3
Thomas Spura 75f87cf
- install into unversioned docdir (#993848)
Thomas Spura 75f87cf
c9805f6
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.2-2
c9805f6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
c9805f6
Thomas Spura 1125183
* Wed Apr 10 2013 Thomas Spura <tomspur@fedoraproject.org> - 0.13.2-2
Thomas Spura 1125183
- Improve package descriptions (#950530)
Thomas Spura 1125183
Thomas Spura 375c18d
* Sat Apr  6 2013 Thomas Spura <tomspur@fedoraproject.org> - 0.13.2-1
Thomas Spura 375c18d
- update to 0.13.2 fixes #927169, #947633
Thomas Spura 375c18d
- run tests in xvfb
Thomas Spura 375c18d
- reword description of ipython-tests a bit
Thomas Spura 375c18d
Thomas Spura 4e20f2d
* Thu Feb 21 2013 Thomas Spura <tomspur@fedoraproject.org> - 0.13.1-4
Thomas Spura 4e20f2d
- More changes to build for Python 3 (mostly by Andrew McNabb, #784947)
Thomas Spura 4d3644e
- Update package structure of python3-ipython subpackage to match python2-ipython one's
Thomas Spura 84be9a1
- enable python3 build of ipython
Thomas Spura e54f79a
- exclude pylab tests for now, as it is broken on python3
Thomas Spura 4e20f2d
Thomas Spura ef9e54c
* Thu Feb 21 2013 Thomas Spura <tomspur@fedoraproject.org> - 0.13.1-3
Thomas Spura 4d2c977
- obsolete old python packages (José Matos, #882724)
Thomas Spura ef9e54c
- notebook and gui subpackage require matplotlib not the console anymore (#872176)
Thomas Spura ef9e54c
0ba34b7
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.1-2
0ba34b7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
0ba34b7
Thomas Spura 9df054e
* Wed Oct 24 2012 Thomas Spura <tomspur@fedoraproject.org> - 0.13.1-1
Thomas Spura d3f3d70
- update to 0.13.1 (#838031)
Thomas Spura 9df054e
- run tests with en_US.UTF-8
Thomas Spura 9df054e
Thomas Spura 4fbfa39
* Thu Aug 30 2012 Thomas Spura <tomspur@fedoraproject.org> - 0.13-5
Thomas Spura 4fbfa39
- add empty python-ipython files section
Thomas Spura 4fbfa39
- obsolete ipython
Thomas Spura 4fbfa39
Thomas Spura 016d8a3
* Wed Aug  8 2012 Thomas Spura <tomspur@fedoraproject.org> - 0.13-4
Thomas Spura 2017b11
- use versioned requires/provides on ipython
Thomas Spura 016d8a3
Thomas Spura 96cccfd
* Sat Aug  4 2012 Thomas Spura <tomspur@fedoraproject.org> - 0.13-3
Thomas Spura 96cccfd
- use python-foo for python2-foo and provide ipython-foo
Thomas Spura 96cccfd
b2b0b91
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13-2
b2b0b91
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b2b0b91
Thomas Spura b155315
* Sat Jun 30 2012 Thomas Spura <tomspur@fedoraproject.org> - 0.13-1
Thomas Spura b155315
- update to new version
Thomas Spura b155315
- R on mglob/pyparsing is obsolete
Thomas Spura b155315
- remove patch, as it's upstream
Thomas Spura b155315
Thomas Spura 8890cd1
* Fri Jan 27 2012 Thomas Spura <tomspur@fedoraproject.org> - 0.12-3
Thomas Spura 8890cd1
- skip no X tests
Thomas Spura 8890cd1
- continue with python3 support
Thomas Spura 8890cd1
Thomas Spura 743c79f
* Sun Jan  8 2012 Thomas Spura <tomspur@fedoraproject.org> - 0.12-2
Thomas Spura 743c79f
- add missing R tornado
Thomas Spura 743c79f
- add _bindir to PATH to more tests pass in koji
Thomas Spura 743c79f
Thomas Spura 40fb0db
* Mon Dec 19 2011 Thomas Spura <tomspur@fedoraproject.org> - 0.12-1
Thomas Spura 40fb0db
- update to new version
Thomas Spura 40fb0db
- bcond_without run_testsuite
Thomas Spura 40fb0db
Thomas Spura 1971215
* Sun Oct 23 2011 Thomas Spura <tomspur@fedoraproject.org> - 0.11-3
Thomas Spura 1971215
- add more missing R (matplotlib and pygments) (#748141)
Thomas Spura 1971215
c8e1324
* Tue Sep 20 2011 Michel Salim <salimma@fedoraproject.org> - 0.11-2
c8e1324
- make -gui subpackage depend on PyQt4, not PyQt
c8e1324
Thomas Spura aad6999
* Mon Jul  4 2011 Thomas Spura <tomspur@fedoraproject.org> - 0.11-1
Thomas Spura aad6999
- update to 0.11
Thomas Spura aad6999
- patches included upstream
Thomas Spura aad6999
- ipython changed bundled pretty, so redistributes it in lib now
Thomas Spura aad6999
- run testsuite
Thomas Spura aad6999
- new upstream url
Thomas Spura aad6999
3ad779e
* Sat Apr  9 2011 Thomas Spura <tomspur@fedoraproject.org> - 0.10.2-1
3ad779e
- update to new version
3ad779e
- patch3 is included upstream
3ad779e
- fixes #663823, #649281
3ad779e
51a03eb
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.1-4
51a03eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
51a03eb
a34b15b
* Mon Nov 15 2010 Thomas Spura <tomspur@fedoraproject.org> - 0.10.1-3
a34b15b
- add fix for #646079 and use upstream fix for #628742
a34b15b
3f640e9
* Mon Oct 18 2010 Thomas Spura <tomspur@fedoraproject.org> - 0.10.1-2
3f640e9
- argparse is in python 2.7 and 3.2
3f640e9
a0d71d1
* Wed Oct 13 2010 Thomas Spura <tomspur@fedoraproject.org> - 0.10.1-1
a0d71d1
- unbundle a bit differently
a0d71d1
- update to new version
a0d71d1
1745a1c
* Tue Aug 31 2010 Thomas Spura <tomspur@fedoraproject.org> - 0.10-8
1745a1c
- pycolor: wrong filename -> no crash (#628742)
1745a1c
221ee1f
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.10-7
221ee1f
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
221ee1f
c055309
* Mon Jul 19 2010 Thomas Spura <tomspur@fedoraproject.org> - 0.10-6
c055309
- add missing dependencies: pexpect and python-argparse
c055309
dc855cb
* Tue Jun 22 2010 Thomas Spura <tomspur@fedoraproject.org> - 0.10-5
dc855cb
- two more unbundled libraries in fedora
dc855cb
8c7d753
* Mon Jun 21 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 0.10-4
8c7d753
- Update patch for import in argparse
8c7d753
dfd5875
* Fri Jun 11 2010 Thomas Spura <tomspur@fedoraproject.org> - 0.10-3
dfd5875
- fix license tag (#603178)
dfd5875
- add requires on wxpython to gui subpackage (#515570)
dfd5875
- start unbundling the libraries - more to come (#603937)
dfd5875
efa169a
* Tue Apr 13 2010 Thomas Spura <tomspur@fedoraproject.org> - 0.10-2
efa169a
- move docs into a subpackage
efa169a
- subpackage wxPython
efa169a
- subpackage tests
efa169a
- use proper %%{python_site*} definitions
efa169a
- make %%{files} more explicit
efa169a
- add some missing R (fixes #529185, #515570)
efa169a
efa169a
* Tue Sep 22 2009 James Bowes <jbowes@redhat.com> - 0.10-1
312bcbb
- Update to 0.10
312bcbb
d830257
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-4
d830257
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
d830257
36a3286
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-3
36a3286
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
36a3286
8cbe238
* Thu Dec 04 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.9.1-2
8cbe238
- Rebuild for Python 2.6
8cbe238
efa169a
* Tue Dec 02 2008 James Bowes <jbowes@redhat.com> - 0.9.1-1
7a1ba7b
- Update to 0.9.1, specfile changes courtesy Greg Swift
7a1ba7b
ef528a9
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.8.4-2
ef528a9
- Rebuild for Python 2.6
ef528a9
efa169a
* Wed Jun 11 2008 James Bowes <jbowes@redhat.com> - 0.8.4-1
b99b1e5
- Update to 0.8.4
b99b1e5
efa169a
* Fri May 30 2008 James Bowes <jbowes@redhat.com> - 0.8.3-1
d759a1d
- Update to 0.8.3
d759a1d
9e57f5c
* Wed Dec 12 2007 James Bowes <jbowes@redhat.com> - 0.8.2-1
9e57f5c
- Update to 0.8.2
9e57f5c
6320825
* Sun Aug 05 2007 James Bowes <jbowes@redhat.com> - 0.8.1-2
6320825
- Remove explicit requires on python-abi.
6320825
8662ad2
* Sun Aug 05 2007 James Bowes <jbowes@redhat.com> - 0.8.1-1
8662ad2
- Update to 0.8.1
8662ad2
074c540
* Thu Dec 14 2006 Jason L Tibbitts III <tibbs@math.uh.edu> - 0.7.2-4
074c540
- Rebuild for new Python
074c540
efa169a
* Sat Sep 16 2006 Shahms E. King <shahms@shahms.com> - 0.7.2-3
Shahms King f4388df
- Rebuild for FC6
Shahms King f4388df
efa169a
* Fri Aug 11 2006 Shahms E. King <shahms@shahms.com> - 0.7.2-2
Shahms King 017c6ef
- Include, don't ghost .pyo files per new guidelines
Shahms King 017c6ef
efa169a
* Mon Jun 12 2006 Shahms E. King <shahms@shahms.com> - 0.7.2-1
Shahms King 836d59a
- Update to new upstream version
Shahms King 836d59a
efa169a
* Mon Feb 13 2006 Shahms E. King <shahms@shahms.com> - 0.7.1.fix1-2
Shahms King 873f337
- Rebuild for FC-5
Shahms King 873f337
efa169a
* Mon Jan 30 2006 Shahms E. King <shahms@shahms.com> - 0.7.1.fix1-1
Shahms King 8b7e39d
- New upstream 0.7.1.fix1 which fixes KeyboardInterrupt handling
Shahms King 8b7e39d
efa169a
* Tue Jan 24 2006 Shahms E. King <shahms@shahms.com> - 0.7.1-1
Shahms King 4d38d63
- Update to new upstream 0.7.1
Shahms King 4d38d63
efa169a
* Thu Jan 12 2006 Shahms E. King <shahms@shahms.com> - 0.7-1
Shahms King 4d39d06
- Update to new upstream 0.7.0
Shahms King 4d39d06
efa169a
* Mon Jun 13 2005 Shahms E. King <shahms@shahms.com> - 0.6.15-1
Shahms King bb082c3
- Add dist tag
Shahms King bb082c3
- Update to new upstream (0.6.15)
Shahms King bb082c3
efa169a
* Wed Apr 20 2005 Shahms E. King <shahms@shahms.com> - 0.6.13-2
Shahms King 5ca4202
- Fix devel release number
Shahms King 5ca4202
efa169a
* Mon Apr 18 2005 Shahms E. King <shahms@shahms.com> - 0.6.13-1
Shahms King 3745810
- Update to new upstream version
Shahms King 3745810
efa169a
* Fri Apr  1 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.6.12-2
e8144fb
- Include IPython Extensions and UserConfig directories.
e8144fb
efa169a
* Fri Mar 25 2005 Shahms E. King <shahms@shahms.com> - 0.6.12-1
Shahms King 48e4ad3
- Update to 0.6.12
Shahms King 48e4ad3
- Removed unused python_sitearch define
Shahms King 48e4ad3
efa169a
* Tue Mar 01 2005 Shahms E. King <shahms@shahms.com> - 0.6.11-2
074c540
- Fix up %%doc file specifications
Shahms King 44d2679
- Use offical .tar.gz, not upstream .src.rpm .tar.gz
Shahms King 44d2679
efa169a
* Tue Mar 01 2005 Shahms E. King <shahms@shahms.com> - 0.6.11-1
Shahms King 44d2679
- Initial release to meet Fedora packaging guidelines