automatic version update by autodist [release 7.3.5-1mamba;Sun Oct 09 2022]
This commit is contained in:
parent
e4a7233fcb
commit
b9b6b0d345
@ -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 <autodist@mambasoft.it> 7.3.5-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Mon May 09 2022 Automatic Build System <autodist@mambasoft.it> 7.3.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user