commit:     03173adb935455f1864bf57822caff99d87096b1
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Tue Jul 12 08:12:21 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Jul 12 17:15:45 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03173adb

dev-python/doit: fix tests and doc building

Closes: https://bugs.gentoo.org/832754
Closes: https://bugs.gentoo.org/836164
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/26363
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/doit/doit-0.36.0.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/dev-python/doit/doit-0.36.0.ebuild 
b/dev-python/doit/doit-0.36.0.ebuild
index 689baad9e7a2..a4f3e2c3c9d9 100644
--- a/dev-python/doit/doit-0.36.0.ebuild
+++ b/dev-python/doit/doit-0.36.0.ebuild
@@ -39,12 +39,18 @@ distutils_enable_sphinx doc \
 
 EPYTEST_DESELECT=(
        # test failing due to impact on PATH run in a sandbox
+       tests/test_cmd_strace.py::TestCmdStrace::test_dep # #836164
        tests/test_cmd_strace.py::TestCmdStrace::test_target
 )
 
 src_prepare() {
        # Replace custom theme with builtin for documentation
        sed -e '/html_theme/s/press/sphinx_rtd_theme/' -i doc/conf.py || die
+       # Remove non-exist modules for doc generation (#832754)
+       sed \
+               -e '/sphinx_sitemap/d' \
+               -e '/sphinx_reredirects/d' \
+               -i doc/conf.py || die
 
        distutils-r1_src_prepare
 }

Reply via email to