obsolete python-nbconvert-py3 [release 7.8.0-2mamba;Mon Sep 11 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 11:29:50 +01:00
parent 7d68cb6f66
commit 223c97d0f4

View File

@ -1,7 +1,7 @@
%define pkgname %(echo %name | cut -d- -f2- | tr - _) %define pkgname %(echo %name | cut -d- -f2- | tr - _)
Name: python-nbconvert Name: python-nbconvert
Version: 7.7.4 Version: 7.8.0
Release: 1mamba Release: 2mamba
Summary: Converting Jupyter Notebooks Summary: Converting Jupyter Notebooks
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -11,29 +11,30 @@ URL: https://jupyter.org/
Source: https://pypi.debian.net/nbconvert/nbconvert-%{version}.tar.gz Source: https://pypi.debian.net/nbconvert/nbconvert-%{version}.tar.gz
License: BSD License: BSD
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: (python3.7dist(bleach) < 5 or python3.7dist(bleach) > 5) BuildRequires: (python3.10dist(bleach) < 5 or python3.10dist(bleach) > 5)
BuildRequires: libpython3-devel BuildRequires: libpython310-devel
BuildRequires: python3.7dist(beautifulsoup4) BuildRequires: python3.10dist(beautifulsoup4)
BuildRequires: python3.7dist(defusedxml) BuildRequires: python3.10dist(defusedxml)
BuildRequires: python3.7dist(importlib-metadata) BuildRequires: python3.10dist(jinja2)
BuildRequires: python3.7dist(jinja2) BuildRequires: python3.10dist(jupyter-core)
BuildRequires: python3.7dist(jupyter-core) BuildRequires: python3.10dist(jupyterlab-pygments)
BuildRequires: python3.7dist(jupyterlab-pygments) BuildRequires: python3.10dist(markupsafe)
BuildRequires: python3.7dist(markupsafe) BuildRequires: python3.10dist(mistune)
BuildRequires: python3.7dist(mistune) BuildRequires: python3.10dist(nbclient)
BuildRequires: python3.7dist(nbclient) BuildRequires: python3.10dist(nbformat)
BuildRequires: python3.7dist(nbformat) BuildRequires: python3.10dist(packaging)
BuildRequires: python3.7dist(packaging) BuildRequires: python3.10dist(pandocfilters)
BuildRequires: python3.7dist(pandocfilters) BuildRequires: python3.10dist(pygments)
BuildRequires: python3.7dist(pygments) BuildRequires: python3.10dist(tinycss2)
BuildRequires: python3.7dist(tinycss2) BuildRequires: python3.10dist(traitlets)
BuildRequires: python3.7dist(traitlets)
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
%description %description
%{summary}. %{summary}.
%if 0%{?with_pyver} %if 0%{?with_pyver}
%define py_requires_append \
Obsoletes: python-nbconvert-py3 < 7.8.0
%pyver_package %pyver_package
%endif %endif
@ -47,12 +48,12 @@ CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} -m installer --destdir=%{buildroot} dist/*.whl %{__python} -m installer --destdir=%{buildroot} dist/*.whl
%if "%{?with_pyver}" != "3" #%if "%{?with_pyver}" != "3"
# Rename any conflicting file outside of python site packages tree ## Rename any conflicting file outside of python site packages tree
for f in %{_bindir}/jupyter-{dejavu,nbconvert}; do #for f in %{_bindir}/jupyter-{dejavu,nbconvert}; do
mv %{buildroot}${f}{,-%{?pyappend}} # mv %{buildroot}${f}{,-%{?pyappend}}
done #done
%endif #%endif
%files %{?pyappend} %files %{?pyappend}
%defattr(-,root,root) %defattr(-,root,root)
@ -68,6 +69,12 @@ done
%doc LICENSE %doc LICENSE
%changelog %changelog
* 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 * Thu Aug 17 2023 Automatic Build System <autodist@mambasoft.it> 7.7.4-1mamba
- automatic version update by autodist - automatic version update by autodist