Search
SailfishOS Open Build Service
>
Projects
>
home:nodevel
:
python3-pandas
>
python3-jupyter_ipyparallel
> python3-jupyter_ipyparallel.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File python3-jupyter_ipyparallel.spec of Package python3-jupyter_ipyparallel
# # spec file for package python3-jupyter_ipyparallel # # Copyright (c) 2016 SUSE LINUX 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/ # %{?!py3_ver: %global py3_ver 3.4} %{?!python3_sitearch: %global python3_sitearch /usr/lib/python%{py3_ver}/site-packages/} %{?!python3_sitelib: %global python3_sitelib /usr/lib/python%{py3_ver}/site-packages/} Name: python3-jupyter_ipyparallel Version: 5.0.1 Release: 18.16 Summary: Interactive Parallel Computing with IPython License: BSD-3-Clause Group: Development/Languages/Python Url: http://ipython.org Source: https://files.pythonhosted.org/packages/source/i/ipyparallel/ipyparallel-%{version}.tar.gz BuildRequires: python3-decorator BuildRequires: python3-devel BuildRequires: python3-ipython_genutils BuildRequires: python3-jupyter_client BuildRequires: python3-jupyter_ipykernel BuildRequires: python3-jupyter_ipython >= 4 BuildRequires: python3-pyzmq >= 13 BuildRequires: python3-base BuildConflicts: python3-buildservice-tweak Requires: python3-decorator Requires: python3-ipython_genutils Requires: python3-jupyter_client Requires: python3-jupyter_ipykernel Requires: python3-jupyter_ipython >= 4 Requires: python3-pyzmq >= 13 # Recommends: python3-jupyter_notebook # Recommends: python3-mpi4py # Recommends: python3-pymongo # Recommends: python3-tornado Conflicts: python3-IPython < 4 Requires(post): update-alternatives Requires(postun): update-alternatives BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description Use multiple instances of IPython in parallel, interactively. %prep %setup -q -n ipyparallel-%{version} %build python3 setup.py build %install python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} # Prepare for update-alternatives usage mkdir -p %{buildroot}%{_sysconfdir}/alternatives for p in ipcluster ipcontroller ipengine ; do mv %{buildroot}%{_bindir}/$p %{buildroot}%{_bindir}/${p}3 ln -s -f %{_bindir}/${p}3 %{buildroot}%{_bindir}/$p-%{py3_ver} ln -s -f %{_sysconfdir}/alternatives/$p %{buildroot}%{_bindir}/$p # create a dummy target for /etc/alternatives/$p touch %{buildroot}%{_sysconfdir}/alternatives/$p done # These files are meant to be runnable stand-alone, so they should be executable chmod a+x %{buildroot}%{python3_sitelib}/ipyparallel/apps/*app.py chmod a-x %{buildroot}%{python3_sitelib}/ipyparallel/apps/baseapp.py chmod a+x %{buildroot}%{python3_sitelib}/ipyparallel/controller/heartmonitor.py %post %_sbindir/update-alternatives \ --install %{_bindir}/ipcluster ipcluster %{_bindir}/ipcluster-%{py3_ver} 30 \ --slave %{_bindir}/ipcontroller ipcontroller %{_bindir}/ipcontroller-%{py3_ver} \ --slave %{_bindir}/ipengine ipengine %{_bindir}/ipengine-%{py3_ver} %preun if [ $1 -eq 0 ] ; then %_sbindir/update-alternatives --remove ipcluster %{_bindir}/ipcluster-%{py3_ver} fi %files %defattr(-,root,root,-) %doc COPYING.md README.md %doc examples/ %{_bindir}/ipcluster %{_bindir}/ipcluster3 %{_bindir}/ipcluster-%{py3_ver} %ghost %{_sysconfdir}/alternatives/ipcluster %{_bindir}/ipcontroller %{_bindir}/ipcontroller3 %{_bindir}/ipcontroller-%{py3_ver} %ghost %{_sysconfdir}/alternatives/ipcontroller %{_bindir}/ipengine %{_bindir}/ipengine3 %{_bindir}/ipengine-%{py3_ver} %ghost %{_sysconfdir}/alternatives/ipengine %{python3_sitelib}/* %changelog * Sun May 8 2016 arun@gmx.de - specfile: * updated source url to files.pythonhosted.org * Wed Feb 24 2016 arun@gmx.de - update to version 5.0.1: * Fix imports in :meth:`use_cloudpickle`, :meth:`use_dill`. * Various typos and documentation updates to catch up with 5.0. * Wed Feb 17 2016 toddrme2178@gmail.com - Split documentation into subpackage * Wed Feb 3 2016 arun@gmx.de - specfile: * update copyright year - update to version 5.0.0: * The highlight of ipyparallel 5.0 is that the Client has been reorganized a bit to use Futures. AsyncResults are now a Future subclass, so they can be `yield`ed in coroutines, etc. Views have also received an Executor interface. This rewrite better connects results to their handles, so the Client.results cache should no longer grow unbounded. + The Executor API :class:`ipyparallel.ViewExecutor` + Creating an Executor from a Client: :meth:`ipyparallel.Client.executor` + Each View has an :attr:`executor` attribute * Part of the Future refactor is that Client IO is now handled in a background thread, which means that :meth:`Client.spin_thread` is obsolete and deprecated. * Other changes: + Add :command:`ipcluster nbextension enable|disable` to toggle the clusters tab in Jupyter notebook * Less interesting development changes for users: Some IPython-parallel extensions to the IPython kernel have been moved to the ipyparallel package: + :mod:`ipykernel.datapub` is now :mod:`ipyparallel.datapub` + ipykernel Python serialization is now in :mod:`ipyparallel.serialize` + apply_request message handling is implememented in a Kernel subclass, rather than the base ipykernel Kernel. * Tue Oct 27 2015 arun@gmx.de - update to version 4.1.0: * Add :meth:`.Client.wait_interactive` * Improvements for specifying engines with SSH launcher. * Wed Oct 21 2015 toddrme2178@gmail.com - Don't build with python3-buildservice-tweak. It causes package tests to fail . * Mon Oct 5 2015 toddrme2178@gmail.com - Build documentation * Fri Aug 28 2015 toddrme2178@gmail.com - Fix conflict * Wed Aug 26 2015 toddrme2178@gmail.com - Initial version