Accepting request 1172851 from devel:languages:python:jupyter

- Build from source not whl from pypi.

OBS-URL: https://build.opensuse.org/request/show/1172851
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jupyter-server-mathjax?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2024-05-09 10:14:17 +00:00 committed by Git OBS Bridge
commit 5b0966939a
4 changed files with 12 additions and 8 deletions

Binary file not shown.

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bb1e6b6dc0686c1fe386a22b5886163db548893a99c2810c36399e9c4ca23943
size 2648665

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu May 9 06:50:31 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
- Build from source not whl from pypi.
-------------------------------------------------------------------
Thu Mar 7 13:43:14 UTC 2024 - Ben Greiner <code@bnavigator.de>

View File

@ -22,8 +22,7 @@ Release: 0
Summary: MathJax resources as a Jupyter Server Extension
License: Apache-2.0 AND BSD-3-Clause
URL: https://github.com/jupyter-server/jupyter_server_mathjax
# Get the bundled JS stuff with the wheel
Source: https://files.pythonhosted.org/packages/py3/j/jupyter_server_mathjax/jupyter_server_mathjax-%{version}-py3-none-any.whl
Source: https://files.pythonhosted.org/packages/source/j/jupyter_server_mathjax/jupyter_server_mathjax-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module jupyter-packaging >= 0.10 with %python-jupyter-packaging < 2}
BuildRequires: %{python_module jupyter-server >= 1.1}
@ -52,13 +51,13 @@ This package contains the jupyter server extension configuration common
to all python flavors.
%prep
%setup -q -c jupyter-server-mathjax-%{version} -T
%autosetup -p1 -n jupyter_server_mathjax-%{version}
%build
:
%pyproject_wheel
%install
%pyproject_install %{SOURCE0}
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
cp %{buildroot}%{python3_sitelib}/jupyter_server_mathjax-%{version}.dist-info/LICENSE .
cp %{buildroot}%{python3_sitelib}/jupyter_server_mathjax/static/LICENSE LICENSE-STATIC