automatic version update by autodist [release 5.9.2-1mamba;Fri Aug 04 2023]
This commit is contained in:
parent
d7364b3c8e
commit
15b1d27ecf
@ -1,7 +1,7 @@
|
||||
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
||||
Name: python-nbformat
|
||||
Version: 5.4.0
|
||||
Release: 2mamba
|
||||
Version: 5.9.2
|
||||
Release: 1mamba
|
||||
Summary: The Jupyter Notebook format
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
@ -15,9 +15,9 @@ BuildRequires: libpython3-devel
|
||||
BuildRequires: python3.7dist(fastjsonschema)
|
||||
BuildRequires: python3.7dist(jsonschema)
|
||||
BuildRequires: python3.7dist(jupyter-core)
|
||||
BuildRequires: python3.7dist(setuptools)
|
||||
BuildRequires: python3.7dist(traitlets)
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: python-hatch_nodejs_version-py310
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
@ -30,34 +30,38 @@ BuildRequires: python3.7dist(traitlets)
|
||||
%setup -q -n nbformat-%{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}/pdm; do
|
||||
# mv %{buildroot}${f}{,-%{?pyappend}}
|
||||
#done
|
||||
#%endif
|
||||
|
||||
%if "%{?with_pyver}" != "3"
|
||||
# Rename any conflicting file outside of python site packages tree
|
||||
for f in %{_bindir}/jupyter-trust; do
|
||||
mv %{buildroot}${f}{,-%{?pyappend}}
|
||||
done
|
||||
sed -i "\,%{_bindir},d" %{name}.filelist
|
||||
%endif
|
||||
|
||||
%files %{?pyappend} -f %{name}.filelist
|
||||
%files %{?pyappend}
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/jupyter-trust*
|
||||
%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info
|
||||
%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/*
|
||||
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
||||
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
||||
%dir %{python_sitelib}/%{pkgname}
|
||||
%{python_sitelib}/%{pkgname}/*
|
||||
|
||||
%changelog
|
||||
* Fri Aug 04 2023 Automatic Build System <autodist@mambasoft.it> 5.9.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Apr 07 2023 Sdk Build System <sdk@mambasoft.it> 5.4.0-2mamba
|
||||
- rebuilt with python 3.10
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user