summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2017-06-03 12:25:22 -0400
committerMike Gilbert <floppym@gentoo.org>2017-06-03 12:25:39 -0400
commit9fdd69744ab5ff7632480bfe19ed9b90baac1621 (patch)
tree6fcb8ac5a23b8d6fd6f69f23dc9294f176faa74e /dev-python/networkx/networkx-1.11.ebuild
parentdev-util/meson: stabilizing 0.40.1 for #620438 (diff)
downloadgentoo-9fdd69744ab5ff7632480bfe19ed9b90baac1621.tar.gz
gentoo-9fdd69744ab5ff7632480bfe19ed9b90baac1621.tar.bz2
gentoo-9fdd69744ab5ff7632480bfe19ed9b90baac1621.zip
dev-python/networkx: fix sphinx error
Bug: https://bugs.gentoo.org/594626 Package-Manager: Portage-2.3.6_p1, Repoman-2.3.2_p69
Diffstat (limited to 'dev-python/networkx/networkx-1.11.ebuild')
-rw-r--r--dev-python/networkx/networkx-1.11.ebuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/dev-python/networkx/networkx-1.11.ebuild b/dev-python/networkx/networkx-1.11.ebuild
index f92e3513a853..a07a2d223c8e 100644
--- a/dev-python/networkx/networkx-1.11.ebuild
+++ b/dev-python/networkx/networkx-1.11.ebuild
@@ -43,6 +43,10 @@ RDEPEND="
dev-python/pyyaml[${PYTHON_USEDEP}]
)"
+PATCHES=(
+ "${FILESDIR}"/1.11-sphinx-pngmath.patch
+)
+
pkg_setup() {
use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python2*' )
}
@@ -54,13 +58,7 @@ python_prepare_all() {
}
python_compile_all() {
- # https://github.com/networkx/networkx/issues/1263
- if use doc; then
- sed \
- -e "s:^\t\./:\t${PYTHON} :g" \
- -i doc/Makefile || die
- emake -C doc html
- fi
+ use doc && emake -C doc html
}
python_test() {