python-nbclient/nbclient.spec
2023-07-28 10:23:13 +08:00

51 lines
1.2 KiB
RPMSpec

%define debug_package %{nil}
Name: nbclient
Version: 0.8.0
Release: 1
Summary: NBClient lets you execute notebooks.
License: BSD
URL: https://pypi.org/project/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 python3-setuptools python3-setuptools_scm python3-pip python3-wheel 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 Jul 28 2023 xlhans <xlhans@isoftstone.com> - 0.8.0-1
- Package init