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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.30