Accepting request 886354 from home:bnavigator:branches:devel:languages:python:jupyter
required by python-nbdime 3.0.0 OBS-URL: https://build.opensuse.org/request/show/886354 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-server-mathjax?expand=0&rev=1
This commit is contained in:
commit
cae4b8c347
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.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
|
||||
*.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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
jupyter_server_mathjax-0.2.2-py3-none-any.whl
Normal file
3
jupyter_server_mathjax-0.2.2-py3-none-any.whl
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:93a9e2684507dff6e125f5f1a470760e2b3ed86031856af95bb0be6e6b0652ef
|
||||
size 3099491
|
4
python-jupyter-server-mathjax.changes
Normal file
4
python-jupyter-server-mathjax.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 17 16:22:23 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Initial specfile for 0.2.2 -- required by python-nbdime 3.0
|
83
python-jupyter-server-mathjax.spec
Normal file
83
python-jupyter-server-mathjax.spec
Normal file
@ -0,0 +1,83 @@
|
||||
#
|
||||
# spec file for package python-jupyter-server-mathjax
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# 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() python3-%{**}}
|
||||
Name: python-jupyter-server-mathjax
|
||||
Version: 0.2.2
|
||||
Release: 0
|
||||
Summary: MathJax resources as a Jupyter Server Extension
|
||||
License: BSD-3-Clause AND Apache-2.0
|
||||
URL: https://jupyter.org
|
||||
# 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
|
||||
BuildRequires: %{python_module jupyter-packaging}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: jupyter-notebook-filesystem
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: jupyter-server-mathjax = %{version}
|
||||
Requires: python-jupyter_server >= 1.1
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements (including jupyter_server[test])
|
||||
BuildRequires: %{python_module ipykernel}
|
||||
BuildRequires: %{python_module jupyter-server >= 1.1}
|
||||
BuildRequires: %{python_module pytest-console-scripts}
|
||||
BuildRequires: %{python_module pytest-tornasync}
|
||||
BuildRequires: %{python_module pytest}
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
MathJax resources as a Jupyter Server Extension.
|
||||
|
||||
%package -n jupyter-server-mathjax
|
||||
Summary: MathJax resources as a Jupyter Server Extension -- configuration
|
||||
|
||||
%description -n jupyter-server-mathjax
|
||||
MathJax resources as a Jupyter Server Extension.
|
||||
This package contains the jupyter server extension configuration common
|
||||
to all python flavors.
|
||||
|
||||
%prep
|
||||
%setup -q -c jupyter-server-mathjax-%{version} -T
|
||||
|
||||
%build
|
||||
:
|
||||
|
||||
%install
|
||||
%pyproject_install %{SOURCE0}
|
||||
%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
|
||||
%jupyter_move_config
|
||||
|
||||
%check
|
||||
%pytest --pyargs jupyter_server_mathjax
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE LICENSE-STATIC
|
||||
%{python_sitelib}/jupyter_server_mathjax
|
||||
%{python_sitelib}/jupyter_server_mathjax-%{version}.dist-info
|
||||
|
||||
%files -n jupyter-server-mathjax
|
||||
%license LICENSE LICENSE-STATIC
|
||||
%config %{_jupyter_server_confdir}/jupyter_server_mathjax.json
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user