mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 22:52:59 -04:00
dev-python/sphinx-design: die gracefully
Signed-off-by: Henri Gasc <gasc@eurecom.fr>
This commit is contained in:
@@ -22,8 +22,8 @@ RDEPEND="
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
find "${S}/docs" -type f -exec sed -i 's/sphinxcontrib.napoleon/sphinx\.ext\.napoleon/g' {} \;
|
||||
rm -rf "${S}/tests"
|
||||
find "${S}/docs" -type f -exec sed -i 's/sphinxcontrib.napoleon/sphinx\.ext\.napoleon/g' {} \; || die "Could not find and replace sphinxcontrib.napoleon"
|
||||
rm -rf "${S}/tests" || die "Could not remove ${S}/tests"
|
||||
use doc && HTML_DOCS="${S}/docs/_build/html"
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user