mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-11-27 01:11:31 +00:00
scripts: sphinx-pre-install: Address issues with OpenSUSE Tumbleweed
On Tumbleweed, package names are named after python-313*, as it also has older python versions on it. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Link: https://lore.kernel.org/r/fe0b5f7c18d7b32e0229c0890371e1441ffea294.1754992972.git.mchehab+huawei@kernel.org
This commit is contained in:
parent
582b0f95c9
commit
94a161d998
1 changed files with 8 additions and 0 deletions
|
|
@ -571,6 +571,14 @@ class SphinxDependencyChecker:
|
|||
"virtualenv": "python311-virtualenv",
|
||||
"yaml": "python311-PyYAML",
|
||||
})
|
||||
else:
|
||||
# Tumbleweed defaults to Python 3.11
|
||||
|
||||
progs.update({
|
||||
"python-sphinx": "python313-Sphinx",
|
||||
"virtualenv": "python313-virtualenv",
|
||||
"yaml": "python313-PyYAML",
|
||||
})
|
||||
|
||||
# FIXME: add support for installing CJK fonts
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue