Search
SailfishOS Open Build Service
>
Projects
>
home:rcolistete
>
ipython3
> IPython3.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File IPython3.spec of Package ipython3
# # spec file for package IPython3 for Mer, based on OpenSUSE version # Name: ipython3 Version: 2.4.1 Release: 1 Source0: ipython-%{version}.tar.gz URL: http://ipython.org Summary: An interactive computing environment for Python License: BSD Group: Development/Tools Packager: Roberto Colistete Jr. <ipython-dev@scipy.org> Vendor: The IPython Development Team <ipython-dev@scipy.org> BuildRequires: python3-devel >= 2.7 BuildRequires: fdupes Requires: python3-pygments Requires: python3-pyzmq >= 2.1.11 Requires: python3-jinja2 Requires: python3-tornado >= 3.1 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description IPython - An interactive computing environment for Python IPython can be used as a replacement for the standard Python shell, or it can be used as a complete working environment for scientific computing (like Matlab or Mathematica) when paired with the standard Python scientific and numerical tools. It supports dynamic object introspections, numbered input/output prompts, a macro system, session logging, session restoring, complete system shell access, verbose and colored traceback reports, auto-parentheses, auto-quoting, and is embeddable in other Python programs. ipython opens a text interface. ipython notebook opens a html notebook providing a Mathematica-like webinterface to Python. %package doc Summary: An interactive computing environment for Python Group: Documentation %description doc IPython - An interactive computing environment for Python This package contains comprehensive documentation for IPython in html format, as well as examples of usage. %define py3_ver 3.4 %define python3_sitelib %{_libdir}/python3.?/site-packages %prep %setup -q -n ipython-%{version} # Get rid of library shebangs find . -type f -name "*.py" -exec sed -i '/#!\/usr\/bin\/env/d' {} \; chmod -R -x examples/*/*.py chmod -R -x examples/*/*/*.py %build export CFLAGS="%{optflags}" python3 setup.py build %install python3 setup.py install -O1 --skip-build --root %{buildroot} install -d -m 755 %{buildroot}%{_docdir}/ chmod 644 %{buildroot}%{_mandir}/man1/*.1* find %{buildroot} -name .buildinfo -exec rm -f {} \; find %{buildroot} -name .git_commit_info.ini -exec rm -rf {} \; %fdupes %{buildroot} %files %defattr(-,root,root) %{_bindir}/* %{python3_sitelib}/* %files doc %defattr(-,root,root) %doc examples %{_mandir}/man1/* %changelog * Mon Aug 15 2016 Roberto Colistete Jr. <ipython-dev@scipy.org> - 2.4.1 - (Python 3) IPython 2.4.1 (09/02/2015) version for Mer : - * 1st release (07/08/2016); * Sun Aug 07 2016 Roberto Colistete Jr. <ipython-dev@scipy.org> - 2.4.1 - IPython 2.4.1 (09/02/2015) version for Mer : - * 1st release (07/08/2016); * Fri Oct 02 2014 Roberto Colistete Jr. <ipython-dev@scipy.org> - 2.3.0 - IPython 2.3.0 (01/10/2014) version for Mer : - * 1st release (02/10/2014); * Fri Sep 16 2014 Roberto Colistete Jr. <ipython-dev@scipy.org> - 2.2.0 - IPython 2.2.0 (06/08/2014) version for Mer : - * 1st release (16/09/2014); * Fri May 23 2014 Roberto Colistete Jr. <ipython-dev@scipy.org> - 2.1.0 - IPython 2.1.0 (21/05/2014) version for Mer : - * 1st release (23/05/2014); * Mon May 05 2014 Roberto Colistete Jr. <ipython-dev@scipy.org> - 2.0.0 - IPython 2.0.0 (01/04/2014) version for Mer : - * 1st release (05/05/2014); * Mon May 05 2014 Roberto Colistete Jr. <ipython-dev@scipy.org> - 1.2.1 - IPython 1.2.1 (24/02/2014) version for Mer : - * 1st release (05/05/2014); * Mon Jun 01 2013 Roberto Colistete Jr. <ipython-dev@scipy.org> - 0.13.2 - IPython 0.13.2 (05/04/2013) version for Mer : - * 2nd release (01/06/2013); - * includes Qt console and Notebook interfaces with correct dependencies. * Mon Feb 25 2013 Roberto Colistete Jr. <ipython-dev@scipy.org> - 0.13.1 - IPython 0.13.1 (21/10/2012) version for Mer : - * 1st release (25/02/2013).