!1 Init the package to version 6.25.0
From: @zoujiancang Reviewed-by: @yangzhao_kl Signed-off-by: @yangzhao_kl
This commit is contained in:
commit
62f4b38e62
25
0001-bugfix-modify-version-for-pkg.patch
Normal file
25
0001-bugfix-modify-version-for-pkg.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
From d72f3de4e503cbd4e4135c202d2a7c01131c57cd Mon Sep 17 00:00:00 2001
|
||||||
|
From: zoujiancang <jczou@isoftstone.com>
|
||||||
|
Date: Tue, 19 Sep 2023 14:11:11 +0800
|
||||||
|
Subject: [PATCH] bugfix modify version for pkg
|
||||||
|
|
||||||
|
---
|
||||||
|
pyproject.toml | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/pyproject.toml b/pyproject.toml
|
||||||
|
index 69c93d8..28def33 100644
|
||||||
|
--- a/pyproject.toml
|
||||||
|
+++ b/pyproject.toml
|
||||||
|
@@ -30,7 +30,7 @@ dependencies = [
|
||||||
|
"comm>=0.1.1",
|
||||||
|
"traitlets>=5.4.0",
|
||||||
|
"jupyter_client>=6.1.12",
|
||||||
|
- "jupyter_core>=4.12,!=5.0.*",
|
||||||
|
+ "jupyter_core>=5.1",
|
||||||
|
# For tk event loop support only.
|
||||||
|
"nest_asyncio",
|
||||||
|
"tornado>=6.1",
|
||||||
|
--
|
||||||
|
2.27.0
|
||||||
|
|
||||||
BIN
ipykernel-6.25.0.tar.gz
Normal file
BIN
ipykernel-6.25.0.tar.gz
Normal file
Binary file not shown.
55
python-ipykernel.spec
Normal file
55
python-ipykernel.spec
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
%global _empty_manifest_terminate_build 0
|
||||||
|
%global pypi_name ipykernel
|
||||||
|
|
||||||
|
Name: python-%{pypi_name}
|
||||||
|
Version: 6.25.0
|
||||||
|
Release: 1
|
||||||
|
Summary: This package provides the IPython kernel for Jupyter.
|
||||||
|
|
||||||
|
|
||||||
|
License: BSD-3-Clause
|
||||||
|
URL: https://ipython.org/
|
||||||
|
Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
|
||||||
|
Patch1: 0001-bugfix-modify-version-for-pkg.patch
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: python3-setuptools
|
||||||
|
BuildRequires: python3-pip
|
||||||
|
BuildRequires: python3-wheel
|
||||||
|
BuildRequires: python3-hatchling
|
||||||
|
BuildRequires: python3-virtualenv
|
||||||
|
BuildRequires: python3-poetry-core
|
||||||
|
BuildRequires: python3-jupyter-client
|
||||||
|
|
||||||
|
%description
|
||||||
|
This package provides the IPython kernel for Jupyter.
|
||||||
|
|
||||||
|
%package -n python3-%{pypi_name}
|
||||||
|
Summary: %{summary}
|
||||||
|
|
||||||
|
%description -n python3-%{pypi_name}
|
||||||
|
This package provides the IPython kernel for Jupyter.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1 -n %{pypi_name}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%pyproject_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%pyproject_install
|
||||||
|
|
||||||
|
%files -n python3-%{pypi_name}
|
||||||
|
%doc README.md
|
||||||
|
%license LICENSE
|
||||||
|
%{python3_sitelib}/ipykernel*.dist-info/
|
||||||
|
%{python3_sitelib}/__pycache__/
|
||||||
|
%{python3_sitelib}/ipykernel
|
||||||
|
%{python3_sitelib}/ipykernel_launcher.py
|
||||||
|
%{_datadir}/jupyter
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Jul 28 2023 zoujiancang<jczou@isoftstone.com> - 6.25.0-1
|
||||||
|
- Initial package
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user