commit 42550b6557388be91cf570b99bd2aa08f3e685efa633a891d59e444527c34958 Author: Todd R Date: Fri Apr 26 16:07:50 2019 +0000 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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..37a8eaa --- /dev/null +++ b/.gitattributes @@ -0,0 +1,24 @@ +*.changes merge=merge-changes +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tar filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8b731c3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.obscpio +*.osc +_build.* +.pbuild diff --git a/bqplot-0.11.5-py2.py3-none-any.whl b/bqplot-0.11.5-py2.py3-none-any.whl new file mode 100644 index 0000000..9dc688c --- /dev/null +++ b/bqplot-0.11.5-py2.py3-none-any.whl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f7e04cd4cc08bc832755db34e5827676395dd09b7ca19fcfa4354577174d07e8 +size 1666077 diff --git a/python-bqplot.changes b/python-bqplot.changes new file mode 100644 index 0000000..fcbcfc7 --- /dev/null +++ b/python-bqplot.changes @@ -0,0 +1,58 @@ +------------------------------------------------------------------- +Thu Apr 25 01:59:57 UTC 2019 - Todd R + +- 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. + +------------------------------------------------------------------- +Sat Dec 22 07:01:21 UTC 2018 - Todd R + +- 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 + +------------------------------------------------------------------- +Fri Sep 28 04:06:40 UTC 2018 - Todd R + +- Update to version 0.11.1 + * Fixup notebook links + * Fixup marker update in Scatter plot + * package-lock update + +------------------------------------------------------------------- +Wed Apr 25 20:11:40 UTC 2018 - toddrme2178@gmail.com + +- Don't need to manually enable extension. + +------------------------------------------------------------------- +Sun Apr 22 03:46:31 UTC 2018 - toddrme2178@gmail.com + +- Double-check target directory. + +------------------------------------------------------------------- +Fri Apr 20 20:19:32 UTC 2018 - toddrme2178@gmail.com + +- Initial version diff --git a/python-bqplot.spec b/python-bqplot.spec new file mode 100644 index 0000000..1911813 --- /dev/null +++ b/python-bqplot.spec @@ -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