From da563885b15e6cf18156741c8dbd31c5493d62e0 Mon Sep 17 00:00:00 2001 From: Lumir Balhar Date: Nov 28 2017 13:31:51 +0000 Subject: New upstream version and FTBFS fix --- diff --git a/.gitignore b/.gitignore index 712c337..cae911f 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /nbsphinx-0.2.13.tar.gz +/nbsphinx-0.2.17.tar.gz diff --git a/0001-Allow-errors-and-add-a-note-in-one-doc-notebook.patch b/0001-Allow-errors-and-add-a-note-in-one-doc-notebook.patch new file mode 100644 index 0000000..ed504cb --- /dev/null +++ b/0001-Allow-errors-and-add-a-note-in-one-doc-notebook.patch @@ -0,0 +1,40 @@ +From fb1b2571ac18df78aa09d7aab06c7ed114b626f7 Mon Sep 17 00:00:00 2001 +From: Lumir Balhar +Date: Tue, 28 Nov 2017 14:27:09 +0100 +Subject: [PATCH] Allow errors and add a note in one doc notebook + +--- + doc/code-cells.ipynb | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +diff --git a/doc/code-cells.ipynb b/doc/code-cells.ipynb +index dcd8499..34ee63a 100644 +--- a/doc/code-cells.ipynb ++++ b/doc/code-cells.ipynb +@@ -225,6 +225,13 @@ + "### Image URLs" + ] + }, ++ { ++ "cell_type": "markdown", ++ "metadata": {}, ++ "source": [ ++ "There may be errors in this part because images' URLs are not accessible during a build of RPM. See [online documentation](http://nbsphinx.readthedocs.io/en/latest/code-cells.html#Image-URLs)." ++ ] ++ }, + { + "cell_type": "code", + "execution_count": null, +@@ -499,6 +506,9 @@ + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.6.3" ++ }, ++ "nbsphinx": { ++ "allow_errors": true + } + }, + "nbformat": 4, +-- +2.14.3 + diff --git a/python-nbsphinx.spec b/python-nbsphinx.spec index 40f09c6..3bdb839 100644 --- a/python-nbsphinx.spec +++ b/python-nbsphinx.spec @@ -2,8 +2,8 @@ %global pypi_name nbsphinx Name: python-%{pypi_name} -Version: 0.2.13 -Release: 2%{?dist} +Version: 0.2.17 +Release: 1%{?dist} Summary: Jupyter Notebook Tools for Sphinx License: MIT @@ -11,6 +11,7 @@ URL: http://nbsphinx.rtfd.io/ Source0: https://files.pythonhosted.org/packages/source/n/%{pypi_name}/%{pypi_name}-%{version}.tar.gz # https://github.com/spatialaudio/nbsphinx/issues/24 Patch0: %{pypi_name}-ipython-console-highlighting.patch +Patch1: 0001-Allow-errors-and-add-a-note-in-one-doc-notebook.patch BuildArch: noarch BuildRequires: python3-devel @@ -82,6 +83,10 @@ rm -rf html/{.doctrees,.buildinfo,conf.py} %doc html %changelog +* Tue Nov 28 2017 Lumír Balhar - 0.2.17-1 +- New upstream version +- Fix FTBFS + * Thu Jul 27 2017 Fedora Release Engineering - 0.2.13-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild diff --git a/sources b/sources index b31ed95..c9b84aa 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (nbsphinx-0.2.13.tar.gz) = c6489ce696094efbb88e7d6689b8c67fa5fd0c71bfdb8c044f1eab0bf5f722668acd1e839488244578cb50def58c9ba6b88334c5d977cc07692b8747e6f502c5 +SHA512 (nbsphinx-0.2.17.tar.gz) = 15fd6214d4f5a6633ab3bb4f6991022ee0a680915fc0f6ab1b4ebe0c3c54492391e30929af7e2655d6e895031faa46bd920a24931cfdfc9d789a5fb79e731e03