1 |
commit: 4cc5b3f16fc8724966b0105102eddd042dd5187b |
2 |
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de> |
3 |
AuthorDate: Mon Nov 30 09:40:15 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 30 09:40:15 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cc5b3f1 |
7 |
|
8 |
dev-python/nbconvert: Add missing patch |
9 |
|
10 |
Package-Manager: portage-2.2.20.1 |
11 |
|
12 |
.../nbconvert/files/nbconvert-4.1.0-docs-Makefile.patch | 16 ++++++++++++++++ |
13 |
dev-python/nbconvert/nbconvert-4.1.0.ebuild | 2 +- |
14 |
2 files changed, 17 insertions(+), 1 deletion(-) |
15 |
|
16 |
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 |
17 |
new file mode 100644 |
18 |
index 0000000..130a4af |
19 |
--- /dev/null |
20 |
+++ b/dev-python/nbconvert/files/nbconvert-4.1.0-docs-Makefile.patch |
21 |
@@ -0,0 +1,16 @@ |
22 |
+nbconvert is not yet installed at time of doc generation. |
23 |
+ |
24 |
+Patch by Marius Brehler |
25 |
+--- docs/Makefile |
26 |
++++ docs/Makefile |
27 |
+@@ -61,8 +61,8 @@ source/config_options.rst: |
28 |
+ @echo "Created docs for config options" |
29 |
+ |
30 |
+ ipynb2rst: |
31 |
+- jupyter nbconvert --to rst source/customizing.ipynb --FilesWriter.build_directory=source |
32 |
+- jupyter nbconvert --to rst source/nbconvert_library.ipynb --FilesWriter.build_directory=source |
33 |
++ ../scripts/jupyter-nbconvert --to rst source/customizing.ipynb --FilesWriter.build_directory=source |
34 |
++ ../scripts/jupyter-nbconvert --to rst source/nbconvert_library.ipynb --FilesWriter.build_directory=source |
35 |
+ @echo "Converted notebooks to rst" |
36 |
+ |
37 |
+ dirhtml: |
38 |
|
39 |
diff --git a/dev-python/nbconvert/nbconvert-4.1.0.ebuild b/dev-python/nbconvert/nbconvert-4.1.0.ebuild |
40 |
index c6973b8..e57455a 100644 |
41 |
--- a/dev-python/nbconvert/nbconvert-4.1.0.ebuild |
42 |
+++ b/dev-python/nbconvert/nbconvert-4.1.0.ebuild |
43 |
@@ -20,7 +20,7 @@ KEYWORDS="~amd64 ~x86" |
44 |
IUSE="doc test" |
45 |
|
46 |
PATCHES=( |
47 |
- "${FILESDIR}"/${PN}-4.0.0-docs-Makefile.patch |
48 |
+ "${FILESDIR}"/${P}-docs-Makefile.patch |
49 |
) |
50 |
|
51 |
RDEPEND=" |