dev-python/sphinx: Disable test_theme_api due to fragility
authorMichał Górny <mgorny@gentoo.org>
Thu, 12 Jul 2018 15:33:49 +0000 (17:33 +0200)
committerMichał Górny <mgorny@gentoo.org>
Thu, 12 Jul 2018 18:49:33 +0000 (20:49 +0200)
Disable test_theme_api as it fails whenever additional Sphinx themes
are installed.

dev-python/sphinx/sphinx-1.7.5-r1.ebuild

index 1b87b472641d2fec0c3c3af9da459658aed0a3dd..fc0dcb5a942395b346160346100075efcee20f92 100644 (file)
@@ -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
 }