!1 Init package with version 0.8.0

From: @desert-sailor 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2023-11-10 11:08:56 +00:00 committed by Gitee
commit 56993c0fca
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 64 additions and 0 deletions

BIN
jupyter_events-0.8.0.tar.gz Normal file

Binary file not shown.

View File

@ -0,0 +1,64 @@
%global _empty_manifest_terminate_build 0
Name: python-jupyter-events
Version: 0.8.0
Release: 1
Summary: An event system for Jupyter Applications and extensions.
License: BSD-3-Clause
URL: https://github.com/jupyter/jupyter_events
Source0: https://files.pythonhosted.org/packages/bb/1c/4b886f1312ed13d248acbee26066db759473b3c3a24244bdc211914761eb/jupyter_events-0.8.0.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-hatchling
%description
An event system for Jupyter Applications and extensions.
%package -n python3-jupyter-events
Summary: An event system for Jupyter Applications and extensions.
Provides: python-jupyter-events
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-hatchling
%description -n python3-jupyter-events
An event system for Jupyter Applications and extensions.
%package help
Summary: Development documents and examples for jupyter event.
Provides: python3-jupyter-events-doc
%description help
Development documents and examples for jupyter event.
%prep
%autosetup -n jupyter_events-%{version}
%build
%pyproject_build
%install
%pyproject_install
install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
%files -n python3-jupyter-events
%doc README.md
%license LICENSE
%{_bindir}/jupyter-events
%{python3_sitelib}/jupyter_events
%{python3_sitelib}/jupyter_events*.dist-info/
%files help
%{_docdir}/*
%changelog
* Wed Nov 1 2023 Dongxing Wang <dxwangk@isoftstone.com> - 0.8.0-1
- Init package.