mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-13 17:13:00 -04:00
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>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user