summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVirgil Dupras <vdupras@gentoo.org>2019-03-18 19:44:04 -0400
committerVirgil Dupras <vdupras@gentoo.org>2019-03-18 19:44:04 -0400
commit4e0657d2c74d4ca68c354c78d0ec8356e067c04f (patch)
treea7b826a5c5e0a08af09eb32ee45c498f8fac6186 /dev-python/pylint
parentpackage.use.mask: confirm opencv mask, bug #680656 (diff)
downloadgentoo-4e0657d2c74d4ca68c354c78d0ec8356e067c04f.tar.gz
gentoo-4e0657d2c74d4ca68c354c78d0ec8356e067c04f.tar.bz2
gentoo-4e0657d2c74d4ca68c354c78d0ec8356e067c04f.zip
dev-python/pylint: fix docs build
Closes: https://bugs.gentoo.org/680848 Signed-off-by: Virgil Dupras <vdupras@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
Diffstat (limited to 'dev-python/pylint')
-rw-r--r--dev-python/pylint/files/pylint-2.3.1-sphinx-theme.patch14
-rw-r--r--dev-python/pylint/pylint-2.3.1.ebuild4
2 files changed, 18 insertions, 0 deletions
diff --git a/dev-python/pylint/files/pylint-2.3.1-sphinx-theme.patch b/dev-python/pylint/files/pylint-2.3.1-sphinx-theme.patch
new file mode 100644
index 000000000000..9353a90957f3
--- /dev/null
+++ b/dev-python/pylint/files/pylint-2.3.1-sphinx-theme.patch
@@ -0,0 +1,14 @@
+It's not worth introducing a new dependency for a mere sphinx theme...
+diff --git a/doc/conf.py b/doc/conf.py
+index ada9ec49..2bd66593 100644
+--- a/doc/conf.py
++++ b/doc/conf.py
+@@ -99,7 +99,7 @@ pygments_style = 'sphinx'
+
+ # The theme to use for HTML and HTML Help pages. See the documentation for
+ # a list of builtin themes.
+-html_theme = 'python_docs_theme'
++html_theme = 'nature'
+
+ # Theme options are theme-specific and customize the look and feel of a theme
+ # further. For a list of options available for each theme, see the
diff --git a/dev-python/pylint/pylint-2.3.1.ebuild b/dev-python/pylint/pylint-2.3.1.ebuild
index db307294d859..a9f24be3a26e 100644
--- a/dev-python/pylint/pylint-2.3.1.ebuild
+++ b/dev-python/pylint/pylint-2.3.1.ebuild
@@ -31,6 +31,10 @@ DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
)"
+PATCHES=(
+ "${FILESDIR}/${PN}-2.3.1-sphinx-theme.patch"
+)
+
python_compile_all() {
# selection of straight html triggers a trivial annoying bug, we skirt it
use doc && PYTHONPATH="${S}" emake -e -C doc singlehtml