2023-07-13 12:10:25 +08:00
|
|
|
%global _empty_manifest_terminate_build 0
|
|
|
|
|
%global pypi_name jupyter-client
|
|
|
|
|
|
|
|
|
|
Name: python-%{pypi_name}
|
2024-03-06 13:50:06 +08:00
|
|
|
Version: 8.6.0
|
|
|
|
|
Release: 1
|
2023-07-13 12:10:25 +08:00
|
|
|
Summary: Jupyter protocol implementation and client libraries.
|
|
|
|
|
License: BSD-3-Clause
|
|
|
|
|
URL: https://github.com/jupyter/jupyter_client
|
|
|
|
|
Source0: %{url}/archive/%{version}/jupyter_client-%{version}.tar.gz
|
|
|
|
|
BuildArch: noarch
|
2023-08-09 12:36:50 +08:00
|
|
|
Patch0: 0001-modify-the-range-of-version-required.patch
|
2023-07-13 12:10:25 +08:00
|
|
|
|
|
|
|
|
# Base Requires
|
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
BuildRequires: python3-hatchling
|
|
|
|
|
BuildRequires: python3-pip
|
|
|
|
|
BuildRequires: python3-wheel
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-setuptools_scm
|
|
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
|
|
%package -n python3-%{pypi_name}
|
|
|
|
|
Summary: Jupyter protocol implementation and client libraries.
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
|
|
|
|
|
|
|
%description -n python3-%{pypi_name}
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n jupyter_client-%{version} -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%pyproject_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%pyproject_install
|
|
|
|
|
|
|
|
|
|
%files -n python3-%{pypi_name}
|
|
|
|
|
%doc README.md
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%{_bindir}/jupyter-kernel
|
|
|
|
|
%{_bindir}/jupyter-kernelspec
|
|
|
|
|
%{_bindir}/jupyter-run
|
2024-03-06 13:50:06 +08:00
|
|
|
%{python3_sitelib}/jupyter_client-*.dist-info/
|
2023-07-13 12:10:25 +08:00
|
|
|
%{python3_sitelib}/jupyter_client/
|
|
|
|
|
|
|
|
|
|
%changelog
|
2024-03-06 13:50:06 +08:00
|
|
|
* Wed Mar 6 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 8.6.0-1
|
|
|
|
|
- Update package with version 8.6.0
|
|
|
|
|
Update typing for traitlets 5.13
|
|
|
|
|
Enable strict typing
|
|
|
|
|
Test on python 3.12
|
|
|
|
|
|
2023-08-09 12:36:50 +08:00
|
|
|
* Wed Aug 9 2023 Dongxing Wang <dxwangk@isoftstone.com> - 8.3.0-2
|
|
|
|
|
- Modify the range of version requiered
|
|
|
|
|
|
2023-07-13 12:10:25 +08:00
|
|
|
* Thu Jul 13 2023 li-miaomiao_zhr <mmlidc@isoftstone.com> - 8.3.0-1
|
|
|
|
|
- Package init
|