2024-01-06 11:29:46 +01:00
|
|
|
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
|
|
|
Name: python-nbconvert
|
2024-01-06 11:29:51 +01:00
|
|
|
Version: 7.13.0
|
2024-01-06 11:29:50 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 11:29:46 +01:00
|
|
|
Summary: Converting Jupyter Notebooks
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://jupyter.org/
|
|
|
|
Source: https://pypi.debian.net/nbconvert/nbconvert-%{version}.tar.gz
|
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-06 11:29:50 +01:00
|
|
|
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)
|
2024-01-06 11:29:46 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
2024-01-06 11:29:50 +01:00
|
|
|
%if "0%{?with_pyver}" == "03"
|
2024-01-06 11:29:50 +01:00
|
|
|
%define py_requires_append \
|
2024-01-06 11:29:50 +01:00
|
|
|
Obsoletes: python-nbconvert-py310 <= 7.11.0-1mamba
|
2024-01-06 11:29:46 +01:00
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n nbconvert-%{version}
|
|
|
|
|
|
|
|
%build
|
2024-01-06 11:29:46 +01:00
|
|
|
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
2024-01-06 11:29:46 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 11:29:46 +01:00
|
|
|
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
2024-01-06 11:29:46 +01:00
|
|
|
|
2024-01-06 11:29:50 +01:00
|
|
|
#%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
|
2024-01-06 11:29:46 +01:00
|
|
|
|
2024-01-06 11:29:46 +01:00
|
|
|
%files %{?pyappend}
|
2024-01-06 11:29:46 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-06 11:29:46 +01:00
|
|
|
%{_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/*
|
2024-01-06 11:29:46 +01:00
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 11:29:51 +01:00
|
|
|
* Tue Dec 19 2023 Automatic Build System <autodist@mambasoft.it> 7.13.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:29:50 +01:00
|
|
|
* Tue Dec 05 2023 Automatic Build System <autodist@mambasoft.it> 7.12.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:29:50 +01:00
|
|
|
* Sat Nov 11 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 7.11.0-2mamba
|
|
|
|
- obsolete python-nbconvert-py310
|
|
|
|
|
|
|
|
* Mon Nov 06 2023 Automatic Build System <autodist@mambasoft.it> 7.11.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Oct 30 2023 Automatic Build System <autodist@mambasoft.it> 7.10.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Oct 05 2023 Automatic Build System <autodist@mambasoft.it> 7.9.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Oct 05 2023 Automatic Build System <autodist@mambasoft.it> 7.9.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Oct 04 2023 Automatic Build System <autodist@mambasoft.it> 7.9.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:29:50 +01:00
|
|
|
* Mon Sep 11 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 7.8.0-2mamba
|
|
|
|
- obsolete python-nbconvert-py3
|
|
|
|
|
|
|
|
* Sat Sep 09 2023 Automatic Build System <autodist@mambasoft.it> 7.8.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:29:49 +01:00
|
|
|
* Thu Aug 17 2023 Automatic Build System <autodist@mambasoft.it> 7.7.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:29:49 +01:00
|
|
|
* Wed Jul 26 2023 Automatic Build System <autodist@mambasoft.it> 7.7.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Automatic Build System <autodist@mambasoft.it> 7.7.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Jul 18 2023 Automatic Build System <autodist@mambasoft.it> 7.7.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Jul 17 2023 Automatic Build System <autodist@mambasoft.it> 7.7.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Jun 20 2023 Automatic Build System <autodist@mambasoft.it> 7.6.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Jun 14 2023 Automatic Build System <autodist@mambasoft.it> 7.5.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:29:49 +01:00
|
|
|
* Tue May 09 2023 Automatic Build System <autodist@mambasoft.it> 7.4.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:29:48 +01:00
|
|
|
* Tue Apr 11 2023 Automatic Build System <autodist@mambasoft.it> 7.3.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:29:48 +01:00
|
|
|
* Fri Apr 07 2023 Sdk Build System <sdk@mambasoft.it> 7.3.0-2mamba
|
|
|
|
- rebuilt with python 3.10
|
|
|
|
|
2024-01-06 11:29:47 +01:00
|
|
|
* Tue Apr 04 2023 Automatic Build System <autodist@mambasoft.it> 7.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:29:47 +01:00
|
|
|
* Wed Mar 15 2023 Automatic Build System <autodist@mambasoft.it> 7.2.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:29:46 +01:00
|
|
|
* Tue Mar 07 2023 Automatic Build System <autodist@mambasoft.it> 7.2.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:29:46 +01:00
|
|
|
* Fri Aug 12 2022 Automatic Build System <autodist@mambasoft.it> 6.5.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Aug 11 2022 Automatic Build System <autodist@mambasoft.it> 6.5.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:29:46 +01:00
|
|
|
* Wed Aug 10 2022 Automatic Build System <autodist@mambasoft.it> 6.5.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:29:46 +01:00
|
|
|
* Sat Apr 30 2022 Automatic Build System <autodist@mambasoft.it> 6.5.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Mar 12 2022 Automatic Build System <autodist@mambasoft.it> 6.4.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:29:46 +01:00
|
|
|
* Sun Feb 13 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 6.4.2-1mamba
|
|
|
|
- package created using the webbuild interface
|