Accepting request 931431 from home:bnavigator:branches:devel:languages:python:jupyter

- Update to 0.12.31, jupyter fronted 0.5.32
  * no release notes
- Fix jupyter config paths

OBS-URL: https://build.opensuse.org/request/show/931431
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-bqplot?expand=0&rev=28
This commit is contained in:
2021-11-15 22:29:06 +00:00
committed by Git OBS Bridge
parent d52b8ccc2d
commit bb6d1fd10c
6 changed files with 21 additions and 12 deletions

View File

@@ -19,8 +19,8 @@
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
%define skip_python36 1
%define pyver 0.12.25
%define jupver 0.5.26
%define pyver 0.12.31
%define jupver 0.5.32
Name: python-bqplot
Version: %{pyver}
Release: 0
@@ -35,6 +35,7 @@ BuildRequires: %{python_module jupyter-packaging}
BuildRequires: %{python_module notebook}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: jupyter-jupyterlab-filesystem >= 20211114
BuildRequires: jupyter-notebook-filesystem
BuildRequires: python-rpm-macros
Requires: jupyter-bqplot-notebook = %{jupver}
@@ -100,8 +101,10 @@ rm bqplot/install.py
%install
%python_install
cp -r etc/ %{buildroot}%{_sysconfdir}
mkdir -p %{buildroot}%{_jupyter_confdir}
cp -r etc/jupyter/* %{buildroot}%{_jupyter_confdir}/
cp -r share/ %{buildroot}%{_datadir}
%python_expand rm -r %{buildroot}%{$python_sitelib}/tests
%fdupes %{buildroot}%{_jupyter_prefix}
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -118,12 +121,11 @@ cp -r share/ %{buildroot}%{_datadir}
%files -n jupyter-bqplot-notebook
%license LICENSE
%config %{_jupyter_nb_notebook_confdir}/bqplot.json
%{!?_jupyter_distconfig:%config} %{_jupyter_nb_notebook_confdir}/bqplot.json
%{_jupyter_nbextension_dir}/bqplot/
%files -n jupyter-bqplot-jupyterlab
%license LICENSE
%dir %{_jupyter_prefix}/labextensions
%{_jupyter_prefix}/labextensions/bqplot/
%{_jupyter_labextensions_dir3}/bqplot/
%changelog