automatic version update by autodist [release 0.7.2-1mamba;Tue Mar 07 2023]
This commit is contained in:
parent
88e93d6ce2
commit
f182d0e45b
@ -1,6 +1,6 @@
|
||||
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
||||
Name: python-nbclient
|
||||
Version: 0.7.0
|
||||
Version: 0.7.2
|
||||
Release: 1mamba
|
||||
Summary: A client library for executing notebooks
|
||||
Group: System/Libraries
|
||||
@ -11,11 +11,11 @@ URL: https://jupyter.org/
|
||||
Source: https://pypi.debian.net/nbclient/nbclient-%{version}.tar.gz
|
||||
License: BSD
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: (python3.7dist(jupyter-core) < 5 or python3.7dist(jupyter-core) > 5.1)
|
||||
BuildRequires: libpython3-devel
|
||||
BuildRequires: python3.7dist(jupyter-client)
|
||||
BuildRequires: python3.7dist(jupyter-core)
|
||||
BuildRequires: python3.7dist(nbformat)
|
||||
BuildRequires: python3.7dist(nest-asyncio)
|
||||
BuildRequires: python3.7dist(setuptools)
|
||||
BuildRequires: python3.7dist(traitlets)
|
||||
## AUTOBUILDREQ-END
|
||||
|
||||
@ -30,27 +30,32 @@ BuildRequires: python3.7dist(traitlets)
|
||||
%setup -q -n nbclient-%{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 "s| |\*|g" %{name}.filelist
|
||||
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-execute; do
|
||||
mv %{buildroot}${f}{,-%{?pyappend}}
|
||||
done
|
||||
%endif
|
||||
|
||||
%files %{?pyappend} -f %{name}.filelist
|
||||
%files %{?pyappend}
|
||||
%defattr(-,root,root)
|
||||
%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info
|
||||
%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/*
|
||||
%{_bindir}/jupyter-execute*
|
||||
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
||||
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
||||
%dir %{python_sitelib}/%{pkgname}
|
||||
%{python_sitelib}/%{pkgname}/*
|
||||
%doc LICENSE
|
||||
|
||||
%changelog
|
||||
* Tue Mar 07 2023 Automatic Build System <autodist@mambasoft.it> 0.7.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Oct 07 2022 Automatic Build System <autodist@mambasoft.it> 0.7.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user