From: Jonathan Corbet <corbet@lwn.net>
To: Thorsten Blum <thorsten.blum@toblux.com>,
Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
Thorsten Blum <thorsten.blum@toblux.com>
Subject: Re: [PATCH] scripts: sphinx-pre-install: Add pyyaml hint to other distros
Date: Tue, 02 Apr 2024 09:30:07 -0600 [thread overview]
Message-ID: <87ttkjwznk.fsf@meer.lwn.net> (raw)
In-Reply-To: <20240323125837.2022-2-thorsten.blum@toblux.com>
Thorsten Blum <thorsten.blum@toblux.com> writes:
> 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>
> ---
> scripts/sphinx-pre-install | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/scripts/sphinx-pre-install b/scripts/sphinx-pre-install
> index 4c781617ffe6..d4f05216ca23 100755
> --- a/scripts/sphinx-pre-install
> +++ b/scripts/sphinx-pre-install
> @@ -514,6 +514,7 @@ sub give_mageia_hints()
> {
> my %map = (
> "python-sphinx" => "python3-sphinx",
> + "yaml" => "python3-yaml",
> "virtualenv" => "python3-virtualenv",
> "dot" => "graphviz",
> "convert" => "ImageMagick",
> @@ -557,6 +558,7 @@ sub give_mageia_hints()
> sub give_arch_linux_hints()
> {
> my %map = (
> + "yaml" => "python-yaml",
> "virtualenv" => "python-virtualenv",
> "dot" => "graphviz",
> "convert" => "imagemagick",
> @@ -587,6 +589,7 @@ sub give_arch_linux_hints()
> sub give_gentoo_hints()
> {
> my %map = (
> + "yaml" => "dev-python/pyyaml",
> "virtualenv" => "dev-python/virtualenv",
> "dot" => "media-gfx/graphviz",
> "convert" => "media-gfx/imagemagick",
Applied, thanks.
jon
prev parent reply other threads:[~2024-04-02 15:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-23 12:58 Thorsten Blum
2024-04-02 15:30 ` Jonathan Corbet [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ttkjwznk.fsf@meer.lwn.net \
--to=corbet@lwn.net \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=thorsten.blum@toblux.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®