commit:     3086d5c8e1ed671d1a56dbd51d317ce0f314a66d
Author:     Sean Vig <sean.v.775 <AT> gmail <DOT> com>
AuthorDate: Wed Sep  2 19:47:28 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Sep  3 13:18:00 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=3086d5c8

dev-python/nbconvert: Add note about pandoc

 dev-python/nbconvert/ChangeLog             | 3 +++
 dev-python/nbconvert/nbconvert-9999.ebuild | 8 ++++++++
 2 files changed, 11 insertions(+)

diff --git a/dev-python/nbconvert/ChangeLog b/dev-python/nbconvert/ChangeLog
index d34a29b..a3ec671 100644
--- a/dev-python/nbconvert/ChangeLog
+++ b/dev-python/nbconvert/ChangeLog
@@ -3,6 +3,9 @@
 # $Id$
 
   02 Sep 2015; Sean Vig <[email protected]> nbconvert-9999.ebuild:
+  dev-python/nbconvert: Add note about pandoc
+
+  02 Sep 2015; Sean Vig <[email protected]> nbconvert-9999.ebuild:
   dev-python/nbconvert: Add doc use flag
 
   27 Aug 2015; Marius Brehler <[email protected]> nbconvert-9999.ebuild:

diff --git a/dev-python/nbconvert/nbconvert-9999.ebuild 
b/dev-python/nbconvert/nbconvert-9999.ebuild
index b01b8b1..79299b1 100644
--- a/dev-python/nbconvert/nbconvert-9999.ebuild
+++ b/dev-python/nbconvert/nbconvert-9999.ebuild
@@ -64,3 +64,11 @@ python_install_all() {
        use doc && HTML_DOCS=( docs/build/html/. )
        distutils-r1_python_install_all
 }
+
+pkg_postinst() {
+       if ! has_version app-text/pandoc ; then
+               einfo "Pandoc is required for converting to formats other than 
Python,"
+               einfo "HTML, and Markdown. If you need this functionality, 
install"
+               einfo "app-text/pandoc."
+       fi
+}

Reply via email to