dev-python/python-jose: enable doc generation

Signed-off-by: Zamarin Arthur <arthurzam@gmail.com>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Zamarin Arthur
2021-05-22 11:16:30 +03:00
committed by Michał Górny
parent 1a8b813c50
commit e811dd0de1

View File

@@ -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
}