Subject: [bug#61397] [PATCH] gnu: hyfetch: Update to 1.4.6.

From: Liliana Marie Prikler <[email-masked]>
Date: Fri, 10 Feb 2023 19:04:28 +0100

Am Freitag, dem 10.02.2023 um 14:22 +0800 schrieb Hilton Chain:
> 
> * gnu/packages/admin.scm (hyfetch): Update to 1.4.6.
> [inputs]: Remove python-hypy-utils.
> [arguments]<#:tests?>: Disable tests.
> <#:phases>: Remove set-HOME phase.
> Replace install phase to one w/o byte-compilation.
> ---
>  gnu/packages/admin.scm | 24 +++++++++++++++++-------
>  1 file changed, 17 insertions(+), 7 deletions(-)
> 
> diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
> index 9a82740eb6..8d06b5379e 100644
> --- a/gnu/packages/admin.scm
> +++ b/gnu/packages/admin.scm
> @@ -3922,19 +3922,29 @@ (define-public neofetch
>  (define-public hyfetch
>    (package
>      (name "hyfetch")
> -    (version "1.4.4")
> +    (version "1.4.6")
>      (source
>        (origin
>          (method url-fetch)
>          (uri (pypi-uri "HyFetch" version))
>          (sha256
> -          (base32
> "1k3pcl16y2czkk7wd79yk0w1kqpi4fp8h8szhjs5ywwy20nqmms8"))))
> +          (base32
> "1vpknh08vhwyvjg7p8id3hvlq1yv7yjw8xxgjf0rmx3b1k2mpww1"))))
>      (build-system python-build-system)
> -    (inputs (list python-hypy-utils python-typing-extensions))
> -    (arguments `(#:phases (modify-phases %standard-phases
> -                            (add-before 'build 'set-HOME
> -                              (lambda _  ;; Tries to set files in
> .config
> -                                (setenv "HOME" "/tmp"))))))
> +    (inputs (list python-typing-extensions))
> +    (arguments
> +     (list #:tests? #f    ;FIXME: `SyntaxError: invalid syntax` in
> some logos.
Don't blindly disable tests.  Fix the syntax error instead.

Cheers