commit:     4cc5b3f16fc8724966b0105102eddd042dd5187b
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Mon Nov 30 09:40:15 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Nov 30 09:40:15 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cc5b3f1

dev-python/nbconvert: Add missing patch

Package-Manager: portage-2.2.20.1

 .../nbconvert/files/nbconvert-4.1.0-docs-Makefile.patch  | 16 ++++++++++++++++
 dev-python/nbconvert/nbconvert-4.1.0.ebuild              |  2 +-
 2 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/dev-python/nbconvert/files/nbconvert-4.1.0-docs-Makefile.patch 
b/dev-python/nbconvert/files/nbconvert-4.1.0-docs-Makefile.patch
new file mode 100644
index 0000000..130a4af
--- /dev/null
+++ b/dev-python/nbconvert/files/nbconvert-4.1.0-docs-Makefile.patch
@@ -0,0 +1,16 @@
+nbconvert is not yet installed at time of doc generation.
+
+Patch by Marius Brehler
+--- docs/Makefile
++++ docs/Makefile
+@@ -61,8 +61,8 @@ source/config_options.rst:
+       @echo "Created docs for config options"
+ 
+ ipynb2rst:
+-      jupyter nbconvert --to rst source/customizing.ipynb 
--FilesWriter.build_directory=source
+-      jupyter nbconvert --to rst source/nbconvert_library.ipynb 
--FilesWriter.build_directory=source
++      ../scripts/jupyter-nbconvert --to rst source/customizing.ipynb 
--FilesWriter.build_directory=source
++      ../scripts/jupyter-nbconvert --to rst source/nbconvert_library.ipynb 
--FilesWriter.build_directory=source
+       @echo "Converted notebooks to rst"
+ 
+ dirhtml:

diff --git a/dev-python/nbconvert/nbconvert-4.1.0.ebuild 
b/dev-python/nbconvert/nbconvert-4.1.0.ebuild
index c6973b8..e57455a 100644
--- a/dev-python/nbconvert/nbconvert-4.1.0.ebuild
+++ b/dev-python/nbconvert/nbconvert-4.1.0.ebuild
@@ -20,7 +20,7 @@ KEYWORDS="~amd64 ~x86"
 IUSE="doc test"
 
 PATCHES=(
-       "${FILESDIR}"/${PN}-4.0.0-docs-Makefile.patch
+       "${FILESDIR}"/${P}-docs-Makefile.patch
 )
 
 RDEPEND="

Reply via email to