/[packages]/backports/4/ipython/current/SPECS/ipython.spec
ViewVC logotype

Diff of /backports/4/ipython/current/SPECS/ipython.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 89370 by ahmad, Thu Apr 21 01:38:09 2011 UTC revision 146101 by lebedov, Tue Sep 20 15:42:24 2011 UTC
# Line 1  Line 1 
1  %define name     ipython  %define name     ipython
2  %define version  0.10.2  %define version  0.11
3  %define rel      1  %define release  %mkrel 2
4    
5  Summary:        An enhanced interactive Python shell  Summary:         An interactive computing environment for Python
6  Name:           %{name}  Name:            %{name}
7  Version:        %{version}  Version:         %{version}
8  Release:        %mkrel %{rel}  Release:         %{release}
9  Source0:        http://ipython.scipy.org/dist/%{name}-%{version}.tar.gz  Source0:         http://pypi.python.org/packages/source/i/%{ipython}/%{name}-%{version}.tar.gz
10  License:        BSD-like  License:         BSD
11  Group:          Development/Python  Group:           Development/Python
12  Url:            http://ipython.scipy.org  Url:             http://ipython.org
13  BuildArch:      noarch  BuildArch:       noarch
14  Requires:       python-zope-interface >= 3.4.1  Requires:        python >= 2.6
15  Requires:       python-twisted >= 8.0.1  Requires:        python-pexpect >= 2.2
16  Requires:       python-foolscap >= 0.2.6  Suggests:        python-mpi4py
17  Requires:       python-pexpect >= 2.2  Suggests:        wxPython, python-qt4, pyside >= 1.0.3
18  Requires:       python-OpenSSL  Suggests:        python-pygments
19  Suggests:       python-mpi4py  Suggests:        python-pyzmq >= 2.1.4
20  Suggests:       wxPython  BuildRequires:   emacs, python-devel
 BuildRequires:  emacs  
 BuildRequires:  python-devel  
21    
22  %description  %description
23  IPython is a free software project (released under the BSD license)  The goal of IPython is to create a comprehensive environment for
24  which tries to:  interactive and exploratory computing. To support this goal, IPython
25    has two main components:
26  * Provide an interactive shell superior to Python's default. IPython  
27    has many features for object introspection, system shell access,  * An enhanced interactive Python shell.
28    and its own special command system for adding functionality when  * An architecture for interactive parallel computing.
29    working interactively. It tries to be a very efficient environment  
30    both for Python code development and for exploration of problems  The enhanced interactive Python shell has the following main features:
31    using Python objects (in situations like data analysis).  
32    * Comprehensive object introspection.
33  * Serve as an embeddable, ready to use interpreter for your own  * Input history, persistent across sessions.
34    programs. IPython can be started with a single call from inside  * Caching of output results during a session with automatically
35    another program, providing access to the current namespace. This    generated references.
36    can be very useful both for debugging purposes and for situations  * Readline based name completion.
37    where a blend of batch-processing and interactive exploration are  * Extensible system of 'magic' commands for controlling the
38    needed.    environment and performing many tasks related either to IPython or
39      the operating system.
40  * Offer a flexible framework which can be used as the base  * Configuration system with easy switching between different setups
41    environment for other systems with Python as the underlying    (simpler than changing $PYTHONSTARTUP environment variables every
42    language. Specifically scientific environments like Mathematica,    time).
43    IDL and Matlab inspired its design, but similar ideas can be  * Session logging and reloading.
44    useful in many fields.  * Extensible syntax processing for special purpose situations.
45    * Access to the system shell with user-extensible alias system.
46  * Allow interactive testing of threaded graphical toolkits. IPython  * Easily embeddable in other Python programs and wxPython GUIs.
47    has support for interactive, non-blocking control of GTK, Qt and  * Integrated access to the pdb debugger and the Python profiler.
48    WX applications via special threading flags. The normal Python  
49    shell can only do this for Tkinter applications.  The parallel computing architecture has the following main features:
50    
51    * Quickly parallelize Python code from an interactive Python/IPython
52      session.
53    * A flexible and dynamic process model that be deployed on anything
54      from multicore workstations to supercomputers.
55    * An architecture that supports many different styles of parallelism,
56      from message passing to task farming.
57    * Both blocking and fully asynchronous interfaces.
58    * High level APIs that enable many things to be parallelized in a few
59      lines of code.
60    * Share live parallel jobs with other users securely.
61    * Dynamically load balanced task farming system.  
62    * Robust error handling in parallel code.
63    
64  %prep  %prep
65  %setup -q -n %{name}-%{version}  %setup -q -n %{name}-%{version}
# Line 58  emacs -batch -f batch-byte-compile docs/ Line 69  emacs -batch -f batch-byte-compile docs/
69    
70  %install  %install
71  %__rm -rf %{buildroot}  %__rm -rf %{buildroot}
72  PYTHONDONTWRITEBYTECODE= %__python setup.py install --root=%{buildroot} --record=FILELIST  PYTHONDONTWRITEBYTECODE= %__python setup.py install --root=%{buildroot}
73  %__mkdir -p %{buildroot}%{_datadir}/emacs/site-lisp/  %__mkdir -p %{buildroot}%{_datadir}/emacs/site-lisp/
74  %__install -m 644 docs/emacs/ipython.el* %{buildroot}%{_datadir}/emacs/site-lisp/  %__install -m 644 docs/emacs/ipython.el* %{buildroot}%{_datadir}/emacs/site-lisp/
75  %__rm -f %{buildroot}%{_docdir}/%{name}/manual/ipython.pdf  chmod 644 %{buildroot}%{_mandir}/man1/*.1*
76    find %{buildroot} -name .buildinfo -exec rm -f {} \;
77    find %{buildroot} -name .git_commit_info.ini -exec rm -rf {} \;
78    
79  %clean  %clean
80  %__rm -rf %{buildroot}  %__rm -rf %{buildroot}
81    
82  %files  %files
83  %defattr(-,root,root)  %defattr(-,root,root)
84  %doc README.txt  %doc docs/examples
85  %{_bindir}/*  %{_bindir}/*
86    %{py_sitedir}/*
87  %{_datadir}/emacs/site-lisp/*  %{_datadir}/emacs/site-lisp/*
 %{_docdir}/%{name}  
88  %{_mandir}/man1/*  %{_mandir}/man1/*
 %{python_sitelib}/*  

Legend:
Removed from v.89370  
changed lines
  Added in v.146101

  ViewVC Help
Powered by ViewVC 1.1.30