python-nbconvert/python-nbconvert.spec

182 lines
6.4 KiB
RPMSpec
Raw Normal View History

%define pkgname %(echo %name | cut -d- -f2- | tr - _)
Name: python-nbconvert
Version: 7.16.2
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: (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 Mar 05 2024 Automatic Build System <autodist@openmamba.org> 7.16.2-1mamba
- automatic version update by autodist
* Tue Feb 20 2024 Automatic Build System <autodist@openmamba.org> 7.16.1-1mamba
- automatic version update by autodist
* Thu Feb 08 2024 Automatic Build System <autodist@openmamba.org> 7.16.0-1mamba
- automatic version update by autodist
* Tue Feb 06 2024 Automatic Build System <autodist@openmamba.org> 7.15.0-1mamba
- automatic version update by autodist
* Tue Jan 16 2024 Automatic Build System <autodist@openmamba.org> 7.14.2-1mamba
- automatic version update by autodist
* Thu Jan 11 2024 Automatic Build System <autodist@openmamba.org> 7.14.1-1mamba
- automatic version update by autodist
* Tue Jan 02 2024 Automatic Build System <autodist@mambasoft.it> 7.14.0-1mamba
- automatic version update by autodist
* Fri Dec 22 2023 Automatic Build System <autodist@mambasoft.it> 7.13.1-1mamba
- automatic version update by autodist
* Tue Dec 19 2023 Automatic Build System <autodist@mambasoft.it> 7.13.0-1mamba
- automatic version update by autodist
* Tue Dec 05 2023 Automatic Build System <autodist@mambasoft.it> 7.12.0-1mamba
- automatic version update by autodist
* 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
* 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
* Thu Aug 17 2023 Automatic Build System <autodist@mambasoft.it> 7.7.4-1mamba
- automatic version update by autodist
* 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
* Tue May 09 2023 Automatic Build System <autodist@mambasoft.it> 7.4.0-1mamba
- automatic version update by autodist
* Tue Apr 11 2023 Automatic Build System <autodist@mambasoft.it> 7.3.1-1mamba
- automatic version update by autodist
* Fri Apr 07 2023 Sdk Build System <sdk@mambasoft.it> 7.3.0-2mamba
- rebuilt with python 3.10
* Tue Apr 04 2023 Automatic Build System <autodist@mambasoft.it> 7.3.0-1mamba
- automatic version update by autodist
* Wed Mar 15 2023 Automatic Build System <autodist@mambasoft.it> 7.2.10-1mamba
- automatic version update by autodist
* Tue Mar 07 2023 Automatic Build System <autodist@mambasoft.it> 7.2.9-1mamba
- automatic version update by autodist
* 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
* Wed Aug 10 2022 Automatic Build System <autodist@mambasoft.it> 6.5.1-1mamba
- automatic version update by autodist
* 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
* Sun Feb 13 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 6.4.2-1mamba
- package created using the webbuild interface