dev-python/nbconvert: Add missing patch
authorMarius Brehler <marbre@linux.sungazer.de>
Mon, 30 Nov 2015 09:40:15 +0000 (10:40 +0100)
committerMarius Brehler <marbre@linux.sungazer.de>
Mon, 30 Nov 2015 09:40:15 +0000 (10:40 +0100)
Package-Manager: portage-2.2.20.1

dev-python/nbconvert/files/nbconvert-4.1.0-docs-Makefile.patch [new file with mode: 0644]
dev-python/nbconvert/nbconvert-4.1.0.ebuild

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 (file)
index 0000000..130a4af
--- /dev/null
@@ -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:
index c6973b8f0030f5642a19dbd119bb3e2bad6ca49c..e57455a4b0d2c6e9e2363f98d62b656aa2db51eb 100644 (file)
@@ -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="