aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@riseup.net>2020-06-14 22:12:01 +0200
committerAndrew Ammerlaan <andrewammerlaan@riseup.net>2020-06-14 22:12:27 +0200
commite82db9c838c494ff8eba37d89949a57dc1bdcc5e (patch)
treec8aeba53f828d9463b1392960c4a13516c6d5375 /dev-python
parentgames-util/legendary: Add Python 3.9 support. (diff)
downloadguru-e82db9c838c494ff8eba37d89949a57dc1bdcc5e.tar.gz
guru-e82db9c838c494ff8eba37d89949a57dc1bdcc5e.tar.bz2
guru-e82db9c838c494ff8eba37d89949a57dc1bdcc5e.zip
dev-python/quantities: allow doc building with newer sphinx
Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/quantities/quantities-0.12.4.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/dev-python/quantities/quantities-0.12.4.ebuild b/dev-python/quantities/quantities-0.12.4.ebuild
index 2a20bbc5..f7d77e9c 100644
--- a/dev-python/quantities/quantities-0.12.4.ebuild
+++ b/dev-python/quantities/quantities-0.12.4.ebuild
@@ -32,9 +32,12 @@ python_prepare_all() {
sed -i -e 's:test_fix:_&:' \
quantities/tests/test_umath.py || die
+ # pngmath replaced with imgmath in sphinx>1.8
+ sed -i -e 's:ext.pngmath:ext.imgmath:g' \
+ doc/conf.py || die
+
distutils-r1_python_prepare_all
}
distutils_enable_tests unittest
-# wants ext.pngmath which got removed in sphinx-2
-distutils_enable_sphinx doc dev-python/numpydoc "<dev-python/sphinx-2"
+distutils_enable_sphinx doc dev-python/numpydoc ">dev-python/sphinx-1.8"