Re: [PATCH 1/1] gnu: python-matplotlib: Fix documentation reST markup error.

2017-01-05 Thread Marius Bakke
Danny Milosavljevic  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 
> )
> +   (("[[][*][]]") "[#]")))

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.


signature.asc
Description: PGP signature


[PATCH 1/1] gnu: python-matplotlib: Fix documentation reST markup error.

2017-01-04 Thread Danny Milosavljevic
* 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 
)
+   (("[[][*][]]") "[#]")))
(patches (search-patches "matplotlib-setupext-tk.patch"
 (build-system python-build-system)
 (outputs '("out" "doc"))