60 lines
1.8 KiB
RPMSpec
60 lines
1.8 KiB
RPMSpec
|
|
%global pypi_name jupyterlab
|
||
|
|
|
||
|
|
Name: python-%{pypi_name}
|
||
|
|
Version: 4.0.6
|
||
|
|
Release: 1
|
||
|
|
Summary: JupyterLab computational environment
|
||
|
|
License: MIT
|
||
|
|
URL: https://github.com/jupyterlab/jupyterlab
|
||
|
|
Source0: https://files.pythonhosted.org/packages/53/e9/6aba4b603ee9c78d1c81bad4112de152bbb078cd77e15377f9f7d8184901/jupyterlab-4.0.6.tar.gz
|
||
|
|
|
||
|
|
BuildArch: noarch
|
||
|
|
|
||
|
|
BuildRequires: python3-devel
|
||
|
|
BuildRequires: python3-setuptools
|
||
|
|
BuildRequires: python3-pip
|
||
|
|
BuildRequires: python3-wheel
|
||
|
|
BuildRequires: python3-hatchling
|
||
|
|
BuildRequires: python3-hatch-jupyter-builder
|
||
|
|
#install requirements
|
||
|
|
BuildRequires: python3-ipykernel
|
||
|
|
BuildRequires: python3-jupyter-lsp
|
||
|
|
BuildRequires: python3-jupyter-server
|
||
|
|
BuildRequires: python3-jupyterlab-server
|
||
|
|
BuildRequires: python3-notebook-shim
|
||
|
|
|
||
|
|
%description
|
||
|
|
JupyterLab is the next-generation user interface for Project Jupyter offering all the familiar building blocks of the classic Jupyter Notebook (notebook, terminal, text editor, file browser, rich outputs, etc.) in a flexible and powerful user interface.
|
||
|
|
|
||
|
|
%package -n python3-%{pypi_name}
|
||
|
|
Summary: ${summary}
|
||
|
|
%{?python_provide:%python_provide python3-%{pypi_name}}
|
||
|
|
|
||
|
|
%description -n python3-%{pypi_name}
|
||
|
|
JupyterLab is the next-generation user interface for Project Jupyter offering all the familiar building blocks of the classic Jupyter Notebook (notebook, terminal, text editor, file browser, rich outputs, etc.) in a flexible and powerful user interface.
|
||
|
|
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%autosetup -n %{pypi_name}-%{version}
|
||
|
|
|
||
|
|
%build
|
||
|
|
%pyproject_build
|
||
|
|
|
||
|
|
%install
|
||
|
|
%pyproject_install
|
||
|
|
|
||
|
|
|
||
|
|
%files -n python3-%{pypi_name}
|
||
|
|
%doc LICENSE README.md
|
||
|
|
%{python3_sitelib}/*
|
||
|
|
%{_bindir}/jlpm
|
||
|
|
%{_bindir}/jupyter*
|
||
|
|
%{_usr}/share/*
|
||
|
|
%{_usr}/etc/jupyter
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
%changelog
|
||
|
|
* Tue Sep 19 2023 luluoc <luluoc@isoftstone.com> - 4.0.6-1
|
||
|
|
- Initial package.
|