Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP1:Update
python-jupyter_ipykernel
python-jupyter_ipykernel.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-jupyter_ipykernel.spec of Package python-jupyter_ipykernel
# # spec file for package python-jupyter_ipykernel # # Copyright (c) 2018 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 https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-jupyter_ipykernel Version: 5.1.0 Release: 0 Summary: IPython Kernel for Jupyter License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/ipython/ipykernel Source0: https://files.pythonhosted.org/packages/py3/i/ipykernel/ipykernel-%{version}-py3-none-any.whl # Please make sure you update the documentation files at every release Source1: https://media.readthedocs.org/pdf/ipykernel/stable/ipykernel.pdf Source2: https://media.readthedocs.org/htmlzip/ipykernel/stable/ipykernel.zip BuildRequires: %{python_module jupyter_client} BuildRequires: %{python_module jupyter_ipython >= 4.0.0} BuildRequires: %{python_module pip} BuildRequires: %{python_module tornado >= 4.0} BuildRequires: %{python_module traitlets >= 4.1.0} BuildRequires: fdupes BuildRequires: hicolor-icon-theme BuildRequires: python-rpm-macros BuildRequires: unzip Requires: python-jupyter_client Requires: python-jupyter_ipython >= 4.0.0 Requires: python-tornado >= 4.0 Requires: python-traitlets >= 4.1.0 BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module jupyter_client} BuildRequires: %{python_module jupyter_ipython >= 4.0.0} BuildRequires: %{python_module nose_warnings_filters} BuildRequires: %{python_module nose} BuildRequires: %{python_module tornado >= 4.0} BuildRequires: %{python_module traitlets >= 4.1.0} %if 0%{?suse_version} <= 1320 BuildRequires: %{python_module typing} %endif # /SECTION # typing is only built-in for later versions of python %if 0%{?suse_version} <= 1320 Requires: python-typing %endif %python_subpackages %description This package provides the IPython kernel for Jupyter. %package -n python-jupyter_ipykernel-doc Summary: Documentation for python-jupyter_ipykernel Group: Documentation/Other Provides: %{python_module jupyter_ipykernel-doc = %{version}} %description -n python-jupyter_ipykernel-doc Documentation and help files for python-jupyter_ipykernel. %prep %setup -q -T -c cp %{SOURCE1} . unzip %{SOURCE2} -d docs mv docs/ipykernel-* docs/html rm docs/html/.buildinfo %build # Not needed %install %python_expand pip%{$python_bin_suffix} install \ --root %{buildroot} \ --prefix %{_prefix} \ --compile \ %{SOURCE0} %check export PYTHONDONTWRITEBYTECODE=1 %{python_expand export PYTHONPATH=%{buildroot}%{python_sitelib} nosetests-%{$python_bin_suffix} } %files %{python_files} %{python_sitelib}/ipykernel-%{version}.dist-info/ %license %{python_sitelib}/ipykernel-%{version}.dist-info/LICENSE.txt %{python_sitelib}/ipykernel/ %{_datadir}/jupyter/kernels/python3/ %{python_sitelib}/ipykernel_launcher.py* %pycache_only %{python_sitelib}/__pycache__/ipykernel_launcher*.py* %files -n python-jupyter_ipykernel-doc %doc ipykernel.pdf %doc docs/html %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