forked from pool/python-nbconvert
Accepting request 944228 from home:bnavigator:branches:devel:languages:python:jupyter
- Update to 6.4.0 * Optionally speed up validation by @gwincr11 in #1672 * Adding missing div compared to JupyterLab DOM structure by @SylvainCorlay in #1678 * Allow passing extra args to code highlighter by @yuvipanda in #1683 * Prevent page breaks in outputs when printing by @SylvainCorlay in #1679 * Add collapsers to template by @SylvainCorlay in #1689 * Fix recent pandoc latex tables by adding calc and array (#1536, #1566) by @cgevans in #1686 * Add an invalid notebook error by @gwincr11 in #1675 * Fix typos in execute.py by @TylerAnderson22 in #1692 * Modernize latex greek math handling (partially fixes #1673) by @cgevans in #1687 * Fix use of deprecated API and update test matrix by @blink1073 in #1696 * Update nbconvert_library.ipynb by @letterphile in #1695 * Changelog for 6.4 by @blink1073 in #1697 - Remove the doc package OBS-URL: https://build.opensuse.org/request/show/944228 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbconvert?expand=0&rev=33
This commit is contained in:
parent
d566a91d0d
commit
66b0f3b4c1
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5e77d6203854944520105e38f2563a813a4a3708e8563aa598928a3b5ee1081a
|
||||
size 900850
|
3
nbconvert-6.4.0.tar.gz
Normal file
3
nbconvert-6.4.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5412ec774c6db4fccecb8c4ba07ec5d37d6dcf5762593cb3d6ecbbeb562ebbe5
|
||||
size 901586
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:720196ba36473e3fa6bcbb79b1463640730e0e007acb07aba73cfd9adacae0de
|
||||
size 548761
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fbc32a1803eabb59acee50b81e705fe11c285ff42b7a99e7d4c68b3bc0bd1507
|
||||
size 8652426
|
@ -1,3 +1,27 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 6 11:23:57 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 6.4.0
|
||||
* Optionally speed up validation by @gwincr11 in #1672
|
||||
* Adding missing div compared to JupyterLab DOM structure by
|
||||
@SylvainCorlay in #1678
|
||||
* Allow passing extra args to code highlighter by @yuvipanda in
|
||||
#1683
|
||||
* Prevent page breaks in outputs when printing by @SylvainCorlay
|
||||
in #1679
|
||||
* Add collapsers to template by @SylvainCorlay in #1689
|
||||
* Fix recent pandoc latex tables by adding calc and array (#1536,
|
||||
#1566) by @cgevans in #1686
|
||||
* Add an invalid notebook error by @gwincr11 in #1675
|
||||
* Fix typos in execute.py by @TylerAnderson22 in #1692
|
||||
* Modernize latex greek math handling (partially fixes #1673) by
|
||||
@cgevans in #1687
|
||||
* Fix use of deprecated API and update test matrix by @blink1073
|
||||
in #1696
|
||||
* Update nbconvert_library.ipynb by @letterphile in #1695
|
||||
* Changelog for 6.4 by @blink1073 in #1697
|
||||
- Remove the doc package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 31 16:57:55 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# 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
|
||||
@ -34,16 +34,13 @@
|
||||
%{?!python_module:%define python_module() python3-%{**}}
|
||||
%define skip_python2 1
|
||||
%define skip_python36 1
|
||||
%define doc_ver 6.3.0
|
||||
Name: python-nbconvert%{psuffix}
|
||||
Version: 6.3.0
|
||||
Version: 6.4.0
|
||||
Release: 0
|
||||
Summary: Conversion of Jupyter Notebooks
|
||||
License: BSD-3-Clause
|
||||
URL: https://github.com/jupyter/nbconvert
|
||||
Source0: https://files.pythonhosted.org/packages/source/n/nbconvert/nbconvert-%{version}.tar.gz
|
||||
Source1: https://media.readthedocs.org/pdf/nbconvert/%{doc_ver}/nbconvert.pdf
|
||||
Source2: https://media.readthedocs.org/htmlzip/nbconvert/%{doc_ver}/nbconvert.zip
|
||||
# License Source3: BSD-3-Clause
|
||||
Source3: https://files.pythonhosted.org/packages/source/m/mistune/mistune-0.8.4.tar.gz
|
||||
# PATCH-FIX-OPENSUSE nbconvert-vendorize-mistune.patch -- gh#jupyter/nbconvert#1685
|
||||
@ -124,25 +121,12 @@ via Jinja templates.
|
||||
|
||||
This package pulls in the LaTeX dependencies for nbconvert.
|
||||
|
||||
%package -n jupyter-nbconvert-doc
|
||||
Summary: Documentation for Jupyter's notebook converter
|
||||
Provides: %{python_module jupyter_nbconvert-doc = %{version}}
|
||||
Provides: %{python_module nbconvert-doc = %{version}}
|
||||
Obsoletes: %{python_module jupyter_nbconvert-doc < %{version}}
|
||||
|
||||
%description -n jupyter-nbconvert-doc
|
||||
Documentation and help files for Jupyter's notebook converter.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n nbconvert-%{version} -b3
|
||||
|
||||
cp %{SOURCE1} .
|
||||
mkdir nbconvert/vendor
|
||||
touch nbconvert/vendor/__init__.py
|
||||
cp ../mistune-0.8.4/mistune.py nbconvert/vendor/
|
||||
unzip %{SOURCE2} -d docs
|
||||
mv docs/nbconvert-* docs/html
|
||||
rm docs/html/.buildinfo
|
||||
sed -i -e '/^#!\//, 1d' nbconvert/nbconvertapp.py
|
||||
sed -i -e '/^#!\//, 1d' nbconvert/filters/filter_links.py
|
||||
|
||||
@ -159,11 +143,6 @@ sed -i -e "/nbclient/ s/,<.*'/'/" setup.py
|
||||
%python_clone -a %{buildroot}%{_bindir}/jupyter-nbconvert
|
||||
%python_clone -a %{buildroot}%{_bindir}/jupyter-dejavu
|
||||
|
||||
mkdir -p %{buildroot}%{_docdir}/jupyter-nbconvert
|
||||
|
||||
cp %{SOURCE1} %{buildroot}%{_docdir}/jupyter-nbconvert/
|
||||
cp -r docs/html %{buildroot}%{_docdir}/jupyter-nbconvert/
|
||||
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%fdupes %{buildroot}%{_docdir}/jupyter-nbconvert/
|
||||
%endif
|
||||
@ -206,12 +185,6 @@ popd
|
||||
|
||||
%files -n jupyter-nbconvert-latex
|
||||
%license LICENSE
|
||||
|
||||
%files -n jupyter-nbconvert-doc
|
||||
%license LICENSE
|
||||
%dir %{_docdir}/jupyter-nbconvert/
|
||||
%{_docdir}/jupyter-nbconvert/nbconvert.pdf
|
||||
%{_docdir}/jupyter-nbconvert/html
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user