forked from pool/python-jupyter-client
Accepting request 747865 from home:TheBlackCat:branches:devel:languages:python:jupyter
Rename to python-jupyter-client to follow python package naming guidelines since upstream was renamed. Update to 5.3.4 OBS-URL: https://build.opensuse.org/request/show/747865 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-client?expand=0&rev=1
This commit is contained in:
95
python-jupyter-client.spec
Normal file
95
python-jupyter-client.spec
Normal file
@@ -0,0 +1,95 @@
|
||||
#
|
||||
# spec file for package python-jupyter-client
|
||||
#
|
||||
# Copyright (c) 2019 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 oldpython python
|
||||
Name: python-jupyter-client
|
||||
Version: 5.3.4
|
||||
Release: 0
|
||||
Summary: Jupyter protocol implementation and client libraries
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/jupyter/jupyter_client
|
||||
Source: https://files.pythonhosted.org/packages/source/j/jupyter_client/jupyter_client-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: jupyter-jupyter_client = %{version}
|
||||
Requires: python-entrypoints
|
||||
Requires: python-jupyter-core >= 4.6.0
|
||||
Requires: python-python-dateutil >= 2.1
|
||||
Requires: python-pyzmq >= 13
|
||||
Requires: python-tornado >= 4.1
|
||||
Requires: python-traitlets
|
||||
Provides: python-jupyter_client = %{version}
|
||||
Obsoletes: python-jupyter_client < %{version}
|
||||
%ifpython2
|
||||
Provides: %{oldpython}-jupyter_client = %{version}
|
||||
Obsoletes: %{oldpython}-jupyter_client < %{version}
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
This package contains the reference implementation of the Jupyter protocol.
|
||||
It also provides client and kernel management APIs for working with kernels.
|
||||
|
||||
It also provides the jupyter kernelspec entrypoint for installing kernelspecs
|
||||
for use with Jupyter frontends.
|
||||
|
||||
This package provides the python interface.
|
||||
|
||||
%package -n jupyter-jupyter-client
|
||||
Summary: Jupyter protocol implementation and client libraries
|
||||
Group: Development/Languages/Python
|
||||
Requires: python3-jupyter-client = %{version}
|
||||
Provides: jupyter-jupyter_client = %{version}
|
||||
Obsoletes: jupyter-jupyter_client < %{version}
|
||||
|
||||
%description -n jupyter-jupyter-client
|
||||
This package contains the reference implementation of the Jupyter protocol.
|
||||
It also provides client and kernel management APIs for working with kernels.
|
||||
|
||||
It also provides the jupyter kernelspec entrypoint for installing kernelspecs
|
||||
for use with Jupyter frontends.
|
||||
|
||||
This package provides the jupyter components.
|
||||
|
||||
%prep
|
||||
%setup -q -n jupyter_client-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%files %{python_files}
|
||||
%license COPYING.md
|
||||
%{python_sitelib}/jupyter_client-%{version}-py*.egg-info
|
||||
%{python_sitelib}/jupyter_client/
|
||||
|
||||
%files -n jupyter-jupyter-client
|
||||
%license COPYING.md
|
||||
%doc CONTRIBUTING.md README.md
|
||||
%{_bindir}/jupyter-kernel
|
||||
%{_bindir}/jupyter-kernelspec
|
||||
%{_bindir}/jupyter-run
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user