2015-09-30 03:51:14 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-jupyter_console
|
|
|
|
#
|
2018-02-21 13:12:53 +00:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2015-09-30 03:51:14 +00:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2017-05-17 15:12:30 +00:00
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
2015-09-30 03:51:14 +00:00
|
|
|
Name: python-jupyter_console
|
2017-10-03 21:16:59 +00:00
|
|
|
Version: 5.2.0
|
2015-09-30 03:51:14 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Jupyter terminal console
|
|
|
|
License: BSD-3-Clause
|
|
|
|
Group: Development/Languages/Python
|
2018-02-21 13:12:53 +00:00
|
|
|
Url: https://github.com/jupyter/jupyter_console
|
2018-10-08 03:52:31 +00:00
|
|
|
Source0: https://files.pythonhosted.org/packages/source/j/jupyter_console/jupyter_console-%{version}.tar.gz
|
2018-10-09 17:41:33 +00:00
|
|
|
Source1: https://media.readthedocs.org/pdf/jupyter-console/latest/jupyter-console.pdf
|
2017-05-17 15:12:30 +00:00
|
|
|
BuildRequires: %{python_module devel}
|
|
|
|
BuildRequires: %{python_module setuptools}
|
2018-10-08 03:52:31 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
2015-09-30 03:51:14 +00:00
|
|
|
Requires: python-jupyter_client
|
|
|
|
Requires: python-jupyter_ipykernel
|
|
|
|
Requires: python-jupyter_ipython
|
2018-10-08 03:52:31 +00:00
|
|
|
Requires: python-prompt_toolkit1
|
2015-09-30 03:51:14 +00:00
|
|
|
BuildArch: noarch
|
2018-10-08 03:52:31 +00:00
|
|
|
|
2017-05-17 15:12:30 +00:00
|
|
|
%python_subpackages
|
2015-09-30 03:51:14 +00:00
|
|
|
|
2018-10-08 03:52:31 +00:00
|
|
|
|
2015-09-30 03:51:14 +00:00
|
|
|
%description
|
|
|
|
A terminal-based console frontend for Jupter kernels.
|
|
|
|
This code is based on the single-process IPython terminal.
|
|
|
|
|
2018-10-08 03:52:31 +00:00
|
|
|
%package -n %{name}-doc
|
|
|
|
Summary: Documentation for %{name}
|
|
|
|
Group: Documentation/PDF
|
|
|
|
Provides: %{python_module jupyter_console-doc = %{version}}
|
|
|
|
|
|
|
|
%description -n %{name}-doc
|
|
|
|
A terminal-based console frontend for Jupter kernels.
|
|
|
|
This code is based on the single-process IPython terminal.
|
|
|
|
|
|
|
|
This package provides the help files for %{name}.
|
|
|
|
|
2015-09-30 03:51:14 +00:00
|
|
|
%prep
|
|
|
|
%setup -q -n jupyter_console-%{version}
|
2018-10-08 03:52:31 +00:00
|
|
|
cp %{SOURCE1} .
|
2015-09-30 03:51:14 +00:00
|
|
|
|
|
|
|
%build
|
2017-05-17 15:12:30 +00:00
|
|
|
%python_build
|
2015-09-30 03:51:14 +00:00
|
|
|
|
|
|
|
%install
|
2017-05-17 15:12:30 +00:00
|
|
|
%python_install
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
2015-09-30 03:51:14 +00:00
|
|
|
|
2018-10-08 03:52:31 +00:00
|
|
|
# Tests require an active console
|
|
|
|
# %%check
|
|
|
|
# %%python_expand nosetests-%%{$python_bin_suffix} jupyter_console
|
|
|
|
|
2017-05-17 15:12:30 +00:00
|
|
|
%files %{python_files}
|
2018-10-08 03:52:31 +00:00
|
|
|
%doc CONTRIBUTING.md README.md
|
|
|
|
%license COPYING.md
|
2017-05-17 15:12:30 +00:00
|
|
|
%python3_only %{_bindir}/jupyter-console
|
2015-09-30 03:51:14 +00:00
|
|
|
%{python_sitelib}/*
|
|
|
|
|
2018-10-08 03:52:31 +00:00
|
|
|
%files -n %{name}-doc
|
|
|
|
%license COPYING.md
|
|
|
|
%doc jupyter-console.pdf
|
|
|
|
|
2015-09-30 03:51:14 +00:00
|
|
|
%changelog
|