scripts: sphinx-pre-install: Add pyyaml hint to other distros
authorThorsten Blum <thorsten.blum@toblux.com>
Sat, 23 Mar 2024 12:58:38 +0000 (13:58 +0100)
committerJonathan Corbet <corbet@lwn.net>
Tue, 2 Apr 2024 16:07:51 +0000 (10:07 -0600)
commit1cbd16e3c125f34bef481ea048ec59bf24f1cbf4
treecb801271383bc902b9321edeba4cde0b5eddbe77
parent886f6cac31cb2072ee79fe3009b7a89cea960ac7
scripts: sphinx-pre-install: Add pyyaml hint to other distros

Extend commit 84b4cc8189f2 ("docs: scripts: sphinx-pre-install: Fix
building docs with pyyaml package") and add pyyaml as an optional
package to Mageia, ArchLinux, and Gentoo.

The Python module pyyaml is required to build the docs, but it is only
listed in Documentation/sphinx/requirements.txt and is therefore missing
when Sphinx is installed as a package and not via pip/pypi.

Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20240323125837.2022-2-thorsten.blum@toblux.com
scripts/sphinx-pre-install