Accepting request 724148 from home:TheBlackCat:branches:devel:languages:python:numeric
Update to 4.1.0 OBS-URL: https://build.opensuse.org/request/show/724148 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=10
This commit is contained in:
@@ -18,24 +18,25 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-plotly
|
||||
Version: 4.0.0
|
||||
Version: 4.1.0
|
||||
Release: 0
|
||||
Summary: Library for collaborative, interactive, publication-quality graphs
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/plotly/plotly.py
|
||||
Source: https://files.pythonhosted.org/packages/py2.py3/p/plotly/plotly-%{version}-py2.py3-none-any.whl
|
||||
Source: https://files.pythonhosted.org/packages/source/p/plotly/plotly-%{version}.tar.gz
|
||||
Source100: python-plotly-rpmlintrc
|
||||
BuildRequires: %{python_module decorator >= 4.0.6}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module ipython}
|
||||
BuildRequires: %{python_module ipywidgets}
|
||||
BuildRequires: %{python_module nbformat >= 4.2}
|
||||
BuildRequires: %{python_module notebook}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytz}
|
||||
BuildRequires: %{python_module requests}
|
||||
BuildRequires: %{python_module retrying >= 1.3.3}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-decorator >= 4.0.6
|
||||
@@ -103,25 +104,23 @@ always accessible from the graph.
|
||||
This package provides Jupyter Notebook integration and widgets.
|
||||
|
||||
%prep
|
||||
%setup -c -T
|
||||
%setup -q -n plotly-%{version}
|
||||
|
||||
%build
|
||||
# Not Needed
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_expand pip%{$python_bin_suffix} install --root=%{buildroot} %{SOURCE0}
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%python_install
|
||||
%jupyter_move_config
|
||||
|
||||
cp %{buildroot}%{python_sitelib}/plotly-%{version}.dist-info/LICENSE.txt .
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%fdupes %{buildroot}%{jupyter_prefix}
|
||||
|
||||
%files %{python_files}
|
||||
%license %{python_sitelib}/plotly-%{version}.dist-info/LICENSE.txt
|
||||
%license LICENSE.txt
|
||||
%{python_sitelib}/_plotly_future_/
|
||||
%{python_sitelib}/_plotly_utils/
|
||||
%{python_sitelib}/plotly/
|
||||
%{python_sitelib}/plotly-%{version}.dist-info/
|
||||
%{python_sitelib}/plotly-%{version}-py*.egg-info
|
||||
|
||||
%files %{python_files jupyter}
|
||||
%license LICENSE.txt
|
||||
|
||||
Reference in New Issue
Block a user