!2 python-jupyter-packaging add 0.12.3

From: @ajax_hxl 
Reviewed-by: @desert-sailor 
Signed-off-by: @desert-sailor
This commit is contained in:
openeuler-ci-bot 2023-07-31 01:56:11 +00:00 committed by Gitee
commit a73ac1d263
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 46 additions and 0 deletions

Binary file not shown.

46
jupyter_packaging.spec Normal file
View File

@ -0,0 +1,46 @@
%define debug_package %{nil}
%global pypi_name jupyter_packaging
Name: jupyter-packaging
Version: 0.12.3
Release: 1
Summary: Tools to help build and install Jupyter Python packages
License: BSD-3-Clause
URL: https://pypi.org/project/jupyter-packaging/
Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
%description
Tools to help build and install Jupyter Python packages that require a pre-build step that may include JavaScript build steps.
%package -n python3-jupyter-packaging
Summary: Tools to help build and install Jupyter Python packages
BuildRequires: python3-devel python3-setuptools python3-setuptools_scm python3-pip python3-wheel python3-hatchling
%{?python_provide:%python_provide python3-%{name}}
%description -n python3-jupyter-packaging
Tools to help build and install Jupyter Python packages that require a pre-build step that may include JavaScript build steps.
%prep
%autosetup -n %{pypi_name}-%{version} -p1
%build
%pyproject_build
%install
%pyproject_install
%files -n python3-jupyter-packaging
%doc README.md
%license LICENSE
%{python3_sitelib}/jupyter_packaging/*
%{python3_sitelib}/jupyter_packaging-*dist-info/*
%changelog
* Fri Jul 28 2023 xlhans <xlhans@isoftstone.com> - 0.12.3-1
- Package init