Package init

This commit is contained in:
li-miaomiao_zhr 2023-07-13 16:14:45 +08:00 committed by desert-sailor
parent 9b0605312d
commit a6b3f583e0
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