From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: dev-python/nbconvert/files/, dev-python/nbconvert/
Date: Mon, 7 Sep 2015 06:49:34 +0000 (UTC) [thread overview]
Message-ID: <1441446944.aebbd4d8cf833cd96c58b62010795ec21a8d6ff9.jlec@gentoo> (raw)
commit: aebbd4d8cf833cd96c58b62010795ec21a8d6ff9
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Sat Sep 5 09:55:44 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Sep 5 09:55:44 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=aebbd4d8
dev-python/nbconvert: Patch docs/Makefile, add pandoc dependency. Fixes bug #559594.
Package-Manager: portage-2.2.20.1
dev-python/nbconvert/ChangeLog | 8 ++++++++
.../nbconvert/files/nbconvert-4.0.0-docs-Makefile.patch | 16 ++++++++++++++++
...{nbconvert-4.0.0.ebuild => nbconvert-4.0.0-r1.ebuild} | 0
dev-python/nbconvert/nbconvert-9999.ebuild | 12 ++++++++----
4 files changed, 32 insertions(+), 4 deletions(-)
diff --git a/dev-python/nbconvert/ChangeLog b/dev-python/nbconvert/ChangeLog
index 796004b..9867de6 100644
--- a/dev-python/nbconvert/ChangeLog
+++ b/dev-python/nbconvert/ChangeLog
@@ -2,6 +2,14 @@
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Id$
+*nbconvert-4.0.0-r1 (05 Sep 2015)
+
+ 05 Sep 2015; Marius Brehler <marbre@linux.sungazer.de>
+ +files/nbconvert-4.0.0-docs-Makefile.patch, +nbconvert-4.0.0-r1.ebuild,
+ -nbconvert-4.0.0.ebuild, nbconvert-9999.ebuild:
+ dev-python/nbconvert: Patch docs/Makefile, add pandoc dependency. Fixes bug
+ #559594.
+
02 Sep 2015; Sean Vig <sean.v.775@gmail.com>
+files/nbconvert-4.0.0-pandoc-highlighting.patch nbconvert-9999.ebuild:
dev-python/nbconvert: Use upstream patch for new pandoc versions
diff --git a/dev-python/nbconvert/files/nbconvert-4.0.0-docs-Makefile.patch b/dev-python/nbconvert/files/nbconvert-4.0.0-docs-Makefile.patch
new file mode 100644
index 0000000..130a4af
--- /dev/null
+++ b/dev-python/nbconvert/files/nbconvert-4.0.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.0.0.ebuild b/dev-python/nbconvert/nbconvert-4.0.0-r1.ebuild
similarity index 100%
rename from dev-python/nbconvert/nbconvert-4.0.0.ebuild
rename to dev-python/nbconvert/nbconvert-4.0.0-r1.ebuild
diff --git a/dev-python/nbconvert/nbconvert-9999.ebuild b/dev-python/nbconvert/nbconvert-9999.ebuild
index d775d3e..ab0314a 100644
--- a/dev-python/nbconvert/nbconvert-9999.ebuild
+++ b/dev-python/nbconvert/nbconvert-9999.ebuild
@@ -3,7 +3,7 @@
# $Id$
EAPI=5
-PYTHON_COMPAT=( python2_7 python{3_3,3_4} )
+PYTHON_COMPAT=( python{3_3,3_4} )
inherit distutils-r1
@@ -12,13 +12,14 @@ MY_PN="nbconvert"
DESCRIPTION="Converting Jupyter Notebooks"
HOMEPAGE="http://jupyter.org"
+PATCHES=( "${FILESDIR}/${PN}"-4.0.0-docs-Makefile.patch )
if [ ${PV} == "9999" ] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/jupyter/${MY_PN}.git git://github.com/jupyter/${MY_PN}.git"
-else
+ else
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64"
- PATCHES=( "${FILESDIR}"/${P}-pandoc-highlighting.patch )
+ PATCHES+=( "${FILESDIR}"/${P}-pandoc-highlighting.patch )
fi
LICENSE="BSD"
@@ -34,7 +35,10 @@ RDEPEND="
dev-python/traitlets[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+ doc? (
+ dev-python/sphinx[${PYTHON_USEDEP}]
+ app-text/pandoc
+ )
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/coverage[${PYTHON_USEDEP}]
next reply other threads:[~2015-09-07 6:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-07 6:49 Justin Lecher [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-05-17 11:59 [gentoo-commits] proj/sci:master commit in: dev-python/nbconvert/files/, dev-python/nbconvert/ Marius Brehler
2015-11-28 18:02 Marius Brehler
2015-09-04 5:46 Justin Lecher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1441446944.aebbd4d8cf833cd96c58b62010795ec21a8d6ff9.jlec@gentoo \
--to=jlec@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox