carlwgeorge / rpms / ipython

Forked from rpms/ipython 2 years ago
Clone
Thomas Spura 94e35d0
%bcond_without check
Thomas Spura 94e35d0
%bcond_without doc
Thomas Spura 40fb0db
Thomas Spura 40fb0db
# where are all the python3 dependencies
Orion Poplawski b773f86
%if 0%{?fedora}
Thomas Spura 84be9a1
%global with_python3 1
Orion Poplawski b773f86
%global with_notebook 1
Thomas Spura 40fb0db
%endif
Thomas Spura 40fb0db
Thomas Spura 40fb0db
# where are all the pypy dependencies
Orion Poplawski b773f86
%if 0%{?fedora}
Thomas Spura 40fb0db
%global with_pypy 0
Thomas Spura 40fb0db
%endif
Thomas Spura aad6999
Shahms King 44d2679
Name:           ipython
9ee028c
Version:        3.2.3
Orion Poplawski ac6accd
Release:        1%{?dist}
Shahms King 44d2679
Summary:        An enhanced interactive Python shell
Shahms King 44d2679
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/
9ee028c
Source0:        %pypi_source ipython
Thomas Spura e7691bb
# Add _jsdir to default search path
Thomas Spura e7691bb
Patch0:         ipython-2.1.0-_jsdir-search-path.patch
693b370
# Fix CVE-2022-21699, backported from 5.x branch upstream
693b370
# https://github.com/ipython/ipython/commit/c306d208946604b1cfc7bcfdc5fb51daf7b8ceae
693b370
Patch1:         0001-FIX-CVE-2022-21699.patch
a34b15b
Shahms King 44d2679
BuildArch:      noarch
Shahms King 44d2679
BuildRequires:  python-devel
Thomas Spura 5e59364
%if 0%{?with_python3}
Thomas Spura 5e59364
BuildRequires:  python3-devel
Thomas Spura 5e59364
%endif
Thomas Spura aad6999
Thomas Spura 94e35d0
%if %{with doc}
Thomas Spura 94e35d0
%endif
Thomas Spura aad6999
Thomas Spura 94e35d0
%if %{with check}
Thomas Spura aad6999
# for checking/testing
Thomas Spura 3f2ece0
BuildRequires:  Cython
Thomas Spura bf6dcb0
BuildRequires:  python-nose
Thomas Spura 6c9e0b2
BuildRequires:  python-matplotlib
Thomas Spura 5e59364
BuildRequires:  python-mock
Thomas Spura 6c9e0b2
BuildRequires:  pymongo
Thomas Spura 6c9e0b2
BuildRequires:  PyQt4
Orion Poplawski b773f86
BuildRequires:  python-requests
Thomas Spura 5e59364
BuildRequires:  python-zmq
Thomas Spura 5e59364
BuildRequires:  python-zmq-tests
Thomas Spura 6c9e0b2
# for frontend
Thomas Spura 6c9e0b2
BuildRequires:  python-pygments
dfd5875
Thomas Spura 40fb0db
%if 0%{?with_python3}
Thomas Spura 9a7bb2a
BuildRequires:  python3-Cython
Thomas Spura 40fb0db
BuildRequires:  python3-nose
Thomas Spura 4e20f2d
BuildRequires:  python3-matplotlib
Thomas Spura 4e20f2d
BuildRequires:  python3-pymongo
Thomas Spura 8890cd1
BuildRequires:  python3-PyQt4
Orion Poplawski f404de9
BuildRequires:  python3-tornado >= 4.0
Thomas Spura 5e59364
BuildRequires:  python3-zmq
Thomas Spura 5e59364
BuildRequires:  python3-zmq-tests
Thomas Spura 40fb0db
# for frontend
Thomas Spura 4e20f2d
BuildRequires:  python3-pygments
Thomas Spura 3f2ece0
%endif # with_python3
Thomas Spura 40fb0db
Thomas Spura 5e59364
# for running qt/matplotlib tests
Thomas Spura 5e59364
BuildRequires:  xorg-x11-server-Xvfb
Thomas Spura 3f2ece0
%endif # with check
Thomas Spura 40fb0db
Thomas Spura 5e59364
# Require $current_python_interpreter-ipython
Thomas Spura 5e59364
Requires:       python-ipython
Thomas Spura 40fb0db
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}
Orion Poplawski b773f86
%if 0%{?with_notebook}
Thomas Spura 016d8a3
Requires:       python-ipython-notebook = %{version}-%{release}
Orion Poplawski b773f86
%endif
Thomas Spura 2017b11
Provides:       ipython = %{version}-%{release}
Thomas Spura 4fbfa39
Obsoletes:      ipython < 0.13-1
Thomas Spura eda87c9
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 faf26ce
# bundled python packages
Thomas Spura faf26ce
BuildRequires:  python-decorator
Thomas Spura faf26ce
BuildRequires:  python-jsonschema
Thomas Spura faf26ce
BuildRequires:  python-path
Thomas Spura c46596f
BuildRequires:  pexpect
Thomas Spura faf26ce
BuildRequires:  python-simplegeneric
Thomas Spura 8f9f3a7
Requires:       pexpect
Thomas Spura faf26ce
Requires:       python-decorator
Orion Poplawski f404de9
BuildRequires:  python-mistune >= 0.3.1
Orion Poplawski f404de9
Requires:       python-mistune >= 0.3.1
Thomas Spura faf26ce
Requires:       python-jsonschema
Thomas Spura 8cd467d
Requires:       python-path
Thomas Spura 8f9f3a7
Requires:       python-simplegeneric
Thomas Spura 8f9f3a7
Thomas Spura faf26ce
# for starting ipython from pkg_resources
Thomas Spura eda87c9
Requires:       python-setuptools
Thomas Spura eda87c9
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 feba6ef
%package -n python-ipython-sphinx
Thomas Spura feba6ef
Summary:        Sphinx directive to support embedded IPython code
Thomas Spura feba6ef
Requires:       python-ipython-console = %{version}-%{release}
Thomas Spura f551050
BuildRequires:  python-sphinx
Thomas Spura feba6ef
Requires:       python-sphinx
Thomas Spura feba6ef
Thomas Spura feba6ef
%description -n python-ipython-sphinx
Thomas Spura feba6ef
%{ipython_desc_base}
Thomas Spura feba6ef
Thomas Spura feba6ef
This package contains the ipython sphinx extension.
Thomas Spura feba6ef
Orion Poplawski b773f86
%if 0%{?with_notebook}
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 7a9c982
Requires:       python-jinja2
Thomas Spura ef9e54c
Requires:       python-matplotlib
Orion Poplawski f404de9
BuildRequires:  python-mistune >= 0.5
Orion Poplawski f404de9
Requires:       python-mistune >= 0.5
Orion Poplawski b773f86
BuildRequires:  python-tornado >= 4.0
Orion Poplawski f404de9
Requires:       python-tornado >= 4.0
Thomas Spura a431e82
Provides:       ipython-notebook = %{version}-%{release}
Thomas Spura e7691bb
BuildRequires:  mathjax
Thomas Spura e7691bb
Requires:       mathjax
Thomas Spura 8f9f3a7
Thomas Spura 6b14b3a
Thomas Spura 6b14b3a
#################################################
Thomas Spura 6b14b3a
### Bundled stuff from the notebook goes here ###
Thomas Spura 6b14b3a
#################################################
Thomas Spura 6b14b3a
# We need to know nodejs_sitearch and lib
Thomas Spura 6b14b3a
BuildRequires:  nodejs-packaging
Thomas Spura 6b14b3a
BuildRequires:  web-assets-devel
Thomas Spura 6b14b3a
Thomas Spura 6b14b3a
BuildRequires:  fontawesome-fonts-web
Thomas Spura 6b14b3a
Requires:       fontawesome-fonts-web
Thomas Spura 6b14b3a
BuildRequires:  nodejs-requirejs
Thomas Spura 6b14b3a
Requires:       nodejs-requirejs
Thomas Spura 6b14b3a
BuildRequires:  nodejs-underscore
Thomas Spura 6b14b3a
Requires:       nodejs-underscore
Thomas Spura 6b14b3a
BuildRequires:  js-highlight
Thomas Spura 6b14b3a
Requires:       js-highlight
Thomas Spura 6b14b3a
BuildRequires:  js-marked
Thomas Spura 6b14b3a
Requires:       js-marked
Thomas Spura 6b14b3a
Thomas Spura c43dcf3
# BR of helpers for unbundling
Thomas Spura c43dcf3
BuildRequires:  nodejs-less
Thomas Spura c43dcf3
Thomas Spura c43dcf3
Thomas Spura 6b14b3a
# Temporal bundling allowed in:
Thomas Spura 6b14b3a
# https://fedorahosted.org/fpc/ticket/416
Thomas Spura 6b14b3a
#############################################################################
Thomas Spura 6b14b3a
# jquery temporary exception lasts until the release that jquery enters
Thomas Spura 6b14b3a
# the repository. For now, plan on temporary exception for other libraries
Thomas Spura 6b14b3a
# will expire one release after jquery unbundling has entered the repository.
Thomas Spura 6b14b3a
# Lessons from the jquery unbundling may lead us to change that time frame
Thomas Spura 6b14b3a
# as it is our proof of concept of how to unbundle.
Thomas Spura 6b14b3a
#############################################################################
Thomas Spura 6b14b3a
Provides:       bundled(js-backbone)
Thomas Spura 6b14b3a
Provides:       bundled(bootstrap)
Thomas Spura 6b14b3a
Provides:       bundled(js-bootstrap)
Thomas Spura 6b14b3a
Provides:       bundled(bootstrap-tour)
Thomas Spura 6b14b3a
Provides:       bundled(js-bootstrap-tour)
Thomas Spura 6b14b3a
Provides:       bundled(codemirror)
Thomas Spura 6b14b3a
Provides:       bundled(js-codemirror)
Thomas Spura 6b14b3a
Provides:       bundled(js-jquery)
Thomas Spura 6b14b3a
Provides:       bundled(js-jquery-ui)
Thomas Spura 6b14b3a
Provides:       bundled(js-google-caja)
Thomas Spura 6b14b3a
Thomas Spura 6b14b3a
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.
Orion Poplawski b773f86
%endif
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 94e35d0
Thomas Spura 94e35d0
%if %{with doc}
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}.
Thomas Spura 94e35d0
%endif
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 faf26ce
# bundled python packages
Thomas Spura faf26ce
BuildRequires:  python3-decorator
Thomas Spura faf26ce
BuildRequires:  python3-jsonschema
Thomas Spura 04c4250
BuildRequires:  python3-path
Thomas Spura faf26ce
BuildRequires:  python3-pexpect
Thomas Spura faf26ce
BuildRequires:  python3-simplegeneric
Thomas Spura faf26ce
Requires:       python3-decorator
Thomas Spura faf26ce
Requires:       python3-jsonschema
Orion Poplawski f404de9
BuildRequires:  python3-mistune >= 0.3.1
Orion Poplawski f404de9
Requires:       python3-mistune >= 0.3.1
Thomas Spura 04c4250
Requires:       python3-path
Thomas Spura 4d3644e
Requires:       python3-pexpect
Thomas Spura 4d3644e
Requires:       python3-simplegeneric
Thomas Spura 4d3644e
Thomas Spura faf26ce
# for starting ipython from pkg_resources
Thomas Spura eda87c9
Requires:       python3-setuptools
Thomas Spura eda87c9
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 feba6ef
%package -n python3-ipython-sphinx
Thomas Spura feba6ef
Summary:        Sphinx directive to support embedded IPython code
Thomas Spura feba6ef
Requires:       python3-ipython-console = %{version}-%{release}
Thomas Spura f551050
BuildRequires:  python3-sphinx
Thomas Spura feba6ef
Requires:       python3-sphinx
Thomas Spura feba6ef
Thomas Spura feba6ef
%description -n python3-ipython-sphinx
Thomas Spura feba6ef
%{ipython_desc_base}
Thomas Spura feba6ef
Thomas Spura feba6ef
This package contains the ipython sphinx extension.
Thomas Spura feba6ef
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 7a9c982
Requires:       python3-jinja2
Thomas Spura 4d3644e
Requires:       python3-matplotlib
Orion Poplawski f404de9
BuildRequires:  python3-mistune >= 0.5
Orion Poplawski f404de9
Requires:       python3-mistune >= 0.5
Orion Poplawski b773f86
BuildRequires:  python3-tornado >= 4.0
Orion Poplawski f404de9
Requires:       python3-tornado >= 4.0
Thomas Spura e7691bb
BuildRequires:  mathjax
Thomas Spura e7691bb
Requires:       mathjax
Thomas Spura 4d3644e
Thomas Spura db692bb
#################################################
Thomas Spura db692bb
### Bundled stuff from the notebook goes here ###
Thomas Spura db692bb
#################################################
Thomas Spura 8aaaaf8
# We need to know nodejs_sitearch and lib
Thomas Spura 8aaaaf8
BuildRequires:  nodejs-packaging
Thomas Spura d9f7353
BuildRequires:  web-assets-devel
Thomas Spura 8aaaaf8
Thomas Spura db692bb
BuildRequires:  fontawesome-fonts-web
Thomas Spura db692bb
Requires:       fontawesome-fonts-web
Thomas Spura 8aaaaf8
BuildRequires:  nodejs-requirejs
Thomas Spura 8aaaaf8
Requires:       nodejs-requirejs
Thomas Spura 5e5d7dc
BuildRequires:  nodejs-underscore
Thomas Spura 5e5d7dc
Requires:       nodejs-underscore
Thomas Spura d9f7353
BuildRequires:  js-highlight
Thomas Spura d9f7353
Requires:       js-highlight
Thomas Spura 2c1a7c1
BuildRequires:  js-marked
Thomas Spura 2c1a7c1
Requires:       js-marked
Thomas Spura 8aaaaf8
Thomas Spura 9d0333f
# Temporal bundling allowed in:
Thomas Spura 9d0333f
# https://fedorahosted.org/fpc/ticket/416
Thomas Spura 9d0333f
#############################################################################
Thomas Spura 9d0333f
# jquery temporary exception lasts until the release that jquery enters
Thomas Spura 9d0333f
# the repository. For now, plan on temporary exception for other libraries
Thomas Spura 9d0333f
# will expire one release after jquery unbundling has entered the repository.
Thomas Spura 9d0333f
# Lessons from the jquery unbundling may lead us to change that time frame
Thomas Spura 9d0333f
# as it is our proof of concept of how to unbundle.
Thomas Spura 9d0333f
#############################################################################
Thomas Spura 9d0333f
Provides:       bundled(js-backbone)
Thomas Spura 9d0333f
Provides:       bundled(bootstrap)
Thomas Spura 9d0333f
Provides:       bundled(js-bootstrap)
Thomas Spura 9d0333f
Provides:       bundled(bootstrap-tour)
Thomas Spura 9d0333f
Provides:       bundled(js-bootstrap-tour)
Thomas Spura 9d0333f
Provides:       bundled(codemirror)
Thomas Spura 9d0333f
Provides:       bundled(js-codemirror)
Thomas Spura 9d0333f
Provides:       bundled(js-jquery)
Thomas Spura 9d0333f
Provides:       bundled(js-jquery-ui)
Thomas Spura 9d0333f
Provides:       bundled(js-google-caja)
Thomas Spura 9d0333f
Thomas Spura db692bb
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 feba6ef
# Patches go here
Thomas Spura e7691bb
%patch0 -p1 -b .jsdir
Thomas Spura e7691bb
sed -i "s;_jsdir;%{_jsdir};g" \
Thomas Spura e7691bb
    IPython/html/notebookapp.py
693b370
%patch1 -p 1
Thomas Spura 92713f4
dfd5875
# delete bundling libs
dfd5875
pushd IPython/external
Thomas Spura 1ac0a7b
ls -l
Thomas Spura 1ac0a7b
ls -l *
dfd5875
Thomas Spura baf70d9
rm decorator/_decorator.py
dfd5875
Thomas Spura 40fb0db
# use decorators of numpy
Thomas Spura 40fb0db
rm decorators/_decorators.py
Thomas Spura 40fb0db
Thomas Spura aad6999
rm pexpect/_pexpect.py
dfd5875
Thomas Spura 04c4250
rm path/_path.py
dfd5875
Thomas Spura a3d7775
rm simplegeneric/_simplegeneric.py
dfd5875
Thomas Spura aad6999
# ssh modules from paramiko
Thomas Spura aad6999
dfd5875
popd
Shahms King 44d2679
Thomas Spura 248f279
%define do_global_symlinking() \
Thomas Spura 7f04535
pushd IPython/html/static/components \
Thomas Spura 248f279
    pushd font-awesome \
Thomas Spura 248f279
        rm -rf font \
Thomas Spura 248f279
        ln -s %{_datadir}/fonts/fontawesome font \
Thomas Spura 248f279
        for folder in css less scss; do \
