1
0

Accepting request 1077250 from devel:languages:python:jupyter

- Add jupyter-rpm-macros to BuildRequires
- Add note about end of maintenance to rpm post install phase

OBS-URL: https://build.opensuse.org/request/show/1077250
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jupyter-imatlab?expand=0&rev=7
This commit is contained in:
Dominique Leuenberger 2023-04-04 19:27:38 +00:00 committed by Git OBS Bridge
commit 3345e1ee25
2 changed files with 17 additions and 7 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Apr 4 16:09:39 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Add jupyter-rpm-macros to BuildRequires
- Add note about end of maintenance to rpm post install phase
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jan 3 18:11:36 UTC 2023 - Ben Greiner <code@bnavigator.de> Tue Jan 3 18:11:36 UTC 2023 - Ben Greiner <code@bnavigator.de>

View File

@ -31,6 +31,7 @@ Source1: https://raw.githubusercontent.com/imatlab/imatlab/master/test_im
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: jupyter-ipykernel >= 4.1 BuildRequires: jupyter-ipykernel >= 4.1
BuildRequires: jupyter-ipython >= 6 BuildRequires: jupyter-ipython >= 6
BuildRequires: jupyter-rpm-macros
BuildRequires: jupyter-widgetsnbextension >= 1.0 BuildRequires: jupyter-widgetsnbextension >= 1.0
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: python3-pip BuildRequires: python3-pip
@ -40,21 +41,20 @@ BuildRequires: unzip
BuildRequires: python3-curses BuildRequires: python3-curses
BuildRequires: python3-jupyter-kernel-test BuildRequires: python3-jupyter-kernel-test
%endif %endif
Requires: jupyter-ipykernel >= 4.1 Requires: python3-ipykernel >= 4.1
Requires: jupyter-ipython >= 6 Requires: python3-nbconvert >= 4.2
Requires: jupyter-widgetsnbextension >= 1.0 Requires: python3-plotly >= 1.13.0
Requires: python3-plotly Requires: python3-widgetsnbextension >= 1.0
Provides: python3-jupyter_imatlab_kernel = %{version} Provides: python3-jupyter_imatlab_kernel = %{version}
Obsoletes: python3-jupyter_imatlab_kernel < %{version} Obsoletes: python3-jupyter_imatlab_kernel < %{version}
Provides: python3-imatlab = %{version} Provides: python3-imatlab = %{version}-%{release}
BuildArch: noarch BuildArch: noarch
%description %description
A Jupyter kernel for MATLAB. A Jupyter kernel for MATLAB.
This kernel requires Jupyter with Python 3.5+, This kernel requires Jupyter with Python 3.5+,
and the MATLAB engine for Python (this release and the MATLAB engine for Python, which
provides a much better completion API), which
needs to be installed first. needs to be installed first.
%prep %prep
@ -82,6 +82,10 @@ export JUPYTER_PATH=%{buildroot}%{_jupyter_prefix}
%pyunittest -v test_imatlab.py %pyunittest -v test_imatlab.py
%endif %endif
%post
echo "Note: imatlab is no longer actively maintained."
echo "Consider using the official MATLAB integration for Jupyter instead."
%files %files
%license LICENSE.txt %license LICENSE.txt
%{python3_sitelib}/imatlab-%{version}.dist-info %{python3_sitelib}/imatlab-%{version}.dist-info