!2 UpdatePackage
From: @Wangjunqi123 Reviewed-by: @yangzhao_kl Signed-off-by: @yangzhao_kl
This commit is contained in:
commit
c6e628aa29
23
0001-add-setup.py.patch
Normal file
23
0001-add-setup.py.patch
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
--- c/setup.py 1970-01-01 08:00:00.000000000 +0800
|
||||||
|
+++ a/setup.py 2022-11-15 09:25:30.055103630 +0800
|
||||||
|
@@ -0,0 +1,20 @@
|
||||||
|
+#!/usr/bin/env python
|
||||||
|
+
|
||||||
|
+from setuptools import setup
|
||||||
|
+
|
||||||
|
+if __name__ == "__main__":
|
||||||
|
+ setup(
|
||||||
|
+ name = "jupyter_core",
|
||||||
|
+ version = "5.0.0",
|
||||||
|
+ python_requires = ">=3.8",
|
||||||
|
+ classifiers = [
|
||||||
|
+ "Framework :: Jupyter",
|
||||||
|
+ "Intended Audience :: Developers",
|
||||||
|
+ "Intended Audience :: System Administrators",
|
||||||
|
+ "Intended Audience :: Science/Research",
|
||||||
|
+ "License :: OSI Approved :: BSD License",
|
||||||
|
+ "Programming Language :: Python",
|
||||||
|
+ "Programming Language :: Python :: 3"
|
||||||
|
+ ]
|
||||||
|
+ )
|
||||||
|
+
|
||||||
Binary file not shown.
BIN
jupyter_core-5.0.0.tar.gz
Normal file
BIN
jupyter_core-5.0.0.tar.gz
Normal file
Binary file not shown.
@ -1,11 +1,12 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-jupyter-core
|
Name: python-jupyter-core
|
||||||
Version: 4.9.1
|
Version: 5.0.0
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Jupyter core package. A base package on which Jupyter projects rely.
|
Summary: Jupyter core package. A base package on which Jupyter projects rely.
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://jupyter.org
|
URL: https://jupyter.org
|
||||||
Source0: jupyter_core-4.9.1.tar.gz
|
Source0: https://files.pythonhosted.org/packages/62/0c/c48e8ae6c87548b066a5d968efa1a4376814eb61fec188ccaa4eb321579f/jupyter_core-5.0.0.tar.gz
|
||||||
|
Patch0: 0001-add-setup.py.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
Requires: python3-traitlets
|
Requires: python3-traitlets
|
||||||
@ -13,28 +14,24 @@ Requires: python3-traitlets
|
|||||||
%description
|
%description
|
||||||
Jupyter core package. A base package on which Jupyter projects rely.
|
Jupyter core package. A base package on which Jupyter projects rely.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%package -n python3-jupyter-core
|
%package -n python3-jupyter-core
|
||||||
Summary: Jupyter core package. A base package on which Jupyter projects rely.
|
Summary: Jupyter core package. A base package on which Jupyter projects rely.
|
||||||
Provides: python3-jupyter-core
|
Provides: python-jupyter-core = %{version}-%{release}
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
|
|
||||||
%description -n python3-jupyter-core
|
%description -n python3-jupyter-core
|
||||||
Jupyter core package. A base package on which Jupyter projects rely.
|
Jupyter core package. A base package on which Jupyter projects rely.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%package help
|
%package help
|
||||||
Summary: Development documents and examples for jupyter-core
|
Summary: Development documents and examples for jupyter-core
|
||||||
Provides: python3-jupyter-core-doc
|
Provides: python3-jupyter-core-doc
|
||||||
|
|
||||||
%description help
|
%description help
|
||||||
Jupyter core package. A base package on which Jupyter projects rely.
|
Jupyter core package. A base package on which Jupyter projects rely.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n jupyter_core-4.9.1
|
%autosetup -n jupyter_core-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
@ -74,5 +71,9 @@ mv %{buildroot}/doclist.lst .
|
|||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 10 2022 wangjunqi <wangjunqi@kylinos.cn> - 5.0.0-1
|
||||||
|
- Update package to version 5.0.0
|
||||||
|
|
||||||
* Mon Jan 10 2022 Python_Bot <Python_Bot@openeuler.org> - 4.9.1-1
|
* Mon Jan 10 2022 Python_Bot <Python_Bot@openeuler.org> - 4.9.1-1
|
||||||
- Package Spec generated
|
- Package Spec generated
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user