Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
python3-IPython
python3-IPython.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python3-IPython.spec of Package python3-IPython
# # spec file for package python3-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/ # %define modname IPython Name: python3-%{modname} Version: 0.12.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: LGPL-2.1+ Group: Development/Languages/Python BuildRequires: python3 BuildRequires: python3-2to3 BuildRequires: python3-devel BuildRequires: python3-distribute BuildRequires: python3-xml %if 0%{?suse_version} BuildRequires: fdupes %endif # not available yet upstream #%if 0%{?suse_version} > 1130 #Suggests: python3-wxWidgets #%else #Suggests: python3-wxGTK #%endif %if 0%{?suse_version} <= 1140 %{!?python3_sitelib: %global python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} %{!?py3_ver: %global py3_ver %(python3 -c "import sys; version=str(sys.version_info[0]) + '.' + str(sys.version_info[1]); print(version)" 2>/dev/null || echo PYTHON-NOT-FOUND)} %ifarch x86_64 # to allow ownership of noarch python directories BuildRequires: python3-32bit %endif %endif BuildArch: noarch Requires: python3-distribute Requires: python3-xml Requires: python(abi) = %{py3_ver} # qtconsole Requires: python3-Pygments Requires: python3-pyzmq > 2.1.4 Requires: python3-qt4 #ipython notebook Requires: python3-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. #docs not built with python3 so no doc subpackage now, suggest using python2 IPython docs %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}" python3 setup.py build %install python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} rm -f %{buildroot}%{python3_sitelib}/IPython/.git_commit_info.ini for i in %{buildroot}%{_bindir}/*; do mv "$i" "${i}-python%{py3_ver}"; done # add -python3 suffix to executables %if 0%{?suse_version} %fdupes %{buildroot} %endif %files %defattr(-,root,root) %{_bindir}/*-python%{py3_ver} %{python3_sitelib}/%{modname} %{python3_sitelib}/ipython-%{version}-py%{py3_ver}.egg-info %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