commit:     27c6357e8da239117e053c45e378f93025742bc3
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 12 15:33:49 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jul 12 18:49:33 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27c6357e

dev-python/sphinx: Disable test_theme_api due to fragility

Disable test_theme_api as it fails whenever additional Sphinx themes
are installed.

 dev-python/sphinx/sphinx-1.7.5-r1.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-python/sphinx/sphinx-1.7.5-r1.ebuild 
b/dev-python/sphinx/sphinx-1.7.5-r1.ebuild
index 1b87b472641..fc0dcb5a942 100644
--- a/dev-python/sphinx/sphinx-1.7.5-r1.ebuild
+++ b/dev-python/sphinx/sphinx-1.7.5-r1.ebuild
@@ -64,6 +64,9 @@ python_prepare_all() {
        rm tests/test_websupport.py || die "Failed to remove web tests"
        rm tests/test_build_linkcheck.py || die "Failed to remove web tests"
 
+       # fails when additional sphinx themes are installed
+       sed -i -e 's:test_theme_api:_&:' tests/test_theming.py || die
+
        distutils-r1_python_prepare_all
 }
 

Reply via email to