summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-06-06 08:25:11 +0200
committerMichał Górny <mgorny@gentoo.org>2020-06-06 10:38:04 +0200
commitb8f9e9df7166e65d3df838ac0ecca3948fd7447b (patch)
treeab3683264244ea4aff7dd767cbc0a37746957a1b /dev-python/gmpy
parentdev-util/google-perftools: fix whitespace in metadata.xml (diff)
downloadgentoo-b8f9e9df7166e65d3df838ac0ecca3948fd7447b.tar.gz
gentoo-b8f9e9df7166e65d3df838ac0ecca3948fd7447b.tar.bz2
gentoo-b8f9e9df7166e65d3df838ac0ecca3948fd7447b.zip
dev-python/gmpy: Backport doc build fix
Closes: https://bugs.gentoo.org/725884 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/gmpy')
-rw-r--r--dev-python/gmpy/gmpy-2.0.8-r1.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/dev-python/gmpy/gmpy-2.0.8-r1.ebuild b/dev-python/gmpy/gmpy-2.0.8-r1.ebuild
index 20eb7743c648..489f7e730962 100644
--- a/dev-python/gmpy/gmpy-2.0.8-r1.ebuild
+++ b/dev-python/gmpy/gmpy-2.0.8-r1.ebuild
@@ -38,12 +38,15 @@ PATCHES=(
distutils_enable_sphinx docs
python_prepare_all() {
- distutils-r1_python_prepare_all
-
# rm non std test file
rm test*/gmpy_test_thr.py || die
# testing for contents of __dir__ is really silly, and fails
sed -i -e '/__dir__/,+1d' test3/*.py || die
+ # fix sphinx-1.8+ compat
+ # https://github.com/aleaxit/gmpy/commit/c35c1f3319fcf95e894a59a6d523851bad4abf66
+ sed -i -e 's:pngmath:imgmath:' docs/conf.py || die
+
+ distutils-r1_python_prepare_all
}
python_configure_all() {