2024-01-06 11:29:46 +01:00
|
|
|
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
|
|
|
Name: python-nbconvert
|
2024-01-06 11:29:47 +01:00
|
|
|
Version: 7.2.10
|
2024-01-06 11:29:46 +01:00
|
|
|
Release: 1mamba
|
|
|
|
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
|
|
|
|
BuildRequires: libpython3-devel
|
2024-01-06 11:29:46 +01:00
|
|
|
BuildRequires: python3.7dist(beautifulsoup4)
|
2024-01-06 11:29:46 +01:00
|
|
|
BuildRequires: python3.7dist(bleach)
|
|
|
|
BuildRequires: python3.7dist(defusedxml)
|
2024-01-06 11:29:46 +01:00
|
|
|
BuildRequires: python3.7dist(importlib-metadata)
|
2024-01-06 11:29:46 +01:00
|
|
|
BuildRequires: python3.7dist(jinja2)
|
|
|
|
BuildRequires: python3.7dist(jupyter-core)
|
|
|
|
BuildRequires: python3.7dist(jupyterlab-pygments)
|
2024-01-06 11:29:46 +01:00
|
|
|
BuildRequires: python3.7dist(markupsafe)
|
2024-01-06 11:29:46 +01:00
|
|
|
BuildRequires: python3.7dist(mistune)
|
|
|
|
BuildRequires: python3.7dist(nbclient)
|
|
|
|
BuildRequires: python3.7dist(nbformat)
|
2024-01-06 11:29:46 +01:00
|
|
|
BuildRequires: python3.7dist(packaging)
|
2024-01-06 11:29:46 +01:00
|
|
|
BuildRequires: python3.7dist(pandocfilters)
|
|
|
|
BuildRequires: python3.7dist(pygments)
|
2024-01-06 11:29:46 +01:00
|
|
|
BuildRequires: python3.7dist(tinycss2)
|
2024-01-06 11:29:46 +01:00
|
|
|
BuildRequires: python3.7dist(traitlets)
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%if 0%{?with_pyver}
|
|
|
|
%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:46 +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: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
|