Init package of python-jupyter-server-2.7.0
This commit is contained in:
parent
23614dc6b0
commit
fc5b5aa73f
25
0001-modify-the-version-limit-for-jupyter-core.patch
Normal file
25
0001-modify-the-version-limit-for-jupyter-core.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
From 2c5bc931c15ce5c68cce4b390eae8c58b1cb3096 Mon Sep 17 00:00:00 2001
|
||||||
|
From: desert-sailor <dxwangk@isoftstone.com>
|
||||||
|
Date: Wed, 13 Sep 2023 16:39:56 +0800
|
||||||
|
Subject: [PATCH] modify the version limit for jupyter_core
|
||||||
|
|
||||||
|
---
|
||||||
|
pyproject.toml | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/pyproject.toml b/pyproject.toml
|
||||||
|
index 139e60e..342afb1 100644
|
||||||
|
--- a/pyproject.toml
|
||||||
|
+++ b/pyproject.toml
|
||||||
|
@@ -31,7 +31,7 @@ dependencies = [
|
||||||
|
"argon2-cffi",
|
||||||
|
"jinja2",
|
||||||
|
"jupyter_client>=7.4.4",
|
||||||
|
- "jupyter_core>=4.12,!=5.0.*",
|
||||||
|
+ "jupyter_core>=5.3.0",
|
||||||
|
"jupyter_server_terminals",
|
||||||
|
"nbconvert>=6.4.4",
|
||||||
|
"nbformat>=5.3.0",
|
||||||
|
--
|
||||||
|
2.33.0
|
||||||
|
|
||||||
BIN
jupyter_server-2.7.0.tar.gz
Normal file
BIN
jupyter_server-2.7.0.tar.gz
Normal file
Binary file not shown.
50
python-jupyter-server.spec
Normal file
50
python-jupyter-server.spec
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
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
|
||||||
Loading…
x
Reference in New Issue
Block a user