Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
python3-IPython
IPython.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File IPython.spec of Package python3-IPython
# # spec file for package IPython # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: IPython BuildRequires: python-devel Version: 0.13.1 Release: 0 Source0: ipython-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: http://ipython.scipy.org/ Summary: An Enhanced Interactive Python Shell License: BSD-3-Clause Group: Development/Languages/Python BuildRequires: python-qt4 %if 0%{?suse_version} %py_requires BuildRequires: fdupes %endif %if 0%{?suse_version} > 1130 Suggests: python-wxWidgets %else Suggests: python-wxGTK %endif %if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1} BuildArch: noarch %endif # qtconsole Requires: python-Pygments Requires: python-pyzmq > 2.1.4 Requires: python-qt4 #ipython notebook Requires: python-tornado %description IPython provides a replacement for the interactive python (Python) interpreter with extra functionality. Main features: * Comprehensive object introspection. * Input history that is persistent across sessions. * Caching of output results during a session with automatically generated references. * Readline-based name completion. * Extensible system of 'magic' commands for controlling the environment and performing many tasks related either to IPython or the operating system. * Configuration system with easy switching between different setups (simpler than changing $PYTHONSTARTUP environment variables every time). * Session logging and reloading. * Extensible syntax processing for special purpose situations. * Access to the system shell with user-extensible alias system. * Easily embeddable in other Python programs. * Integrated access to the pdb debugger and the Python profiler. %package doc Summary: An Enhanced Interactive Python Shell documentation Group: Documentation/Other Suggests: %{name} = %{version} %description doc IPython provides a replacement for the interactive python (Python) interpreter with extra functionality. This package contains comprehensive documentation for IPython in html format, as well as examples of usage. %prep %setup -q -n ipython-%{version} # Get rid of library shebangs # for file in *.py; do # sed -i '/\/usr\/bin\/env/d' $file # done find . -type f -name "*.py" -exec sed -i '/#!\/usr\/bin\/env/d' {} \; %build export CFLAGS="%{optflags}" python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} install -d -m 755 %{buildroot}%{_docdir}/ mv -f %{buildroot}/usr/share/doc/ipython/ %{buildroot}%{_docdir}/%{name} rm -f %{buildroot}/%{python_sitelib}/IPython/.git_commit_info.ini rm -f %{buildroot}/%{_defaultdocdir}/IPython/manual/.buildinfo %if 0%{?suse_version} > 1010 %fdupes %{buildroot} %endif %files %defattr(-,root,root) %{_bindir}/* %{_mandir}/man1/* %{python_sitelib}/* %files doc %defattr(-,root,root) %doc %{_docdir}/%{name} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor