[PATCH 09/15] scripts: sphinx-pre-install.py fix opensuse hints

Mauro Carvalho Chehab posted 15 patches 3 months, 1 week ago
There is a newer version of this series
[PATCH 09/15] scripts: sphinx-pre-install.py fix opensuse hints
Posted by Mauro Carvalho Chehab 3 months, 1 week ago
yaml hints arw wrong.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
---
 scripts/sphinx-pre-install.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/sphinx-pre-install.py b/scripts/sphinx-pre-install.py
index eca42d90ed01..69e2ea228df7 100755
--- a/scripts/sphinx-pre-install.py
+++ b/scripts/sphinx-pre-install.py
@@ -530,7 +530,7 @@ class SphinxDependencyChecker:
             "python-sphinx": "python3-sphinx",
             "virtualenv":    "python3-virtualenv",
             "xelatex":       "texlive-xetex-bin",
-            "yaml":          "python3-pyyaml",
+            "yaml":          "python3-pyyaml",     # or python3-PyYAML?
         }
 
         # On Tumbleweed, this package is also named rsvg-convert
@@ -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.0