Accepting request 698340 from home:TheBlackCat:branches:devel:languages:python:jupyter

- Rename to to match jupyter package naming guidelines.
- Update to 0.4.1
  * Allow SyncTeX to work on windows by using absolute file paths.
- Update to 0.4.0
  * Fixes for Windows paths and line endings.
  * Use absolute path in SyncTeX view command.
  * Output synctex response when parse fails.
  * Updates for JupyterLab v0.34.
- Update to 0.3.1
  * Flip the y coordinate for PDFJS, and add a margin when scrolling.
- Don't need to manually enable extension.
- Initial version

OBS-URL: https://build.opensuse.org/request/show/698340
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/jupyter-jupyterlab-latex?expand=0&rev=1
This commit is contained in:
Todd R 2019-04-26 19:40:55 +00:00 committed by Git OBS Bridge
commit 221b41877e
5 changed files with 125 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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,35 @@
-------------------------------------------------------------------
Thu Apr 25 01:59:57 UTC 2019 - Todd R <toddrme2178@gmail.com>
- Rename to to match jupyter package naming guidelines.
-------------------------------------------------------------------
Fri Sep 28 02:49:00 UTC 2018 - Todd R <toddrme2178@gmail.com>
- Update to 0.4.1
* Allow SyncTeX to work on windows by using absolute file paths.
-------------------------------------------------------------------
Fri Sep 7 15:58:57 UTC 2018 - toddrme2178@gmail.com
- Update to 0.4.0
* Fixes for Windows paths and line endings.
* Use absolute path in SyncTeX view command.
* Output synctex response when parse fails.
* Updates for JupyterLab v0.34.
-------------------------------------------------------------------
Thu Aug 2 20:24:32 UTC 2018 - toddrme2178@gmail.com
- Update to 0.3.1
* Flip the y coordinate for PDFJS, and add a margin when scrolling.
-------------------------------------------------------------------
Wed Apr 25 20:18:43 UTC 2018 - toddrme2178@gmail.com
- Don't need to manually enable extension.
-------------------------------------------------------------------
Fri Apr 20 20:18:26 UTC 2018 - toddrme2178@gmail.com
- Initial version

View File

@ -0,0 +1,63 @@
#
# spec file for package jupyter-jupyterlab-latex
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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: jupyter-jupyterlab-latex
Version: 0.4.1
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
BuildRequires: fdupes
BuildRequires: jupyter-notebook
BuildRequires: python-rpm-macros
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}
BuildArch: noarch
# SECTION test requirements
BuildRequires: jupyter-jupyterlab
# /SECTION
%description
An extension for JupyterLab which allows for live-editing of LaTeX documents.
%prep
%setup -q -c -T
%build
# Not Needed
%install
pip%{python3_bin_suffix} install --root=%{buildroot} %{SOURCE0}
%{jupyter_move_config}
%{fdupes %{buildroot}%{_jupyter_prefix} %{buildroot}%{python3_sitelib}}
%files
%license %{python3_sitelib}/jupyterlab_latex-*.dist-info/LICENSE.txt
%{python3_sitelib}/jupyterlab_latex-*.dist-info
%{python3_sitelib}/jupyterlab_latex/
%config %{_jupyter_servextension_confdir}/jupyterlab_latex.json
%changelog

View File

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