Danny Milosavljevic <dan...@scratchpost.org> writes:

> * gnu/packages/python.scm (python-matplotlib): Fix documentation reST markup 
> error.
> ---
>  gnu/packages/python.scm | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index 4e1a6b4a8..bc9058ba3 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -3629,6 +3629,11 @@ transcendental functions).")
>         (sha256
>          (base32
>           "1dn05cvd0g984lzhh72wa0z93psgwshbbg93fkab6slx5m3l95av"))
> +       (modules '((guix build utils)))
> +       (snippet
> +        '(substitute* "doc/users/intro.rst"
> +           ;; Fix reST markup error (see 
> <https://github.com/sphinx-doc/sphinx/issues/3044>)
> +           (("[[][*][]]") "[#]")))

Please run this substitution in a phase instead. Source snippets change
the source presented to users running `guix build -S` and should be
reserved for critical bug fixes and reproducibility problems, but
otherwise stay as close to upstream as possible.

Attachment: signature.asc
Description: PGP signature

Reply via email to