!3 Init package with version 0.9.2

From: @desert-sailor 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2023-11-24 08:36:36 +00:00 committed by Gitee
commit e4126c42ac
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 54 additions and 0 deletions

BIN
nbsphinx-0.9.2.tar.gz Normal file

Binary file not shown.

54
python-nbsphinx.spec Normal file
View File

@ -0,0 +1,54 @@
%global _empty_manifest_terminate_build 0
%global pypi_name nbsphinx
Name: python-%{pypi_name}
Version: 0.9.2
Release: 1
Summary: Jupyter Notebook Tools for Sphinx.
License: MIT
URL: https://github.com/spatialaudio/nbsphinx/
Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
BuildRequires: python3-pip
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm
BuildRequires: python3-wheel
%description
nbsphinx is a Sphinx_ extension that provides a source parser for
``*.ipynb`` files.
Custom Sphinx directives are used to show `Jupyter Notebook`_ code cells (and of
course their results) in both HTML and LaTeX output.
Un-evaluated notebooks -- i.e. notebooks without stored output cells -- will be
automatically executed during the Sphinx build process.
%package -n python3-%{pypi_name}
Summary: Jupyter Notebook Tools for Sphinx.
%description -n python3-%{pypi_name}
nbsphinx is a Sphinx_ extension that provides a source parser for
``*.ipynb`` files.
Custom Sphinx directives are used to show `Jupyter Notebook`_ code cells (and of
course their results) in both HTML and LaTeX output.
Un-evaluated notebooks -- i.e. notebooks without stored output cells -- will be
automatically executed during the Sphinx build process.
%prep
%autosetup -n %{pypi_name}-%{version} -p1
%build
%pyproject_build
%install
%pyproject_install
%files -n python3-%{pypi_name}
%doc README.rst
%license LICENSE
%{python3_sitelib}/nbsphinx-*.dist-info/
%{python3_sitelib}/nbsphinx/
%changelog
* Thu Jul 13 2023 li-miaomiao_zhr <mmlidc@isoftstone.com> - 0.9.2-1
- Package init