%define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-nbconvert Version: 7.13.0 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.11dist(bleach) < 5 or python3.11dist(bleach) > 5) BuildRequires: libpython311-devel BuildRequires: python3.11dist(beautifulsoup4) BuildRequires: python3.11dist(defusedxml) BuildRequires: python3.11dist(jinja2) BuildRequires: python3.11dist(jupyter-core) BuildRequires: python3.11dist(jupyterlab-pygments) BuildRequires: python3.11dist(markupsafe) BuildRequires: python3.11dist(mistune) BuildRequires: python3.11dist(nbclient) BuildRequires: python3.11dist(nbformat) BuildRequires: python3.11dist(packaging) BuildRequires: python3.11dist(pandocfilters) BuildRequires: python3.11dist(pygments) BuildRequires: python3.11dist(tinycss2) BuildRequires: python3.11dist(traitlets) ## AUTOBUILDREQ-END %description %{summary}. %if "0%{?with_pyver}" == "03" %define py_requires_append \ Obsoletes: python-nbconvert-py310 <= 7.11.0-1mamba %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 * Tue Dec 19 2023 Automatic Build System 7.13.0-1mamba - automatic version update by autodist * Tue Dec 05 2023 Automatic Build System 7.12.0-1mamba - automatic version update by autodist * Sat Nov 11 2023 Silvan Calarco 7.11.0-2mamba - obsolete python-nbconvert-py310 * Mon Nov 06 2023 Automatic Build System 7.11.0-1mamba - automatic version update by autodist * Mon Oct 30 2023 Automatic Build System 7.10.0-1mamba - automatic version update by autodist * Thu Oct 05 2023 Automatic Build System 7.9.2-1mamba - automatic version update by autodist * Thu Oct 05 2023 Automatic Build System 7.9.1-1mamba - automatic version update by autodist * Wed Oct 04 2023 Automatic Build System 7.9.0-1mamba - automatic version update by autodist * Mon Sep 11 2023 Silvan Calarco 7.8.0-2mamba - obsolete python-nbconvert-py3 * Sat Sep 09 2023 Automatic Build System 7.8.0-1mamba - automatic version update by autodist * Thu Aug 17 2023 Automatic Build System 7.7.4-1mamba - automatic version update by autodist * 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