From b9b6b0d3458ac97676d516359be0fec13bbf2cd5 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 11:21:18 +0100 Subject: [PATCH] automatic version update by autodist [release 7.3.5-1mamba;Sun Oct 09 2022] --- python-jupyter_client.spec | 35 ++++++++++++++++++++++------------- 1 file changed, 22 insertions(+), 13 deletions(-) diff --git a/python-jupyter_client.spec b/python-jupyter_client.spec index 9b9f3ad..ab82a8e 100644 --- a/python-jupyter_client.spec +++ b/python-jupyter_client.spec @@ -1,5 +1,6 @@ +%define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-jupyter_client -Version: 7.3.1 +Version: 7.3.5 Release: 1mamba Summary: The reference implementation of the Jupyter protocol Group: System/Libraries @@ -16,10 +17,10 @@ BuildRequires: python3.7dist(jupyter-core) BuildRequires: python3.7dist(nest-asyncio) BuildRequires: python3.7dist(python-dateutil) BuildRequires: python3.7dist(pyzmq) -BuildRequires: python3.7dist(setuptools) BuildRequires: python3.7dist(tornado) BuildRequires: python3.7dist(traitlets) ## AUTOBUILDREQ-END +BuildRequires: python3.7dist(hatchling) %description %{summary}. @@ -34,25 +35,33 @@ Requires: python-jupyter_core%{?pyappend:-%pyappend} %setup -q -n jupyter_client-%{version} %build -CFLAGS="%{optflags}" %{__python} setup.py build +CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%{__python} setup.py install \ - -O1 --skip-build \ - --root="%{buildroot}" \ - --install-headers=%{python_inc} \ - --install-lib=%{python_sitearch} \ - --record=%{name}.filelist +%{__python} -m installer --destdir=%{buildroot} dist/*.whl -sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist +%if "%{?with_pyver}" != "3" +# Rename any conflicting file outside of python site packages tree +for f in %{_bindir}/jupyter-{kernel,kernelspec,run}; do + mv %{buildroot}${f}{,-%{?pyappend}} +done +%endif -%files %{?pyappend} -f %{name}.filelist +%files %{?pyappend} %defattr(-,root,root) -%dir %{python_sitearch}/jupyter_client-%{version}-py*.egg-info -%{python_sitearch}/jupyter_client-%{version}-py*.egg-info/* +%{_bindir}/jupyter-kernel +%{_bindir}/jupyter-kernelspec +%{_bindir}/jupyter-run +%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info +%{python_sitelib}/%{pkgname}-%{version}.dist-info/* +%dir %{python_sitelib}/%{pkgname} +%{python_sitelib}/%{pkgname}/* %changelog +* Sun Oct 09 2022 Automatic Build System 7.3.5-1mamba +- automatic version update by autodist + * Mon May 09 2022 Automatic Build System 7.3.1-1mamba - automatic version update by autodist