[PATCH v2 09/39] scripts: sphinx-pre-install: fix opensuse Leap hint for PyYAML

From: Mauro Carvalho Chehab
Date: Tue Aug 12 2025 - 12:06:45 EST


On Leap, the name of the package is python311-PyYAML.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx>
---
scripts/sphinx-pre-install.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/sphinx-pre-install.py b/scripts/sphinx-pre-install.py
index eca42d90ed01..65438c198674 100755
--- a/scripts/sphinx-pre-install.py
+++ b/scripts/sphinx-pre-install.py
@@ -569,7 +569,7 @@ class SphinxDependencyChecker:
progs.update({
"python-sphinx": "python311-Sphinx",
"virtualenv": "python311-virtualenv",
- "yaml": "python311-pyyaml",
+ "yaml": "python311-PyYAML",
})

# FIXME: add support for installing CJK fonts
--
2.50.1