Accepting request 719673 from home:TheBlackCat:branches:devel:languages:python:jupyter

Update to version 0.11.6

OBS-URL: https://build.opensuse.org/request/show/719673
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-bqplot?expand=0&rev=8
This commit is contained in:
Todd R
2019-07-29 16:58:23 +00:00
committed by Git OBS Bridge
parent abf6e71c5e
commit 8c42691bab
4 changed files with 29 additions and 13 deletions

View File

@@ -18,15 +18,15 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-bqplot
Version: 0.11.5
Version: 0.11.6
Release: 0
Summary: Interactive plotting package for the Jupyter notebook
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/bloomberg/bqplot
Source: https://files.pythonhosted.org/packages/py2.py3/b/bqplot/bqplot-%{version}-py2.py3-none-any.whl
Source: https://files.pythonhosted.org/packages/source/b/bqplot/bqplot-%{version}.tar.gz
BuildRequires: %{python_module notebook}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: jupyter-bqplot = %{version}
@@ -65,13 +65,16 @@ interactive Jupyter widgets.
This package provides the jupyter notebook extension.
%prep
%setup -q -c -T
%setup -q -n bqplot-%{version}
%build
# Not Needed
%python_build
%install
%python_expand pip%{$python_bin_suffix} install --root=%{buildroot} %{SOURCE0}
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%fdupes %{buildroot}%{_jupyter_nb_notebook_confdir}
%fdupes %{buildroot}%{_jupyter_nbextension_dir}
%{python_expand sed -i -e "s|^#!%{_bindir}/env python|#!%{__$python}|" %{buildroot}%{$python_sitelib}/bqplot/install.py
chmod a+x %{buildroot}%{$python_sitelib}/bqplot/install.py
@@ -81,8 +84,6 @@ $python -O -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/bq
}
%{jupyter_move_config}
cp %{buildroot}%{python3_sitelib}/bqplot-%{version}.dist-info/LICENSE .
%{fdupes %{buildroot}%{_jupyter_prefix} %{buildroot}%{python3_sitelib}}
%check
@@ -91,9 +92,10 @@ $python -c "import bqplot"
}
%files %{python_files}
%license %{python_sitelib}/bqplot-%{version}.dist-info/LICENSE
%doc README.md
%license LICENSE
%{python_sitelib}/bqplot/
%{python_sitelib}/bqplot-%{version}.dist-info/
%{python_sitelib}/bqplot-%{version}-py*.egg-info
%files -n jupyter-bqplot
%license LICENSE