python-jupyter-server/python-jupyter-server.spec
2023-09-13 16:42:08 +08:00

51 lines
1.4 KiB
RPMSpec

Name: python-jupyter-server
Version: 2.7.0
Release: 1
Summary: The backend for Jupyter web applications
License: BSD-3-Clause
URL: https://pypi.org/project/jupyter-server/#files
Source0: %{url}/archive/%{version}/jupyter_server-%{version}.tar.gz
Patch1: 0001-modify-the-version-limit-for-jupyter-core.patch
BuildArch: noarch
%global _description %{expand:
The Jupyter Server provides the backend (i.e. the core services,
APIs, and REST endpoints) for Jupyter web applications like
Jupyter notebook, JupyterLab, and Voila.}
%description %_description
%package -n python3-jupyter-server
Summary: %{summary}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-hatchling
BuildRequires: python3-hatch-jupyter-builder
%description -n python3-jupyter-server %_description
%prep
%autosetup -p1 -n jupyter_server-%{version}
%build
%pyproject_build
%install
%pyproject_install
%files -n python3-jupyter-server
%license LICENSE
%doc README.md
%{_bindir}/jupyter-server
%{python3_sitelib}/jupyter_server-*.dist-info/
%{python3_sitelib}/jupyter_server/
%changelog
* Mon Jul 31 2023 mengzhaoa <mengzhaoa@isoftstone.com> - 2.7.0-1
- Init package python3-jupyter-server of version 2.7.0