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

- Update to version 0.11.5
  * silence brush events on selected_changed
- Update to version 0.11.4
  * Scatter label color now follow theme
  * Fixup color axis domain
  * Fixup election example notebook
- Update to version 0.11.3
  * Fixup interaction layer wrt typed fields
  * Set # of axis ticks for DateScale by width
  * fixed an issue where 'selected' wasn't getting updated on empty brush
  * Revise outlier selection method
  * Fix d3 selections
  * not setting default labels in lieu of empty labels
  * increased pie label font size to 12px
  * Make fill_opcities work with fill=inside
- Rename to to match python package naming guidelines.
- Split jupyter components into own subpackage.
- Update to version 0.11.2
  * Merge pull request #742 from ChakriCherukuri/pyplot_fix
  * fixed an issue with marker strings (default_colors renamed to colors)
  * use trait instead of setter
  * fix: empty brush updates brush.selected
  * Don't squeeze array because of single stacked bar
  * apply selected styles on redraw
  * Listen to colorscale changes in GridHeatMap
  * Adding extrapolation option for ColorScale
  * Do light/dark styling with JupyterLab theming system.
  * add auto_detect_outliers property to front-end model 
- Update to version 0.11.1
  * Fixup notebook links
  * Fixup marker update in Scatter plot
  * package-lock update
- Don't need to manually enable extension.
- Double-check target directory.
- Initial version

OBS-URL: https://build.opensuse.org/request/show/698288
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-bqplot?expand=0&rev=1
This commit is contained in:
Todd R
2019-04-26 16:07:50 +00:00
committed by Git OBS Bridge
commit 42550b6557
5 changed files with 192 additions and 0 deletions

103
python-bqplot.spec Normal file
View File

@@ -0,0 +1,103 @@
#
# spec file for package python-bqplot
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-bqplot
Version: 0.11.5
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
BuildRequires: %{python_module pip}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module ipywidgets >= 7.0.0a8}
BuildRequires: %{python_module numpy >= 1.10.4}
BuildRequires: %{python_module pandas}
BuildRequires: %{python_module traitlets >= 4.3.0}
BuildRequires: %{python_module traittypes >= 0.0.6}
# /SECTION
Requires: python-ipywidgets >= 7.0.0a8
Requires: python-numpy >= 1.10.4
Requires: python-pandas
Requires: python-traitlets >= 4.3.0
Requires: python-traittypes >= 0.0.6
Requires: jupyter-bqplot = %{version}
Provides: python-jupyter_bqplot = %{version}
Obsoletes: python-jupyter_bqplot < %{version}
BuildArch: noarch
%python_subpackages
%description
Plotting system for the Jupyter notebook based on the
interactive Jupyter widgets.
This package provides the python interface.
%package -n jupyter-bqplot
Summary: Interactive plotting package for the Jupyter notebook
Requires: python3-bqplot = %{version}
Requires: jupyter-notebook
%description -n jupyter-bqplot
Plotting system for the Jupyter notebook based on the
interactive Jupyter widgets.
This package provides the jupyter notebook extension.
%prep
%setup -c -T
%build
# Not Needed
%install
%python_expand pip%{$python_bin_suffix} install --root=%{buildroot} %{SOURCE0}
%{python_expand sed -i -e "s|^#!/usr/bin/env python|#!%{__$python}|" %{buildroot}%{$python_sitelib}/bqplot/install.py
chmod a+x %{buildroot}%{$python_sitelib}/bqplot/install.py
$python -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/bqplot/
$python -O -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/bqplot/
%python_expand %fdupes %{buildroot}%{$python_sitelib}
}
%jupyter_move_config
cp %{buildroot}%{python3_sitelib}/bqplot-%{version}.dist-info/LICENSE .
%{fdupes %{buildroot}%{_jupyter_prefix} %{buildroot}%{python3_sitelib}}
%check
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
$python -c "import bqplot"
}
%files %{python_files}
%license %{python_sitelib}/bqplot-%{version}.dist-info/LICENSE
%{python_sitelib}/bqplot/
%{python_sitelib}/bqplot-%{version}.dist-info/
%files -n jupyter-bqplot
%license LICENSE
%config %{_jupyter_nb_notebook_confdir}/bqplot.json
%{_jupyter_nbextension_dir}/bqplot/
%changelog