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

Mauro Carvalho Chehab posted 39 patches 1 month, 3 weeks ago
[PATCH v2 09/39] scripts: sphinx-pre-install: fix opensuse Leap hint for PyYAML
Posted by Mauro Carvalho Chehab 1 month, 3 weeks ago
On Leap, the name of the package is python311-PyYAML.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
---
 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