From 15b1d27ecfdc7b957211a510570e8407ac4693f3 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 11:30:03 +0100 Subject: [PATCH] automatic version update by autodist [release 5.9.2-1mamba;Fri Aug 04 2023] --- python-nbformat.spec | 34 +++++++++++++++++++--------------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/python-nbformat.spec b/python-nbformat.spec index 5fbf6ee..13074a7 100644 --- a/python-nbformat.spec +++ b/python-nbformat.spec @@ -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 5.9.2-1mamba +- automatic version update by autodist + * Fri Apr 07 2023 Sdk Build System 5.4.0-2mamba - rebuilt with python 3.10