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 0000000000000..130a4afc06cca --- /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 c6973b8f0030f..e57455a4b0d2c 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="