python-nbclient/nbclient.spec

57 lines
1.4 KiB
RPMSpec

%define debug_package %{nil}
Name: nbclient
Version: 0.7.4
Release: 1
Summary: NBClient lets you execute notebooks.
License: BSD
URL: https://github.com/jupyter/nbclient
Source0: %{url}/archive/%{version}/nbclient-%{version}.tar.gz
%description
A client library for programmatic notebook execution, \
NBClient is a tool for running Jupyter Notebooks in different execution contexts, \
including the command line.
%package -n python3-nbclient
Summary: NBClient lets you execute notebooks.
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-hatchling
%{?python_provide:%python_provide python3-%{name}}
%description -n python3-nbclient
A client library for programmatic notebook execution, \
NBClient is a tool for running Jupyter Notebooks in different execution contexts, \
including the command line.
%prep
%autosetup -n %{name}-%{version} -p1
%build
%pyproject_build
%install
%pyproject_install
%files -n python3-nbclient
%doc README.md
%license LICENSE
%{python3_sitelib}/nbclient/*
%{python3_sitelib}/nbclient-*dist-info/*
%{_bindir}/jupyter-execute
%changelog
* Fri Aug 4 2023 mengzhaoa <mengzhaoa@isoftstone.com> - 0.7.4-1
- Downgrade package python-nbclient to version 0.7.4
* Fri Jul 28 2023 xlhans <xlhans@isoftstone.com> - 0.8.0-1
- Package init