Thomas Spura 248f279
            rm -rf $folder \
Thomas Spura 248f279
            ln -s %{_datadir}/font-awesome-*/${folder} \
Thomas Spura 248f279
        done \
Thomas Spura 248f279
        ls -l \
Thomas Spura 248f279
    popd \
Thomas Spura 6cb5c42
# TODO backbone bootstrap google-caja jquery jquery-ui \
Thomas Spura 248f279
    #for folder in highlight.js requirejs underscore; do \
Thomas Spura 248f279
    for folder in requirejs underscore; do \
Thomas Spura 248f279
        rm -r ${folder} \
Thomas Spura 248f279
        ln -s %{nodejs_sitelib}/${folder} \
Thomas Spura 248f279
    done \
Thomas Spura 2c1a7c1
 \
Thomas Spura 2c1a7c1
    for folder in marked; do \
Thomas Spura 2c1a7c1
        rm -r $folder \
Thomas Spura 2c1a7c1
        mkdir -p $folder \
Thomas Spura 2c1a7c1
        ln -s %{_jsdir}/$folder/ $folder/lib \
Thomas Spura 2c1a7c1
    done \
Thomas Spura 248f279
ls -l \
Thomas Spura 7f04535
ls -l * \
Thomas Spura 7f04535
popd
Thomas Spura 248f279
Orion Poplawski b773f86
# unbundle components if building the notebook, otherwise leave for setup to
Orion Poplawski b773f86
# find
Orion Poplawski b773f86
%if 0%{?with_notebook}
Thomas Spura 248f279
%do_global_symlinking
Orion Poplawski b773f86
%endif
Thomas Spura 45554aa
#asdf
Thomas Spura db692bb
Thomas Spura e290d79
%if 0%{?with_python3}
Thomas Spura e290d79
rm -rf %{py3dir}
Thomas Spura e290d79
cp -a . %{py3dir}
Thomas Spura 20a0a53
find %{py3dir} -name '*.py' -print0 | xargs -0 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
Orion Poplawski 87043d8
%{__python2} setup.py build
Shahms King 44d2679
Shahms King 44d2679
Thomas Spura 94e35d0
%if %{with doc}
Thomas Spura 94e35d0
cd docs
Thomas Spura 94e35d0
## TODO: fails with
Thomas Spura 94e35d0
##reading sources... [ 71%] api/generated/IPython.utils.io
Thomas Spura 94e35d0
##Sphinx error:
Thomas Spura 94e35d0
##'ascii' codec can't encode character u'\u0142' in position 204: ordinal not in range(128)
Thomas Spura 94e35d0
##make: *** [html] Error 1
Thomas Spura 94e35d0
#make html
Thomas Spura 94e35d0
mkdir -p build/html/
Thomas Spura 94e35d0
cd ..
Thomas Spura 94e35d0
%endif
Thomas Spura 94e35d0
Thomas Spura 94e35d0
Shahms King 44d2679
%install
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
Orion Poplawski 87043d8
%{__python2} setup.py install -O1 --skip-build --root %{buildroot}
efa169a
Thomas Spura 45554aa
# unbundle components again...
Orion Poplawski 87043d8
pushd %{buildroot}%{python2_sitelib}
Thomas Spura 7f04535
    %do_global_symlinking
