!2 Init package python-plotly of version 5.15.0

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

BIN
plotly-5.15.0.tar.gz Normal file

Binary file not shown.

52
python-plotly.spec Normal file
View File

@ -0,0 +1,52 @@
Name: python-plotly
Version: 5.15.0
Release: 1
Summary: An open-source, interactive data visualization library
License: MIT
URL: https://codeload.github.com/shopkeep/plotly
Source0: https://codeload.github.com/shopkeep/plotly/archive/%{version}.tar.gz#/plotly-%{version}.tar.gz
BuildArch: noarch
%description
plotly.py is an interactive, open-source, and browser-based graphing library for Python.
%package -n python3-plotly
Summary: %{summary}
Provides: python-plotly
# Base build requires
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm
BuildRequires: python3-pip
BuildRequires: python3-wheel
Requires: python-jupyter-filesystem
%description -n python3-plotly
plotly.py is an interactive, open-source, and browser-based graphing library for Python.
%prep
%autosetup -n plotly-%{version}
%build
%pyproject_build
%install
%pyproject_install
%files -n python3-plotly
%license LICENSE.txt
%doc README.md
%{python3_sitelib}/jupyterlab_plotly/
%{python3_sitelib}/_plotly_*/
%{python3_sitelib}/plotly*/
%{_prefix}/share/jupyter/labextensions/jupyterlab-plotly
%{_prefix}/share/jupyter/nbextensions/jupyterlab-plotly/
%{_prefix}/etc/jupyter/nbconfig/notebook.d/
%changelog
* Mon Jul 31 2023 mengzhaoa <mengzhaoa@isoftstone.com> - 5.15.0-1
- Inite package python-plotly of version 5.15.0.