automatic version update by autodist [release 5.2.0-1mamba;Mon Mar 06 2023]
This commit is contained in:
parent
cf18aae99f
commit
2dafa4ba60
@ -1,19 +1,18 @@
|
|||||||
%global srcname jupyter_core
|
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
||||||
|
Name: python-jupyter_core
|
||||||
Name: python-%{srcname}
|
Version: 5.2.0
|
||||||
Version: 4.10.0
|
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: Core common functionality of Jupyter projects
|
Summary: Core common functionality of Jupyter projects
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: https://github.com/jupyter/jupyter_core
|
URL: https://github.com/jupyter/jupyter_core
|
||||||
Source: https://pypi.debian.net/jupyter-core/jupyter_core-%{version}.tar.gz
|
Source: https://pypi.debian.net/jupyter-core/jupyter_core-%{version}.tar.gz
|
||||||
License: BSD
|
License: BSD
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: libpython3-devel
|
BuildRequires: libpython3-devel
|
||||||
BuildRequires: python3.7dist(setuptools)
|
BuildRequires: python3.7dist(platformdirs)
|
||||||
BuildRequires: python3.7dist(traitlets)
|
BuildRequires: python3.7dist(traitlets)
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
|
|
||||||
@ -27,28 +26,36 @@ It doesn't do much on its own.
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{srcname}-%{version}
|
%setup -q -n %{pkgname}-%{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=%{_includedir}/python \
|
|
||||||
--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}/jupyter{,-migrate,-troubleshoot}; do
|
||||||
|
mv %{buildroot}${f}{,-%{?pyappend}}
|
||||||
|
done
|
||||||
|
%endif
|
||||||
|
|
||||||
%files %{?pyappend} -f %{name}.filelist
|
%files %{?pyappend}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{python_sitearch}/jupyter_core-%{version}-py*.egg-info
|
%{_bindir}/jupyter*
|
||||||
%{python_sitearch}/jupyter_core-%{version}-py*.egg-info/*
|
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
||||||
|
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
||||||
|
%dir %{python_sitelib}/%{pkgname}
|
||||||
|
%{python_sitelib}/%{pkgname}/*
|
||||||
|
%{python_sitelib}/jupyter.py
|
||||||
|
%{python_sitelib}/__pycache__/jupyter.*.pyc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Mar 06 2023 Automatic Build System <autodist@mambasoft.it> 5.2.0-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Tue Apr 19 2022 Automatic Build System <autodist@mambasoft.it> 4.10.0-1mamba
|
* Tue Apr 19 2022 Automatic Build System <autodist@mambasoft.it> 4.10.0-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user