Thomas Spura 45554aa
popd
Thomas Spura 45554aa
Thomas Spura 45554aa
%if 0%{?with_python3}
Thomas Spura 45554aa
pushd %{buildroot}%{python3_sitelib}
Thomas Spura 7f04535
    %do_global_symlinking
Thomas Spura 45554aa
popd
Thomas Spura 45554aa
%endif # with_python3
Shahms King 44d2679
Thomas Spura 19eb4e6
# Do we need to replace python3 with python2? Only seems to occur on rawhide, see #1123618
Thomas Spura 19eb4e6
echo %{buildroot}%{_bindir}/{ipcluster,ipcontroller,ipengine,iptest,ipython} | xargs head -n 2
Orion Poplawski 87043d8
echo %{buildroot}%{_bindir}/{ipcluster,ipcontroller,ipengine,iptest,ipython} | xargs sed -i '1s|^#!%{__python3}|#!%{__python2}|'
Thomas Spura 19eb4e6
Orion Poplawski b773f86
%if !0%{?with_notebook}
Orion Poplawski b773f86
# Need to remove everything but what we ship in console
Orion Poplawski 87043d8
rm -r %{buildroot}%{python2_sitelib}/IPython/html/__main__.*
Orion Poplawski 87043d8
rm -r %{buildroot}%{python2_sitelib}/IPython/html/[a-mo-rt-z]*
Orion Poplawski 87043d8
rm -r %{buildroot}%{python2_sitelib}/IPython/html/nbconvert
Orion Poplawski 87043d8
rm -r %{buildroot}%{python2_sitelib}/IPython/html/notebook*
Orion Poplawski 87043d8
rm -r %{buildroot}%{python2_sitelib}/IPython/html/s[a-su-z]*
Orion Poplawski 87043d8
rm -r %{buildroot}%{python2_sitelib}/IPython/html/static/[a-bd-z]*
Orion Poplawski 87043d8
rm -r %{buildroot}%{python2_sitelib}/IPython/html/static/c[a-tv-z]*
Orion Poplawski b773f86
%endif
Orion Poplawski b773f86
Thomas Spura 19eb4e6
Thomas Spura 94e35d0
%if %{with check}
Thomas Spura aad6999
%check
Orion Poplawski b773f86
%if 0%{?with_notebook}
Thomas Spura df1cf3c
%global test_groups config extensions lib testing terminal utils nbformat qt core autoreload nbconvert parallel html  js/services js/base js/notebook js/widgets js/tree
Orion Poplawski b773f86
%else
Orion Poplawski b773f86
%global test_groups config extensions lib testing terminal utils nbformat qt core autoreload parallel
Orion Poplawski b773f86
%endif
Thomas Spura df1cf3c
# the following group seems to block on python3.4
Thomas Spura df1cf3c
#kernel kernel.inprocess
Thomas Spura df1cf3c
Thomas Spura 4e20f2d
# Ensure that the user's .pythonrc.py is not invoked during any tests.
Thomas Spura 4e20f2d
export PYTHONSTARTUP=""
Thomas Spura 8890cd1
%if 0%{?with_python3}
Thomas Spura c803d68
pushd %{py3dir}
Orion Poplawski f404de9
    mkdir -p run_tests
