Sync from SUSE:SLFO:Main python-jupyter-server-mathjax revision dbf4f377557f64f96ef0dfeef744d935

This commit is contained in:
Adrian Schröter 2024-05-03 21:18:01 +02:00
commit a9c9788b27
4 changed files with 130 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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

BIN
jupyter_server_mathjax-0.2.6-py3-none-any.whl (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,25 @@
-------------------------------------------------------------------
Mon Aug 1 18:11:35 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Update to 0.2.6
* no release notes, mostly build system changes
- Update minimum python requirement to >= 3.7
-------------------------------------------------------------------
Sun Mar 13 07:21:21 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Update to 0.2.5
* no release notes
* i18n updates
- Update for sysconfig/distconfig handling
-------------------------------------------------------------------
Sun Oct 17 17:44:01 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Update to 0.2.3
* use static_url_prefix for mathjax_url
-------------------------------------------------------------------
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

View File

@ -0,0 +1,79 @@
#
# spec file for package python-jupyter-server-mathjax
#
# Copyright (c) 2022 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/
#
Name: python-jupyter-server-mathjax
Version: 0.2.6
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
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module jupyter-packaging >= 0.10 with %python-jupyter-packaging < 2}
BuildRequires: %{python_module pip}
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
BuildRequires: %{python_module jupyter-server >= 1.1}
BuildRequires: %{python_module jupyter-server-test}
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
%_jupyter_config %{_jupyter_server_confdir}/jupyter_server_mathjax.json
%changelog