From a9c9788b2754ae6262f1ab2cffc563a8d6d3d4089b92330ab11ba0e879f218be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 21:18:01 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main python-jupyter-server-mathjax revision dbf4f377557f64f96ef0dfeef744d935 --- .gitattributes | 23 ++++++ jupyter_server_mathjax-0.2.6-py3-none-any.whl | 3 + python-jupyter-server-mathjax.changes | 25 ++++++ python-jupyter-server-mathjax.spec | 79 +++++++++++++++++++ 4 files changed, 130 insertions(+) create mode 100644 .gitattributes create mode 100644 jupyter_server_mathjax-0.2.6-py3-none-any.whl create mode 100644 python-jupyter-server-mathjax.changes create mode 100644 python-jupyter-server-mathjax.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/jupyter_server_mathjax-0.2.6-py3-none-any.whl b/jupyter_server_mathjax-0.2.6-py3-none-any.whl new file mode 100644 index 0000000..846c746 --- /dev/null +++ b/jupyter_server_mathjax-0.2.6-py3-none-any.whl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:416389dde2010df46d5fbbb7adb087a5607111070af65a1445391040f2babb5e +size 3120990 diff --git a/python-jupyter-server-mathjax.changes b/python-jupyter-server-mathjax.changes new file mode 100644 index 0000000..6f26ccc --- /dev/null +++ b/python-jupyter-server-mathjax.changes @@ -0,0 +1,25 @@ +------------------------------------------------------------------- +Mon Aug 1 18:11:35 UTC 2022 - Ben Greiner + +- 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 + +- 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 + +- Update to 0.2.3 + * use static_url_prefix for mathjax_url + +------------------------------------------------------------------- +Sat Apr 17 16:22:23 UTC 2021 - Ben Greiner + +- Initial specfile for 0.2.2 -- required by python-nbdime 3.0 diff --git a/python-jupyter-server-mathjax.spec b/python-jupyter-server-mathjax.spec new file mode 100644 index 0000000..0b9bfe9 --- /dev/null +++ b/python-jupyter-server-mathjax.spec @@ -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