Summary: | >=dev-libs/libinput-1.12.1-r1[doc]: unsupported theme option 'navigation_depth' given | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Rolf Eike Beer <eike> |
Component: | Current packages | Assignee: | Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gnome, x11 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 668764 | ||
Attachments: | build.log |
Description
Rolf Eike Beer
![]() Show: emerge -ptv dev-python/sphinx dev-python/sphinx_rtd_theme doc/user/conf.py.in has: html_theme = 'sphinx_rtd_theme' So maybe explicit dependency on dev-python/sphinx_rtd_theme would be needed... [ebuild U ] dev-python/sphinx_rtd_theme-0.2.4::gentoo [0.1.9::gentoo] PYTHON_TARGETS="python2_7 python3_6 (-pypy) (-pypy3) -python3_4 -python3_5* (-python3_7)" 1,360 KiB [ebuild UD ] dev-python/sphinx-1.2.3-r1::gentoo [1.6.5::gentoo] USE="-doc -latex {-test} (-net%)" PYTHON_TARGETS="python2_7 python3_6 (-pypy) (-pypy3) -python3_4 -python3_5*" 3,126 KiB [ebuild UD ] dev-python/docutils-0.12::gentoo [0.13.1::gentoo] PYTHON_TARGETS="python2_7 python3_6 (-pypy) (-pypy3) -python3_4 -python3_5*" 0 KiB Same with 1.12.2 Still not sure what to do here as I son't know how to reproduce the issue. s/son't/don't/ (In reply to Lars Wendler (Polynomial-C) from comment #4) > Still not sure what to do here as I son't know how to reproduce the issue. Well, let me tell you what I did... I searched for the error ("unsupported theme option 'navigation_depth' given") and found https://github.com/rtfd/sphinx_rtd_theme/issues/281 which said > navigation_depth is not in a release yet, you can use the repo address in a requirements file for now to get the option. And from that I wondered if my version of dev-python/sphinx_rtd_theme was new enough. I had latest stable, 0.1.9, same as Rolf. So I tried updating to 0.2.4. After that, libinput[doc] emerges successfully. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39040199e9a32ec1347386b9859e073dbbe47995 commit 39040199e9a32ec1347386b9859e073dbbe47995 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2018-11-27 20:40:43 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2018-11-27 20:40:46 +0000 dev-libs/libinput: Depend on new enough dev-python/sphinx_rtd_theme Closes: https://bugs.gentoo.org/668812 Signed-off-by: Matt Turner <mattst88@gentoo.org> dev-libs/libinput/libinput-1.12.3.ebuild | 1 + 1 file changed, 1 insertion(+) (In reply to comment #6 and comment #7) I think that you would want to add this change in python_check_deps(): - has_version "dev-python/sphinx[${PYTHON_USEDEP}]" + has_version "dev-python/sphinx[${PYTHON_USEDEP}]" && \ + has_version ">=dev-python/sphinx_rtd_theme-0.2.4[${PYTHON_USEDEP}]" Thanks Arfrever. Committed as commit 621ecd5e97a4938321a029c0d7d6185c67861cfd (HEAD -> master) Author: Arfrever Frehtes Taifersar Arahesis <arfrever.fta@gmail.com> Date: Tue Nov 27 15:10:28 2018 -0800 dev-libs/libinput: Update python_check_deps() Signed-off-by: Matt Turner <mattst88@gentoo.org> |