Thomas Spura c803d68
    pushd run_tests
Thomas Spura c803d68
    PYTHONPATH=%{buildroot}%{python3_sitelib} \
Thomas Spura c803d68
        PATH="%{buildroot}%{_bindir}:$PATH" \
Thomas Spura c803d68
        LC_ALL=en_US.UTF-8 \
Thomas Spura c803d68
        xvfb-run \
Thomas Spura df1cf3c
        %{buildroot}%{_bindir}/iptest3 %{test_groups} || :
Thomas Spura c803d68
    popd
Thomas Spura c803d68
popd
Thomas Spura 8890cd1
%endif
Thomas Spura 8890cd1
Orion Poplawski f404de9
mkdir -p run_tests
Thomas Spura abcab17
pushd run_tests
Orion Poplawski 87043d8
    PYTHONPATH=%{buildroot}%{python2_sitelib} \
Thomas Spura abcab17
        PATH="%{buildroot}%{_bindir}:$PATH" \
Thomas Spura abcab17
        LC_ALL=en_US.UTF-8 \
Thomas Spura abcab17
        xvfb-run \
Thomas Spura 86b1622
        %{buildroot}%{_bindir}/iptest2 %{test_groups} || :
Thomas Spura abcab17
popd
Thomas Spura aad6999
%endif
dfd5875
Thomas Spura 4fbfa39
%files -n python-ipython
dfd5875
Thomas Spura 96cccfd
%files -n python-ipython-console
Shahms King 44d2679
%{_bindir}/ipython
Thomas Spura adb6e40
%{_bindir}/ipython2
7a1ba7b
%{_bindir}/ipcluster
Thomas Spura adb6e40
%{_bindir}/ipcluster2
7a1ba7b
%{_bindir}/ipcontroller
Thomas Spura adb6e40
%{_bindir}/ipcontroller2
7a1ba7b
%{_bindir}/ipengine
Thomas Spura adb6e40
%{_bindir}/ipengine2
efa169a
%{_mandir}/man*/ipython.*
efa169a
%{_mandir}/man*/ipengine*
efa169a
%{_mandir}/man*/ipc*
Thomas Spura aad6999
Orion Poplawski 87043d8
%dir %{python2_sitelib}/IPython
Orion Poplawski 87043d8
%{python2_sitelib}/IPython/external
Orion Poplawski 87043d8
%{python2_sitelib}/IPython/*.py*
Orion Poplawski 87043d8
%{python2_sitelib}/IPython/html/__init__.py*
Orion Poplawski 87043d8
%{python2_sitelib}/IPython/html/nbextensions.py*
Orion Poplawski 87043d8
%dir %{python2_sitelib}/IPython/html/static
Orion Poplawski 87043d8
%{python2_sitelib}/IPython/html/static/custom/
Orion Poplawski 87043d8
%dir %{python2_sitelib}/IPython/kernel
Orion Poplawski 87043d8
%{python2_sitelib}/IPython/kernel/*.py*
Orion Poplawski 87043d8
%{python2_sitelib}/IPython/kernel/blocking/
Orion Poplawski 87043d8
%{python2_sitelib}/IPython/kernel/comm/
Orion Poplawski 87043d8
%{python2_sitelib}/IPython/kernel/inprocess/
Orion Poplawski 87043d8
%{python2_sitelib}/IPython/kernel/ioloop/
Orion Poplawski 87043d8
%dir %{python2_sitelib}/IPython/testing
Orion Poplawski 87043d8
%{python2_sitelib}/IPython/testing/*.py*
Orion Poplawski 87043d8
%{python2_sitelib}/IPython/testing/plugin
Orion Poplawski 87043d8
%{python2_sitelib}/ipython-%{version}-py?.?.egg-info
Orion Poplawski 87043d8
Orion Poplawski 87043d8
%{python2_sitelib}/IPython/config/
Orion Poplawski 87043d8
%{python2_sitelib}/IPython/core/
Orion Poplawski 87043d8
%{python2_sitelib}/IPython/extensions/
Orion Poplawski 87043d8
#%dir %{python2_sitelib}/IPython/frontend/
Orion Poplawski 87043d8
#%{python2_sitelib}/IPython/frontend/terminal/
Orion Poplawski 87043d8
#%{python2_sitelib}/IPython/frontend/__init__.py*
Orion Poplawski 87043d8
#%{python2_sitelib}/IPython/frontend/consoleapp.py*
Orion Poplawski 87043d8
%{python2_sitelib}/IPython/lib/
Orion Poplawski 87043d8
%{python2_sitelib}/IPython/nbformat/
Orion Poplawski 87043d8
%{python2_sitelib}/IPython/nbconvert/
Orion Poplawski 87043d8
%{python2_sitelib}/IPython/parallel/
Orion Poplawski 87043d8
%{python2_sitelib}/IPython/terminal/
Orion Poplawski 87043d8
%{python2_sitelib}/IPython/utils/
Orion Poplawski 87043d8
%{python2_sitelib}/IPython/kernel/zmq/
Orion Poplawski 87043d8
%exclude %{python2_sitelib}/IPython/kernel/zmq/gui/
Thomas Spura aad6999
Thomas Spura aad6999
# tests go into subpackage
Orion Poplawski 87043d8
%exclude %{python2_sitelib}/IPython/*/tests/
Orion Poplawski 87043d8
%exclude %{python2_sitelib}/IPython/*/*/tests
Thomas Spura aad6999
efa169a
Thomas Spura feba6ef
%files -n python-ipython-sphinx
Orion Poplawski 87043d8
%{python2_sitelib}/IPython/sphinxext/
Thomas Spura feba6ef
Thomas Spura feba6ef
Thomas Spura 96cccfd
%files -n python-ipython-tests
7a1ba7b
%{_bindir}/iptest
Thomas Spura adb6e40
%{_bindir}/iptest2
Orion Poplawski 87043d8
%{python2_sitelib}/IPython/*/tests
Orion Poplawski 87043d8
%{python2_sitelib}/IPython/*/*/tests
efa169a
efa169a
Thomas Spura 94e35d0
%if %{with doc}
Thomas Spura 96cccfd
%files -n python-ipython-doc
Thomas Spura 94e35d0
%doc docs/build/html
Thomas Spura 94e35d0
%endif
efa169a
Thomas Spura aad6999
Orion Poplawski b773f86
%if 0%{?with_notebook}
Thomas Spura 96cccfd
%files -n python-ipython-notebook
Orion Poplawski 87043d8
%{python2_sitelib}/IPython/html/*
Orion Poplawski 87043d8
%exclude %{python2_sitelib}/IPython/html/__init__.py*
Orion Poplawski 87043d8
%exclude %{python2_sitelib}/IPython/html/nbextensions.py*
Orion Poplawski 87043d8
%exclude %{python2_sitelib}/IPython/html/static/custom/
Orion Poplawski b773f86
%endif
Thomas Spura 8f9f3a7
Thomas Spura 8f9f3a7
Thomas Spura 96cccfd
%files -n python-ipython-gui
Orion Poplawski 87043d8
%{python2_sitelib}/IPython/kernel/resources/
Orion Poplawski 87043d8
%{python2_sitelib}/IPython/kernel/zmq/gui
Orion Poplawski 87043d8
%{python2_sitelib}/IPython/qt/
7135005
Thomas Spura 8890cd1
%if 0%{?with_python3}
Thomas Spura e290d79
%files -n python3-ipython
Thomas Spura 4d3644e
Thomas Spura 4d3644e
%files -n python3-ipython-console
Thomas Spura e290d79
%{_bindir}/ipython3
Thomas Spura e290d79
%{_bindir}/ipcluster3
Thomas Spura e290d79
%{_bindir}/ipcontroller3
Thomas Spura e290d79
%{_bindir}/ipengine3
Thomas Spura e290d79
# no man pages (yet?)
Thomas Spura e290d79
#%{_mandir}/man*/ipython3.*
Thomas Spura e290d79
#%{_mandir}/man*/ipengine3*
Thomas Spura e290d79
#%{_mandir}/man*/ipc*3*
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 7a9c982
%dir %{python3_sitelib}/IPython/html
Thomas Spura 7a9c982
%{python3_sitelib}/IPython/html/__init__.py*
Thomas Spura 7a9c982
%{python3_sitelib}/IPython/html/nbextensions.py*
Orion Poplawski b773f86
%dir %{python3_sitelib}/IPython/html/static
Orion Poplawski b773f86
%{python3_sitelib}/IPython/html/static/custom/
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 feba6ef
%{python3_sitelib}/IPython/kernel/blocking/
Thomas Spura adb6e40
%{python3_sitelib}/IPython/kernel/comm/
Thomas Spura feba6ef
%{python3_sitelib}/IPython/kernel/inprocess/
Thomas Spura feba6ef
%{python3_sitelib}/IPython/kernel/ioloop/
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 feba6ef
#%dir %{python3_sitelib}/IPython/frontend/
Thomas Spura feba6ef
#%{python3_sitelib}/IPython/frontend/terminal/
Thomas Spura feba6ef
#%{python3_sitelib}/IPython/frontend/__pycache__/
Thomas Spura feba6ef
#%{python3_sitelib}/IPython/frontend/__init__.py*
Thomas Spura feba6ef
#%{python3_sitelib}/IPython/frontend/consoleapp.py*
Thomas Spura 8890cd1
%{python3_sitelib}/IPython/lib/
Thomas Spura 8890cd1
%{python3_sitelib}/IPython/nbformat/
Thomas Spura feba6ef
%{python3_sitelib}/IPython/nbconvert/
Thomas Spura 8890cd1
%{python3_sitelib}/IPython/parallel/
Thomas Spura feba6ef
%{python3_sitelib}/IPython/terminal/
Thomas Spura 8890cd1
%{python3_sitelib}/IPython/utils/
Thomas Spura feba6ef
%{python3_sitelib}/IPython/kernel/zmq/
Thomas Spura feba6ef
%exclude %{python3_sitelib}/IPython/kernel/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 feba6ef
%files -n python3-ipython-sphinx
Thomas Spura feba6ef
%{python3_sitelib}/IPython/sphinxext/
Thomas Spura feba6ef
Thomas Spura feba6ef
Thomas Spura 8890cd1
%files -n python3-ipython-tests
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 94e35d0
%if %{with doc}
Thomas Spura e290d79
##%files -n python3-ipython-doc
Thomas Spura 8890cd1
# ipython installs its own documentation, but we need to own the directory
Thomas Spura e94744c
##%{_datadir}/doc/python3-%{name}/
Thomas Spura 94e35d0
%endif
Thomas Spura 8890cd1
Thomas Spura 8890cd1
Thomas Spura 4d3644e
%files -n python3-ipython-notebook
Thomas Spura 7a9c982
%{python3_sitelib}/IPython/html/*
Thomas Spura 7a9c982
%exclude %{python3_sitelib}/IPython/html/__init__.py*
Thomas Spura 7a9c982
%exclude %{python3_sitelib}/IPython/html/nbextensions.py*
Orion Poplawski b773f86
%exclude %{python3_sitelib}/IPython/html/static/custom/
Thomas Spura 4d3644e
Thomas Spura 4d3644e
Thomas Spura 8890cd1
%files -n python3-ipython-gui
Orion Poplawski f404de9
%{python3_sitelib}/IPython/kernel/resources/
Thomas Spura feba6ef
%{python3_sitelib}/IPython/kernel/zmq/gui
Thomas Spura feba6ef
%{python3_sitelib}/IPython/qt/
Thomas Spura 8890cd1
%endif # with_python3
Shahms King 44d2679
Shahms King 44d2679
%changelog
9ee028c
* Sun Oct 23 2022 Carl George <carl@george.computer> - 3.2.3-1
9ee028c
- Update to 3.2.3
693b370
- Fix CVE-2022-21699, resolves rhbz#2135164
9ee028c
Orion Poplawski ac6accd
* Mon Jul 13 2015 Orion Poplawski <orion@cora.nwra.com> - 3.2.1-1
Orion Poplawski ac6accd
- Update to 3.2.1
Orion Poplawski ac6accd
5ceada0
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.0-4
5ceada0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
5ceada0
Orion Poplawski 87043d8
* Fri May 8 2015 Orion Poplawski <orion@cora.nwra.com> - 3.1.0-3
Orion Poplawski 87043d8
- Use python2 macros
Orion Poplawski 87043d8
- Fix python3 shebang fix
Orion Poplawski 87043d8
Orion Poplawski b773f86
* Thu May 7 2015 Orion Poplawski <orion@cora.nwra.com> - 3.1.0-2
Orion Poplawski b773f86
- Do not ship notebook on EL, missing python-tornado >= 4.0
Orion Poplawski b773f86
- Move IPython/html/static/custom into -console.
Orion Poplawski b773f86
Orion Poplawski f404de9
* Sat Apr 25 2015 Orion Poplawski <orion@cora.nwra.com> - 3.1.0-1
Orion Poplawski f404de9
- Update to 3.1.0
Orion Poplawski f404de9
- Add BR/R on mistune
Orion Poplawski f404de9
- Drop BR/R on jsonpointer
Orion Poplawski f404de9
- Drop fabric
Orion Poplawski f404de9
Orion Poplawski df90d60
* Thu Feb 26 2015 Orion Poplawski <orion@cora.nwra.com> - 2.4.1-1
Orion Poplawski df90d60
- update to 2.4.1
Orion Poplawski df90d60
Orion Poplawski 81515fc
* Wed Feb 25 2015 Orion Poplawski <orion@cora.nwra.com> - 2.4.0-1
Orion Poplawski 81515fc
- update to 2.4.0
Orion Poplawski 81515fc
Orion Poplawski ba9e12b
* Fri Nov 14 2014 Orion Poplawski <orion@cora.nwra.com> - 2.3.0-1
Orion Poplawski e47f12b
- update to 2.3.0
Orion Poplawski e47f12b
Thomas Spura 17fe8c1
* Thu Aug  7 2014 Thomas Spura <tomspur@fedoraproject.org> - 2.2.0-1
Thomas Spura 17fe8c1
- update to 2.2.0
Thomas Spura 17fe8c1
Thomas Spura 19eb4e6
* Sun Jul 27 2014 Thomas Spura <tomspur@fedoraproject.org> - 2.1.0-7
Thomas Spura 19eb4e6
- Replace python3 shebang with python2 one (#1123618)
Thomas Spura 19eb4e6
Thomas Spura c43dcf3
* Sun Jul  6 2014 Thomas Spura <tomspur@fedoraproject.org> - 2.1.0-6
Thomas Spura c43dcf3
- port ipython to fontawesome-4 and regenerate css in build (#1006575)
Thomas Spura c43dcf3
Thomas Spura e7691bb
* Mon Jun 23 2014 Thomas Spura <tomspur@fedoraproject.org> - 2.1.0-5
Thomas Spura e7691bb
- use mathjax from _jsdir instead of cdn
Thomas Spura c803d68
- enable python3 tests
Thomas Spura e7691bb
Thomas Spura 6b14b3a
* Wed Jun 18 2014 Thomas Spura <tomspur@fedoraproject.org> - 2.1.0-4
Thomas Spura 6b14b3a
- BR/R same fonts for python{,3}-ipython-notebook (#1006575)
Thomas Spura 6b14b3a
- require tornado >= 3.1.0 (#1006575)
Thomas Spura 6b14b3a
b56d08c
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-3
b56d08c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
b56d08c
Thomas Spura 7a9c982
* Sun Jun  1 2014 Thomas Spura <tomspur@fedoraproject.org> - 2.1.0-2
Thomas Spura 7a9c982
- package part of notebook in main package (#1103423)
Thomas Spura f551050
- add BR python-sphinx
Thomas Spura 7a9c982
Thomas Spura 9a7bb2a
* Fri May 30 2014 Thomas Spura <tomspur@fedoraproject.org> - 2.1.0-1
Thomas Spura f299ce0
- update to 2.1.0
Thomas Spura 2c1a7c1
- Unbundle js-marked
Thomas Spura 9d0333f
- Add provides for bundled exception fpc#416
Thomas Spura 3f2ece0
- Add BR Cython
Thomas Spura 8277719
- disable python3 tests for now (possible blocking in koji)
Thomas Spura c46596f
- Add BR python-pexpect
Thomas Spura f299ce0
Thomas Spura 9a7bb2a
* Fri May 30 2014 Thomas Spura <tomspur@fedoraproject.org> - 2.0.0-2
Thomas Spura 8cd467d
- add BR/R python-path
Thomas Spura 20a0a53
- fix python -> python3 sed replacement
Thomas Spura abcab17
- fix running testsuite
Thomas Spura adb6e40
- fix %%files
Thomas Spura d9f7353
- Unbundle js-highlight
Thomas Spura 8cd467d
Thomas Spura 9a7bb2a
* Fri May 30 2014 Thomas Spura <tomspur@fedoraproject.org> - 2.0.0-1
Thomas Spura 07ef55a
- update to 2.0.0
Thomas Spura 07ef55a
- bundled argparse has been dropped
Thomas Spura db692bb
- unbundle fontawesome-fonts{,-web}
Thomas Spura 8aaaaf8
- unbundle nodejs-requirejs
Thomas Spura 5e5d7dc
- unbundle nodejs-underscore
Thomas Spura 5e5d7dc
- unbundle nodejs-highlight-js
Thomas Spura 07ef55a
Thomas Spura 9a7bb2a
* Fri May 30 2014 Thomas Spura <tomspur@fedoraproject.org> - 1.1.0-1
Thomas Spura feba6ef
- update to 1.1.0
Thomas Spura feba6ef
- drop both patches (upstream)
Thomas Spura feba6ef
- add python-ipython-sphinx packages
Thomas Spura 0647686
- remove %%defattr
Thomas Spura 94e35d0
- rename run_testsuite to check
Thomas Spura 94e35d0
- building docs (currently fails with an ascii error)
Thomas Spura 6b7f486
- unbundle jsonschema
Thomas Spura baf70d9
- unbundle decorator
Thomas Spura feba6ef
6f90d6a
* Tue May 27 2014 Kalev Lember <kalevlember@gmail.com> - 0.13.2-4
6f90d6a
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
6f90d6a
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 eda87c9
- R on setuptools for starting with pkg_resources (#994673)
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