From 9266c0a8247291a74cc2be53367955805a186d49772128e472f7efaa1734606d Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Wed, 11 May 2022 07:48:27 +0000 Subject: [PATCH 1/5] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/jupyter-jupyterlab-latex?expand=0&rev=9 --- jupyter-jupyterlab-latex.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jupyter-jupyterlab-latex.spec b/jupyter-jupyterlab-latex.spec index ce5b434..7840c39 100644 --- a/jupyter-jupyterlab-latex.spec +++ b/jupyter-jupyterlab-latex.spec @@ -54,12 +54,12 @@ cp -a %{SOURCE0} . %pyproject_install %{jupyter_move_config} -%{fdupes %{buildroot}%{_jupyter_prefix} %{buildroot}%{python3_sitelib}} +%fdupes %{buildroot}%{_jupyter_prefix} %{buildroot}%{python3_sitelib} %files %license %{python3_sitelib}/jupyterlab_latex-*.dist-info/LICENSE %{python3_sitelib}/jupyterlab_latex-*.dist-info %{python3_sitelib}/jupyterlab_latex/ -%config %{_jupyter_servextension_confdir}/jupyterlab_latex.json +%jupyter_config %{_jupyter_servextension_confdir}/jupyterlab_latex.json %changelog From de3b618c00e5f2668f917c431fe5037bebc3ba2b67db39cb0f70397b229ebeec Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Wed, 11 May 2022 08:02:27 +0000 Subject: [PATCH 2/5] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/jupyter-jupyterlab-latex?expand=0&rev=10 --- jupyter-jupyterlab-latex.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jupyter-jupyterlab-latex.spec b/jupyter-jupyterlab-latex.spec index 7840c39..b7cef65 100644 --- a/jupyter-jupyterlab-latex.spec +++ b/jupyter-jupyterlab-latex.spec @@ -60,6 +60,6 @@ cp -a %{SOURCE0} . %license %{python3_sitelib}/jupyterlab_latex-*.dist-info/LICENSE %{python3_sitelib}/jupyterlab_latex-*.dist-info %{python3_sitelib}/jupyterlab_latex/ -%jupyter_config %{_jupyter_servextension_confdir}/jupyterlab_latex.json +%_jupyter_config %{_jupyter_servextension_confdir}/jupyterlab_latex.json %changelog From 989a9c00778b5be69b736b3b85d342897fb17cea79618f69a91eec1489e8fabc Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Wed, 11 May 2022 08:31:22 +0000 Subject: [PATCH 3/5] - Update to 3.1.0 * Switch to prebuilt (federated) extension model * Fix bug with icons visibility in the dark theme - Release 3.0.0 * Update to JupyterLab 3.0 * Add LaTeX file menu * Add download PDF button - Release 2.0.0 * Update to JupyterLab 2.0 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/jupyter-jupyterlab-latex?expand=0&rev=11 --- jupyter-jupyterlab-latex-rpmlintrc | 3 +++ jupyter-jupyterlab-latex.changes | 13 +++++++++++++ jupyter-jupyterlab-latex.spec | 21 +++++++++++++-------- jupyterlab_latex-1.0.0-py3-none-any.whl | 3 --- jupyterlab_latex-3.1.0-py3-none-any.whl | 3 +++ 5 files changed, 32 insertions(+), 11 deletions(-) create mode 100644 jupyter-jupyterlab-latex-rpmlintrc delete mode 100644 jupyterlab_latex-1.0.0-py3-none-any.whl create mode 100644 jupyterlab_latex-3.1.0-py3-none-any.whl diff --git a/jupyter-jupyterlab-latex-rpmlintrc b/jupyter-jupyterlab-latex-rpmlintrc new file mode 100644 index 0000000..a486d61 --- /dev/null +++ b/jupyter-jupyterlab-latex-rpmlintrc @@ -0,0 +1,3 @@ +# Note: These are not really backup files, they are needed +addFilter("backup-file-in-package .*/package.json.orig") +addFilter("filelist-forbidden .*/package.json.orig") diff --git a/jupyter-jupyterlab-latex.changes b/jupyter-jupyterlab-latex.changes index f7c4701..01b2037 100644 --- a/jupyter-jupyterlab-latex.changes +++ b/jupyter-jupyterlab-latex.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Wed May 11 08:19:59 UTC 2022 - Ben Greiner + +- Update to 3.1.0 + * Switch to prebuilt (federated) extension model + * Fix bug with icons visibility in the dark theme +- Release 3.0.0 + * Update to JupyterLab 3.0 + * Add LaTeX file menu + * Add download PDF button +- Release 2.0.0 + * Update to JupyterLab 2.0 + ------------------------------------------------------------------- Sun Jan 12 19:09:03 UTC 2020 - Bernhard Wiedemann diff --git a/jupyter-jupyterlab-latex.spec b/jupyter-jupyterlab-latex.spec index b7cef65..dcc3326 100644 --- a/jupyter-jupyterlab-latex.spec +++ b/jupyter-jupyterlab-latex.spec @@ -1,7 +1,7 @@ # # spec file for package jupyter-jupyterlab-latex # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -18,13 +18,14 @@ %define pythons python3 Name: jupyter-jupyterlab-latex -Version: 1.0.0 +Version: 3.1.0 Release: 0 Summary: Jupyter Notebook server extension which acts as an endpoint for LaTeX License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/jupyterlab/jupyterlab-latex Source: https://files.pythonhosted.org/packages/py3/j/jupyterlab_latex/jupyterlab_latex-%{version}-py3-none-any.whl +Source99: jupyter-jupyterlab-latex-rpmlintrc BuildRequires: fdupes BuildRequires: jupyter-notebook BuildRequires: python-rpm-macros @@ -33,12 +34,9 @@ BuildRequires: python3-pip Requires: jupyter-notebook Requires: texlive-latex-bin Provides: python3-jupyter_jupyterlab_latex = %{version} -Obsoletes: python3-jupyter_jupyterlab_latex <= %{version} +Obsoletes: python3-jupyter_jupyterlab_latex < %{version} Provides: python3-jupyterlab-latex = %{version} BuildArch: noarch -# SECTION test requirements -BuildRequires: jupyter-jupyterlab -# /SECTION %description An extension for JupyterLab which allows for live-editing of LaTeX documents. @@ -54,12 +52,19 @@ cp -a %{SOURCE0} . %pyproject_install %{jupyter_move_config} -%fdupes %{buildroot}%{_jupyter_prefix} %{buildroot}%{python3_sitelib} +%fdupes %{buildroot}%{_jupyter_prefix} +%fdupes %{buildroot}%{python3_sitelib} + +#%%check +# no python tests %files %license %{python3_sitelib}/jupyterlab_latex-*.dist-info/LICENSE -%{python3_sitelib}/jupyterlab_latex-*.dist-info +%{python3_sitelib}/jupyterlab_latex-%{version}*.dist-info %{python3_sitelib}/jupyterlab_latex/ +%dir %_jupyter_labextensions_dir3/@jupyterlab +%_jupyter_labextensions_dir3/@jupyterlab/latex %_jupyter_config %{_jupyter_servextension_confdir}/jupyterlab_latex.json +%_jupyter_config %{_jupyter_server_confdir}/jupyterlab_latex.json %changelog diff --git a/jupyterlab_latex-1.0.0-py3-none-any.whl b/jupyterlab_latex-1.0.0-py3-none-any.whl deleted file mode 100644 index 0f7806f..0000000 --- a/jupyterlab_latex-1.0.0-py3-none-any.whl +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8ce4210a58e50f2990cb1e28d0e099bb77d72b2d1e41b8ec13d7c2f2006091f6 -size 10751 diff --git a/jupyterlab_latex-3.1.0-py3-none-any.whl b/jupyterlab_latex-3.1.0-py3-none-any.whl new file mode 100644 index 0000000..39207e7 --- /dev/null +++ b/jupyterlab_latex-3.1.0-py3-none-any.whl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ccfbb85599d0cb72bd07905c8a3ecfce5f777b395ee512338d5c6f32fbe7343b +size 900645 From ca429e38affb1a833d53a3897653671b081b37cc5abb3599f582a8ae7b4516af Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Wed, 11 May 2022 08:31:46 +0000 Subject: [PATCH 4/5] . OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/jupyter-jupyterlab-latex?expand=0&rev=12 --- jupyter-jupyterlab-latex.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jupyter-jupyterlab-latex.spec b/jupyter-jupyterlab-latex.spec index dcc3326..2f7ab90 100644 --- a/jupyter-jupyterlab-latex.spec +++ b/jupyter-jupyterlab-latex.spec @@ -33,9 +33,9 @@ BuildRequires: python3-base >= 3.6 BuildRequires: python3-pip Requires: jupyter-notebook Requires: texlive-latex-bin -Provides: python3-jupyter_jupyterlab_latex = %{version} -Obsoletes: python3-jupyter_jupyterlab_latex < %{version} -Provides: python3-jupyterlab-latex = %{version} +Provides: python3-jupyter_jupyterlab_latex = %{version}-%{release} +Obsoletes: python3-jupyter_jupyterlab_latex < %{version}-%{release} +Provides: python3-jupyterlab-latex = %{version}-%{release} BuildArch: noarch %description From 11dd32b481340bba320bd4c5c9bc0239da98b3b4b616c0980828fcfd81fd618d Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Wed, 11 May 2022 08:33:19 +0000 Subject: [PATCH 5/5] . OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/jupyter-jupyterlab-latex?expand=0&rev=13 --- jupyter-jupyterlab-latex.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/jupyter-jupyterlab-latex.spec b/jupyter-jupyterlab-latex.spec index 2f7ab90..daae0bc 100644 --- a/jupyter-jupyterlab-latex.spec +++ b/jupyter-jupyterlab-latex.spec @@ -27,6 +27,7 @@ URL: https://github.com/jupyterlab/jupyterlab-latex Source: https://files.pythonhosted.org/packages/py3/j/jupyterlab_latex/jupyterlab_latex-%{version}-py3-none-any.whl Source99: jupyter-jupyterlab-latex-rpmlintrc BuildRequires: fdupes +BuildRequires: jupyter-jupyterlab BuildRequires: jupyter-notebook BuildRequires: python-rpm-macros BuildRequires: python3-base >= 3.6