%define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-nbconvert Version: 7.7.3 Release: 1mamba Summary: Converting Jupyter Notebooks Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://jupyter.org/ Source: https://pypi.debian.net/nbconvert/nbconvert-%{version}.tar.gz License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: (python3.7dist(bleach) < 5 or python3.7dist(bleach) > 5) BuildRequires: libpython3-devel BuildRequires: python3.7dist(beautifulsoup4) BuildRequires: python3.7dist(defusedxml) BuildRequires: python3.7dist(importlib-metadata) BuildRequires: python3.7dist(jinja2) BuildRequires: python3.7dist(jupyter-core) BuildRequires: python3.7dist(jupyterlab-pygments) BuildRequires: python3.7dist(markupsafe) BuildRequires: python3.7dist(mistune) BuildRequires: python3.7dist(nbclient) BuildRequires: python3.7dist(nbformat) BuildRequires: python3.7dist(packaging) BuildRequires: python3.7dist(pandocfilters) BuildRequires: python3.7dist(pygments) BuildRequires: python3.7dist(tinycss2) BuildRequires: python3.7dist(traitlets) ## AUTOBUILDREQ-END %description %{summary}. %if 0%{?with_pyver} %pyver_package %endif %prep %setup -q -n nbconvert-%{version} %build CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %{__python} -m installer --destdir=%{buildroot} dist/*.whl %if "%{?with_pyver}" != "3" # Rename any conflicting file outside of python site packages tree for f in %{_bindir}/jupyter-{dejavu,nbconvert}; do mv %{buildroot}${f}{,-%{?pyappend}} done %endif %files %{?pyappend} %defattr(-,root,root) %{_bindir}/jupyter-dejavu* %{_bindir}/jupyter-nbconvert* %dir %{python_sitelib}/%{pkgname}-%{version}.dist-info %{python_sitelib}/%{pkgname}-%{version}.dist-info/* %dir %{python_sitelib}/%{pkgname} %{python_sitelib}/%{pkgname}/* %dir %{_datadir}/jupyter/nbconvert %dir %{_datadir}/jupyter/nbconvert/templates %{_datadir}/jupyter/nbconvert/templates/* %doc LICENSE %changelog * Wed Jul 26 2023 Automatic Build System 7.7.3-1mamba - automatic version update by autodist * Thu Jul 20 2023 Automatic Build System 7.7.2-1mamba - automatic version update by autodist * Tue Jul 18 2023 Automatic Build System 7.7.1-1mamba - automatic version update by autodist * Mon Jul 17 2023 Automatic Build System 7.7.0-1mamba - automatic version update by autodist * Tue Jun 20 2023 Automatic Build System 7.6.0-1mamba - automatic version update by autodist * Wed Jun 14 2023 Automatic Build System 7.5.0-1mamba - automatic version update by autodist * Tue May 09 2023 Automatic Build System 7.4.0-1mamba - automatic version update by autodist * Tue Apr 11 2023 Automatic Build System 7.3.1-1mamba - automatic version update by autodist * Fri Apr 07 2023 Sdk Build System 7.3.0-2mamba - rebuilt with python 3.10 * Tue Apr 04 2023 Automatic Build System 7.3.0-1mamba - automatic version update by autodist * Wed Mar 15 2023 Automatic Build System 7.2.10-1mamba - automatic version update by autodist * Tue Mar 07 2023 Automatic Build System 7.2.9-1mamba - automatic version update by autodist * Fri Aug 12 2022 Automatic Build System 6.5.3-1mamba - automatic version update by autodist * Thu Aug 11 2022 Automatic Build System 6.5.2-1mamba - automatic version update by autodist * Wed Aug 10 2022 Automatic Build System 6.5.1-1mamba - automatic version update by autodist * Sat Apr 30 2022 Automatic Build System 6.5.0-1mamba - automatic version update by autodist * Sat Mar 12 2022 Automatic Build System 6.4.4-1mamba - automatic version update by autodist * Sun Feb 13 2022 Silvan Calarco 6.4.2-1mamba - package created using the webbuild interface