2024-01-06 11:30:03 +01:00
|
|
|
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
|
|
|
Name: python-nbformat
|
2024-03-16 08:42:32 +01:00
|
|
|
Version: 5.10.3
|
2024-03-15 20:40:22 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 11:30:03 +01:00
|
|
|
Summary: The Jupyter Notebook format
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 11:30:03 +01:00
|
|
|
URL: https://jupyter.org/
|
2024-01-06 11:30:03 +01:00
|
|
|
Source: https://pypi.debian.net/nbformat/nbformat-%{version}.tar.gz
|
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-06 11:30:04 +01:00
|
|
|
BuildRequires: libpython311-devel
|
|
|
|
BuildRequires: python3.11dist(fastjsonschema)
|
|
|
|
BuildRequires: python3.11dist(jsonschema)
|
|
|
|
BuildRequires: python3.11dist(jupyter-core)
|
|
|
|
BuildRequires: python3.11dist(traitlets)
|
2024-01-06 11:30:03 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 11:30:04 +01:00
|
|
|
BuildRequires: python3-devel >= 3.11.5-3mamba
|
|
|
|
BuildRequires: python-hatch_nodejs_version-py3
|
2024-01-06 11:30:03 +01:00
|
|
|
BuildRequires: python-hatch_nodejs_version-py310
|
2024-01-06 11:30:03 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%if 0%{?with_pyver}
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n nbformat-%{version}
|
|
|
|
|
|
|
|
%build
|
2024-01-06 11:30:03 +01:00
|
|
|
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
2024-01-06 11:30:03 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 11:30:03 +01:00
|
|
|
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
2024-01-06 11:30:03 +01:00
|
|
|
|
2024-01-06 11:30:03 +01:00
|
|
|
#%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
|
2024-01-06 11:30:03 +01:00
|
|
|
|
2024-01-06 11:30:03 +01:00
|
|
|
%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
|
|
|
|
%endif
|
|
|
|
|
2024-01-06 11:30:03 +01:00
|
|
|
%files %{?pyappend}
|
2024-01-06 11:30:03 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-06 11:30:03 +01:00
|
|
|
%{_bindir}/jupyter-trust*
|
2024-01-06 11:30:03 +01:00
|
|
|
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
|
|
|
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
|
|
|
%dir %{python_sitelib}/%{pkgname}
|
|
|
|
%{python_sitelib}/%{pkgname}/*
|
2024-01-06 11:30:03 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-03-16 08:42:32 +01:00
|
|
|
* Sat Mar 16 2024 Automatic Build System <autodist@openmamba.org> 5.10.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-03-15 20:40:22 +01:00
|
|
|
* Fri Mar 15 2024 Automatic Build System <autodist@openmamba.org> 5.10.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:30:04 +01:00
|
|
|
* Fri Sep 29 2023 Automatic Build System <autodist@mambasoft.it> 5.9.2-2mamba
|
|
|
|
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
|
|
|
|
|
2024-01-06 11:30:03 +01:00
|
|
|
* Fri Aug 04 2023 Automatic Build System <autodist@mambasoft.it> 5.9.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:30:03 +01:00
|
|
|
* Fri Apr 07 2023 Sdk Build System <sdk@mambasoft.it> 5.4.0-2mamba
|
|
|
|
- rebuilt with python 3.10
|
|
|
|
|
2024-01-06 11:30:03 +01:00
|
|
|
* Thu May 05 2022 Automatic Build System <autodist@mambasoft.it> 5.4.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:30:03 +01:00
|
|
|
* Tue Apr 05 2022 Automatic Build System <autodist@mambasoft.it> 5.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:30:03 +01:00
|
|
|
* Fri Mar 11 2022 Automatic Build System <autodist@mambasoft.it> 5.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:30:03 +01:00
|
|
|
* Sun Feb 13 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.1.3-1mamba
|
|
|
|
- package created using the webbuild interface
|