/[packages]/cauldron/ipython/current/SPECS/ipython.spec
ViewVC logotype

Annotation of /cauldron/ipython/current/SPECS/ipython.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 65239 - (hide annotations) (download)
Sun Mar 6 12:11:43 2011 UTC (13 years ago) by saispo
File size: 2682 byte(s)
imported package ipython
1 saispo 65239 %define name ipython
2     %define version 0.10.1
3     %define rel 1
4    
5     Summary: An enhanced interactive Python shell
6     Name: %{name}
7     Version: %{version}
8     Release: %mkrel %{rel}
9     Source0: http://ipython.scipy.org/dist/%{name}-%{version}.tar.gz
10     Patch0: setupbase.py.patch
11     License: BSD-like
12     Group: Development/Python
13     Url: http://ipython.scipy.org
14     BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
15     BuildArch: noarch
16     Requires: python-zope-interface >= 3.4.1
17     Requires: python-twisted >= 8.0.1
18     Requires: python-foolscap >= 0.2.6
19     Requires: python-pexpect >= 2.2
20     Requires: python-OpenSSL
21     Suggests: python-mpi4py
22     Suggests: wxPython
23     BuildRequires: emacs
24     %py_requires -d
25    
26     %description
27     IPython is a free software project (released under the BSD license)
28     which tries to:
29    
30     * Provide an interactive shell superior to Python's default. IPython
31     has many features for object introspection, system shell access,
32     and its own special command system for adding functionality when
33     working interactively. It tries to be a very efficient environment
34     both for Python code development and for exploration of problems
35     using Python objects (in situations like data analysis).
36    
37     * Serve as an embeddable, ready to use interpreter for your own
38     programs. IPython can be started with a single call from inside
39     another program, providing access to the current namespace. This
40     can be very useful both for debugging purposes and for situations
41     where a blend of batch-processing and interactive exploration are
42     needed.
43    
44     * Offer a flexible framework which can be used as the base
45     environment for other systems with Python as the underlying
46     language. Specifically scientific environments like Mathematica,
47     IDL and Matlab inspired its design, but similar ideas can be
48     useful in many fields.
49    
50     * Allow interactive testing of threaded graphical toolkits. IPython
51     has support for interactive, non-blocking control of GTK, Qt and
52     WX applications via special threading flags. The normal Python
53     shell can only do this for Tkinter applications.
54    
55     %prep
56     %setup -q -n %{name}-%{version}
57     %patch0 -p0
58    
59     %build
60     emacs -batch -f batch-byte-compile docs/emacs/ipython.el
61    
62     %install
63     %__rm -rf %{buildroot}
64     PYTHONDONTWRITEBYTECODE= %__python setup.py install --root=%{buildroot} --record=FILELIST
65     %__mkdir -p %{buildroot}%{_datadir}/emacs/site-lisp/
66     %__install -m 644 docs/emacs/ipython.el* %{buildroot}%{_datadir}/emacs/site-lisp/
67     %__rm -f %{buildroot}%{_docdir}/%{name}/manual/ipython.pdf
68     cp -f README.txt %{buildroot}%{_docdir}/%{name}
69    
70     %clean
71     %__rm -rf %{buildroot}
72    
73     %files
74     %defattr(-,root,root)
75     %{_bindir}/*
76     %{_datadir}/emacs/site-lisp/*
77     %{_docdir}/%{name}
78     %{_mandir}/man1/*
79     %{py_sitedir}/*

  ViewVC Help
Powered by ViewVC 1.1.30