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 - _)
|
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
||||||
Name: python-nbformat
|
Name: python-nbformat
|
||||||
Version: 5.4.0
|
Version: 5.9.2
|
||||||
Release: 2mamba
|
Release: 1mamba
|
||||||
Summary: The Jupyter Notebook format
|
Summary: The Jupyter Notebook format
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -15,9 +15,9 @@ BuildRequires: libpython3-devel
|
|||||||
BuildRequires: python3.7dist(fastjsonschema)
|
BuildRequires: python3.7dist(fastjsonschema)
|
||||||
BuildRequires: python3.7dist(jsonschema)
|
BuildRequires: python3.7dist(jsonschema)
|
||||||
BuildRequires: python3.7dist(jupyter-core)
|
BuildRequires: python3.7dist(jupyter-core)
|
||||||
BuildRequires: python3.7dist(setuptools)
|
|
||||||
BuildRequires: python3.7dist(traitlets)
|
BuildRequires: python3.7dist(traitlets)
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRequires: python-hatch_nodejs_version-py310
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{summary}.
|
%{summary}.
|
||||||
@ -30,34 +30,38 @@ BuildRequires: python3.7dist(traitlets)
|
|||||||
%setup -q -n nbformat-%{version}
|
%setup -q -n nbformat-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" %{__python} setup.py build
|
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%{__python} setup.py install \
|
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
||||||
-O1 --skip-build \
|
|
||||||
--root="%{buildroot}" \
|
|
||||||
--install-headers=%{python_inc} \
|
|
||||||
--install-lib=%{python_sitearch} \
|
|
||||||
--record=%{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}/pdm; do
|
||||||
|
# mv %{buildroot}${f}{,-%{?pyappend}}
|
||||||
|
#done
|
||||||
|
#%endif
|
||||||
|
|
||||||
%if "%{?with_pyver}" != "3"
|
%if "%{?with_pyver}" != "3"
|
||||||
# Rename any conflicting file outside of python site packages tree
|
# Rename any conflicting file outside of python site packages tree
|
||||||
for f in %{_bindir}/jupyter-trust; do
|
for f in %{_bindir}/jupyter-trust; do
|
||||||
mv %{buildroot}${f}{,-%{?pyappend}}
|
mv %{buildroot}${f}{,-%{?pyappend}}
|
||||||
done
|
done
|
||||||
sed -i "\,%{_bindir},d" %{name}.filelist
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files %{?pyappend} -f %{name}.filelist
|
%files %{?pyappend}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/jupyter-trust*
|
%{_bindir}/jupyter-trust*
|
||||||
%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info
|
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
||||||
%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/*
|
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
||||||
|
%dir %{python_sitelib}/%{pkgname}
|
||||||
|
%{python_sitelib}/%{pkgname}/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Apr 07 2023 Sdk Build System <sdk@mambasoft.it> 5.4.0-2mamba
|
||||||
- rebuilt with python 3.10
|
- rebuilt with python 3.10
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user