1 %include /usr/lib/rpm/macros.python
5 Summary: An enhanced Interactive Python shell
6 Summary(pl): Interaktywna pow³oka jêzyka Python
11 Group: Applications/Shells
12 Source0: http://ipython.scipy.org/dist/%{pname}-%{version}.tar.gz
13 # Source0-md5: 134ccdb03a4094f991def74230137b21
14 Patch0: %{name}-import_path.patch
15 URL: http://ipython.scipy.org
17 Requires: python-%{name} = %{version}
18 BuildRequires: rpm-pythonprov >= 4.0.2-50
19 BuildRequires: python-devel
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 IPython is a free software project which tries to:
26 1. Provide an interactive interpreter superior to Python's default.
27 IPython has many features for object introspection, shell access, and
28 its own special command system for adding functionality when working
31 2. Serve as an embeddable, ready to use interpreter for your own
32 programs. IPython can be started with a single call from inside
33 another program, providing access to the current namespace. This can
34 be very useful both for debugging purposes and for situations where a
35 blend of batch-processing and interactive exploration are needed.
37 3. Offer a flexible framework which can be used as the base
38 environment for other systems with Python as the underlying language.
39 Specifically scientific environments like Mathematica, IDL and Mathcad
40 inspired its design, but similar ideas can be useful in many fields.
42 This package contains IPython shell.
45 IPython jest wolnym oprogramowaniem, którego celem jest:
47 1. Dostarczenie interaktywnej pow³oki lepszej od standardowej
48 dostarczanej z jêzykiem Python. IPython umo¿liwia badanie obiektów,
49 dostêp do pow³oki oraz w³asny system poleceñ, który umo¿liwia
50 rozszerzanie funkcjonalno¶ci podczas pracy interaktywnej.
52 2. Dostarczenie gotowego interpertera, który mo¿na do³±czaæ do w³asnej
53 aplikacji. IPython mo¿e zostaæ uruchomiony za pomoc± wywo³ania jednej
54 funkcji z poziomu innego programu umo¿liwiaj±c jednocze¶nie dostêp do
55 aktualnej przestrzeni nazw tego programu. Mo¿e to byæ bardzo u¿yteczne
56 do celów takich jak ¶ledzenie programu czy te¿ sytuacji gdzie jest
57 wymagane po³±czenie przetwarzania wsadowego z interaktywn±
60 3. Dostarczenie szkieletu, który mo¿e zostaæ u¿yty jako podstawa
61 systemu, którego polecenia opieraj± siê na zasadach jêzyka Python.
62 Projekt zosta³ zainspirowany przez oprogramowanie naukowe takie jak
63 Mathematica, IDL oraz Mathcad, gdzie podobne idee mog± byæ realizowane
66 Pakiet ten zawiera pow³okê IPython.
68 %package -n python-ipython
69 Summary: An enhanced Interactive Python shell modules
70 Summary(pl): Modu³y interaktywnej pow³oki jêzyka Python
71 Group: Libraries/Python
72 %pyrequires_eq python-modules
75 %description -n python-ipython
76 IPython is a free software project which tries to:
78 1. Provide an interactive interpreter superior to Python's default.
79 IPython has many features for object introspection, shell access, and
80 its own special command system for adding functionality when working
83 2. Serve as an embeddable, ready to use interpreter for your own
84 programs. IPython can be started with a single call from inside
85 another program, providing access to the current namespace. This can
86 be very useful both for debugging purposes and for situations where a
87 blend of batch-processing and interactive exploration are needed.
89 3. Offer a flexible framework which can be used as the base
90 environment for other systems with Python as the underlying language.
91 Specifically scientific environments like Mathematica, IDL and Mathcad
92 inspired its design, but similar ideas can be useful in many fields.
94 This package contains IPython modules.
96 %description -n python-ipython -l pl
97 IPython jest wolnym oprogramowaniem, którego celem jest:
99 1. Dostarczenie interaktywnej pow³oki lepszej od standardowej
100 dostarczanej z jêzykiem Python. IPython umo¿liwia badanie obiektów,
101 dostêp do pow³oki oraz w³asny system poleceñ, który umo¿liwia
102 rozszerzanie funkcjonalno¶ci podczas pracy interaktywnej.
104 2. Dostarczenie gotowego interpertera, który mo¿na do³±czaæ do w³asnej
105 aplikacji. IPython mo¿e zostaæ uruchomiony za pomoc± wywo³ania jednej
106 funkcji z poziomu innego programu umo¿liwiaj±c jednocze¶nie dostêp do
107 aktualnej przestrzeni nazw tego programu. Mo¿e to byæ bardzo u¿yteczne
108 do celów takich jak ¶ledzenie programu czy te¿ sytuacji gdzie jest
109 wymagane po³±czenie przetwarzania wsadowego z interaktywn±
112 3. Dostarczenie szkieletu, który mo¿e zostaæ u¿yty jako podstawa
113 systemu, którego polecenia opieraj± siê na zasadach jêzyka Python.
114 Projekt zosta³ zainspirowany przez oprogramowanie naukowe takie jak
115 Mathematica, IDL oraz Mathcad, gdzie podobne idee mog± byæ realizowane
118 Pakiet ten zawiera modu³y interaktywnej pow³oki jêzyka Python.
121 %setup -q -n %{pname}-%{version}
125 rm -rf $RPM_BUILD_ROOT
127 python ./setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
130 rm -rf $RPM_BUILD_ROOT
133 %defattr(644,root,root,755)
134 %attr(755,root,root) %{_bindir}/*
137 %files -n python-ipython
138 %defattr(644,root,root,755)
139 %doc README doc/{ChangeLog,NEWS} doc/manual doc/*.pdf
140 %dir %{py_sitedir}/%{pname}
141 %dir %{py_sitedir}/%{pname}/Extensions
142 %dir %{py_sitedir}/%{pname}/UserConfig
143 %{py_sitedir}/%{pname}/*.py?
144 %{py_sitedir}/%{pname}/Extensions/*.py?
145 %{py_sitedir}/%{pname}/UserConfig