automatic version update by autodist [release 6.17.1-1mamba;Thu Nov 10 2022]
This commit is contained in:
parent
526e64e536
commit
bee3022ef5
@ -1,5 +1,6 @@
|
||||
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
||||
Name: python-ipykernel
|
||||
Version: 6.13.0
|
||||
Version: 6.17.1
|
||||
Release: 1mamba
|
||||
Summary: The IPython kernel for Jupyter
|
||||
Group: System/Libraries
|
||||
@ -18,6 +19,7 @@ BuildRequires: python3.7dist(matplotlib-inline)
|
||||
BuildRequires: python3.7dist(nest-asyncio)
|
||||
BuildRequires: python3.7dist(packaging)
|
||||
BuildRequires: python3.7dist(psutil)
|
||||
BuildRequires: python3.7dist(pyzmq)
|
||||
BuildRequires: python3.7dist(tornado)
|
||||
BuildRequires: python3.7dist(traitlets)
|
||||
## AUTOBUILDREQ-END
|
||||
@ -34,28 +36,41 @@ Requires: python-pyzmq%{?pyappend:-%pyappend}
|
||||
|
||||
%prep
|
||||
%setup -q -n ipykernel-%{version}
|
||||
sed -i "s|importlib-metadata<4|importlib-metadata|" setup.py
|
||||
#sed -i "s|importlib-metadata<4|importlib-metadata|" setup.py
|
||||
|
||||
%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}/pdm; do
|
||||
# mv %{buildroot}${f}{,-%{?pyappend}}
|
||||
#done
|
||||
#%endif
|
||||
|
||||
%files %{?pyappend} -f %{name}.filelist
|
||||
%files %{?pyappend}
|
||||
%defattr(-,root,root)
|
||||
%dir %{python_sitearch}/ipykernel-%{version}-py*.egg-info
|
||||
%{python_sitearch}/ipykernel-%{version}-py*.egg-info/*
|
||||
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
||||
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
||||
%dir %{python_sitelib}/%{pkgname}
|
||||
%{python_sitelib}/%{pkgname}/*
|
||||
%{python_sitelib}/ipykernel_launcher.py
|
||||
%{python_sitelib}/__pycache__/ipykernel_launcher.cpython*.pyc
|
||||
%{_datadir}/jupyter/kernels/python3/kernel.json
|
||||
%{_datadir}/jupyter/kernels/python3/logo-*.png
|
||||
%{_datadir}/jupyter/kernels/python3/logo-svg.svg
|
||||
|
||||
%changelog
|
||||
* Thu Nov 10 2022 Automatic Build System <autodist@mambasoft.it> 6.17.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Nov 06 2022 Automatic Build System <autodist@mambasoft.it> 6.17.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Apr 12 2022 Automatic Build System <autodist@mambasoft.it> 6.13.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user