python-jupyter_client/python-jupyter_client.spec

118 lines
3.9 KiB
RPMSpec

%define pkgname %(echo %name | cut -d- -f2- | tr - _)
Name: python-jupyter_client
Version: 7.4.3
Release: 1mamba
Summary: The reference implementation of the Jupyter protocol
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://pypi.org/project/jupyter-client/
Source: https://pypi.debian.net/jupyter-client/jupyter_client-%{version}.tar.gz
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython3-devel
BuildRequires: python3.7dist(entrypoints)
BuildRequires: python3.7dist(jupyter-core)
BuildRequires: python3.7dist(nest-asyncio)
BuildRequires: python3.7dist(python-dateutil)
BuildRequires: python3.7dist(pyzmq)
BuildRequires: python3.7dist(tornado)
BuildRequires: python3.7dist(traitlets)
## AUTOBUILDREQ-END
BuildRequires: python3.7dist(hatchling)
%description
%{summary}.
%if 0%{?with_pyver}
%define py_requires_append \
Requires: python-jupyter_core%{?pyappend:-%pyappend}
%pyver_package
%endif
%prep
%setup -q -n jupyter_client-%{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-{kernel,kernelspec,run}; do
mv %{buildroot}${f}{,-%{?pyappend}}
done
%endif
%files %{?pyappend}
%defattr(-,root,root)
%{_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
* Thu Oct 20 2022 Automatic Build System <autodist@mambasoft.it> 7.4.3-1mamba
- automatic version update by autodist
* Thu Oct 13 2022 Automatic Build System <autodist@mambasoft.it> 7.4.2-1mamba
- automatic version update by autodist
* Wed Oct 12 2022 Automatic Build System <autodist@mambasoft.it> 7.4.1-1mamba
- automatic version update by autodist
* 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
* Tue Apr 26 2022 Automatic Build System <autodist@mambasoft.it> 7.3.0-1mamba
- automatic version update by autodist
* Fri Apr 08 2022 Automatic Build System <autodist@mambasoft.it> 7.2.2-1mamba
- automatic version update by autodist
* Thu Mar 31 2022 Automatic Build System <autodist@mambasoft.it> 7.2.1-1mamba
- automatic version update by autodist
* Tue Mar 29 2022 Automatic Build System <autodist@mambasoft.it> 7.2.0-1mamba
- automatic version update by autodist
* Sun Jan 23 2022 Automatic Build System <autodist@mambasoft.it> 7.1.2-1mamba
- automatic version update by autodist
* Sat Jan 15 2022 Automatic Build System <autodist@mambasoft.it> 7.1.1-1mamba
- automatic version update by autodist
* Wed Nov 24 2021 Automatic Build System <autodist@mambasoft.it> 7.1.0-1mamba
- automatic version update by autodist
* Thu Oct 21 2021 Automatic Build System <autodist@mambasoft.it> 7.0.6-1mamba
- automatic version update by autodist
* Sat Aug 21 2021 Automatic Build System <autodist@mambasoft.it> 7.0.1-1mamba
- automatic version update by autodist
* Mon Apr 12 2021 Automatic Build System <autodist@mambasoft.it> 6.2.0-1mamba
- automatic version update by autodist
* Wed Apr 07 2021 Automatic Build System <autodist@mambasoft.it> 6.1.13-1mamba
- automatic version update by autodist
* Sat Apr 03 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 6.1.12-2mamba
- rebuilt with distdeps
* Sun Mar 14 2021 Automatic Build System <autodist@mambasoft.it> 6.1.12-1mamba
- automatic version update by autodist
* Wed Jan 20 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 6.1.11-1mamba
- package created using the webbuild interface