commit: e811dd0de1e7f4237b5ac19775e6cec11ae8decf
Author: Zamarin Arthur <arthurzam <AT> gmail <DOT> com>
AuthorDate: Sat May 22 08:16:30 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat May 22 10:52:13 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e811dd0d
dev-python/python-jose: enable doc generation
Signed-off-by: Zamarin Arthur <arthurzam <AT> gmail.com>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/python-jose/python-jose-3.2.0-r1.ebuild | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dev-python/python-jose/python-jose-3.2.0-r1.ebuild
b/dev-python/python-jose/python-jose-3.2.0-r1.ebuild
index 6b5270e414e..a896c8929b3 100644
--- a/dev-python/python-jose/python-jose-3.2.0-r1.ebuild
+++ b/dev-python/python-jose/python-jose-3.2.0-r1.ebuild
@@ -25,12 +25,14 @@ RDEPEND="
"
distutils_enable_tests pytest
+distutils_enable_sphinx docs
python_prepare_all() {
sed -e '/pytest-runner/d' \
-e '/ecdsa/s:<0.15::' \
-i setup.py || die
sed -e '/addopts/d' -i setup.cfg || die
+ sed -e 's/sphinxcontrib.napoleon/sphinx.ext.napoleon/' -i docs/conf.py
|| die
distutils-r1_python_prepare_all
}