|
Shahms King |
44d2679 |
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
Shahms King |
44d2679 |
|
|
Shahms King |
44d2679 |
Name: ipython
|
|
Shahms King |
48e4ad3 |
Version: 0.6.12
|
|
|
e8144fb |
Release: 2
|
|
Shahms King |
44d2679 |
Summary: An enhanced interactive Python shell
|
|
Shahms King |
44d2679 |
|
|
Shahms King |
44d2679 |
Group: Development/Libraries
|
|
Shahms King |
44d2679 |
License: BSD
|
|
Shahms King |
44d2679 |
URL: http://ipython.scipy.org/
|
|
Shahms King |
48e4ad3 |
Source0: http://ipython.scipy.org/dist/ipython-0.6.12.tar.gz
|
|
Shahms King |
44d2679 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
Shahms King |
44d2679 |
|
|
Shahms King |
44d2679 |
BuildArch: noarch
|
|
Shahms King |
44d2679 |
BuildRequires: python-devel
|
|
Shahms King |
44d2679 |
Requires: python-abi = %(%{__python} -c "import sys ; print sys.version[:3]")
|
|
Shahms King |
44d2679 |
|
|
Shahms King |
44d2679 |
%description
|
|
Shahms King |
44d2679 |
|
|
Shahms King |
44d2679 |
IPython provides a replacement for the interactive Python interpreter with
|
|
Shahms King |
44d2679 |
extra functionality.
|
|
Shahms King |
44d2679 |
|
|
Shahms King |
44d2679 |
Main features:
|
|
Shahms King |
44d2679 |
|
|
Shahms King |
44d2679 |
* Comprehensive object introspection.
|
|
Shahms King |
44d2679 |
|
|
Shahms King |
44d2679 |
* Input history, persistent across sessions.
|
|
Shahms King |
44d2679 |
|
|
Shahms King |
44d2679 |
* Caching of output results during a session with automatically generated
|
|
Shahms King |
44d2679 |
references.
|
|
Shahms King |
44d2679 |
|
|
Shahms King |
44d2679 |
* Readline based name completion.
|
|
Shahms King |
44d2679 |
|
|
Shahms King |
44d2679 |
* Extensible system of 'magic' commands for controlling the environment and
|
|
Shahms King |
44d2679 |
performing many tasks related either to IPython or the operating system.
|
|
Shahms King |
44d2679 |
|
|
Shahms King |
44d2679 |
* Configuration system with easy switching between different setups (simpler
|
|
Shahms King |
44d2679 |
than changing $PYTHONSTARTUP environment variables every time).
|
|
Shahms King |
44d2679 |
|
|
Shahms King |
44d2679 |
* Session logging and reloading.
|
|
Shahms King |
44d2679 |
|
|
Shahms King |
44d2679 |
* Extensible syntax processing for special purpose situations.
|
|
Shahms King |
44d2679 |
|
|
Shahms King |
44d2679 |
* Access to the system shell with user-extensible alias system.
|
|
Shahms King |
44d2679 |
|
|
Shahms King |
44d2679 |
* Easily embeddable in other Python programs.
|
|
Shahms King |
44d2679 |
|
|
Shahms King |
44d2679 |
* Integrated access to the pdb debugger and the Python profiler.
|
|
Shahms King |
44d2679 |
|
|
Shahms King |
44d2679 |
%prep
|
|
Shahms King |
44d2679 |
%setup -q
|
|
Shahms King |
44d2679 |
|
|
Shahms King |
44d2679 |
|
|
Shahms King |
44d2679 |
%build
|
|
Shahms King |
44d2679 |
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
|
|
Shahms King |
44d2679 |
|
|
Shahms King |
44d2679 |
|
|
Shahms King |
44d2679 |
%install
|
|
Shahms King |
44d2679 |
rm -rf $RPM_BUILD_ROOT
|
|
Shahms King |
44d2679 |
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
|
Shahms King |
44d2679 |
|
|
Shahms King |
44d2679 |
|
|
Shahms King |
44d2679 |
%clean
|
|
Shahms King |
44d2679 |
rm -rf $RPM_BUILD_ROOT
|
|
Shahms King |
44d2679 |
|
|
Shahms King |
44d2679 |
|
|
Shahms King |
44d2679 |
%files
|
|
Shahms King |
44d2679 |
%defattr(-,root,root,-)
|
|
Shahms King |
44d2679 |
# ipython installs its own documentation, but we need to own the directory
|
|
Shahms King |
44d2679 |
%{_datadir}/doc/%{name}-%{version}/
|
|
Shahms King |
44d2679 |
%{_mandir}/man*/*
|
|
Shahms King |
44d2679 |
%{_bindir}/ipython
|
|
Shahms King |
44d2679 |
%{_bindir}/pycolor
|
|
Shahms King |
44d2679 |
%dir %{python_sitelib}/IPython
|
|
Shahms King |
44d2679 |
%{python_sitelib}/IPython/*.py
|
|
|
e8144fb |
%dir %{python_sitelib}/IPython/Extensions/
|
|
Shahms King |
44d2679 |
%{python_sitelib}/IPython/Extensions/*.py
|
|
Shahms King |
44d2679 |
%{python_sitelib}/IPython/*.pyc
|
|
Shahms King |
44d2679 |
%{python_sitelib}/IPython/Extensions/*.pyc
|
|
|
e8144fb |
%dir %{python_sitelib}/IPython/UserConfig/
|
|
Shahms King |
44d2679 |
%{python_sitelib}/IPython/UserConfig/*
|
|
Shahms King |
44d2679 |
%ghost %{python_sitelib}/IPython/*.pyo
|
|
Shahms King |
44d2679 |
%ghost %{python_sitelib}/IPython/Extensions/*.pyo
|
|
Shahms King |
44d2679 |
|
|
Shahms King |
44d2679 |
%changelog
|
|
|
e8144fb |
* Fri Apr 1 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 0.6.12-2
|
|
|
e8144fb |
- Include IPython Extensions and UserConfig directories.
|
|
|
e8144fb |
|
|
Shahms King |
48e4ad3 |
* 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 |
|
|
Shahms King |
44d2679 |
* Tue Mar 01 2005 Shahms E. King <shahms@shahms.com> 0.6.11-2
|
|
Shahms King |
44d2679 |
- Fix up %doc file specifications
|
|
Shahms King |
44d2679 |
- Use offical .tar.gz, not upstream .src.rpm .tar.gz
|
|
Shahms King |
44d2679 |
|
|
Shahms King |
44d2679 |
* Tue Mar 01 2005 Shahms E. King <shahms@shahms.com> 0.6.11-1
|
|
Shahms King |
44d2679 |
- Initial release to meet Fedora packaging guidelines
|