Subject: [bug#41460] [PATCH] gnu: Add python-pyfiglet

From: Marius Bakke <[email-masked]>
Date: Sat, 30 May 2020 14:58:06 +0200

Edouard Klein <[email-masked]> writes:

> * gnu/packages/python-xyz (python-pyfiglet): New variable.

Thanks!

[...]

> diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
> index d8552276fc..7a1312e87b 100644
> --- a/gnu/packages/python-xyz.scm
> +++ b/gnu/packages/python-xyz.scm
> @@ -20133,3 +20133,21 @@ using multi-select lists, confirmations, free text prompts, completion, etc.")
>  background tasks, and check these tasks' health by hand, relaunch them, etc. by attaching
>  to the corresponding pane in tmux.")
>      (license license:agpl3+)))
> +
> +(define-public python-pyfiglet

This depends on some missing context in python-xyz.scm and does not
apply.  Can you rebase this on 'master'?

> +  (package
> +  (name "python-pyfiglet")

The indentation here is off.  If you are not using Emacs, there is a
script to help with the indentation.

> +  (version "0.8.post1")
> +  (source
> +    (origin
> +      (method url-fetch)
> +      (uri (pypi-uri "pyfiglet" version))
> +      (sha256
> +        (base32
> +          "0f9n2076ga2ccsg174k2d7n0z4d44ml96yzc72s6g4nhalbk5hn6"))))
> +  (build-system python-build-system)
> +  (home-page "https://github.com/pwaller/pyfiglet")
> +  (synopsis "Pure-python FIGlet implementation")
> +  (description "This module lets you draw large letter from ordinary characters
> + in pure Python.")

It would be good to define FIGlet here somewhere.

Can you send an updated patch?