GNU bug report logs - #61397
[PATCH] gnu: hyfetch: Update to 1.4.6.

Previous Next

Package: guix-patches;

Reported by: Hilton Chain <hako <at> ultrarare.space>

Date: Fri, 10 Feb 2023 06:24:02 UTC

Severity: normal

Tags: patch

Done: Liliana Marie Prikler <liliana.prikler <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Hilton Chain <hako <at> ultrarare.space>
Subject: bug#61397: closed (Re: [PATCH v2] gnu: hyfetch: Update to 1.4.6.)
Date: Sun, 19 Feb 2023 07:32:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

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

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 61397 <at> debbugs.gnu.org.

-- 
61397: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61397
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Hilton Chain <hako <at> ultrarare.space>, 61397-done <at> debbugs.gnu.org
Subject: Re: [PATCH v2] gnu: hyfetch: Update to 1.4.6.
Date: Sun, 19 Feb 2023 08:31:00 +0100
Am Samstag, dem 11.02.2023 um 12:34 +0800 schrieb Hilton Chain:
> 
> * gnu/packages/patches/hyfetch-fix-generator-script-quotation-
> escaping.patch:
> New file.
> * gnu/packages/patches/hyfetch-remove-old-catchy-os-py.patch: New
> file.
> * gnu/local.mk (dist_patch_DATA): Add them.
> * gnu/packages/admin.scm (hyfetch)[source]: Update to 1.4.6.
> Switch to git source and add patches.
> [inputs]: Remove python-hypy-utils.
> [arguments]<#:phases>: Remove set-HOME phase.
> ---
Pushed.

[Message part 3 (message/rfc822, inline)]
From: Hilton Chain <hako <at> ultrarare.space>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: hyfetch: Update to 1.4.6.
Date: Fri, 10 Feb 2023 14:22:20 +0800
* 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.
+           #:phases
+           #~(modify-phases %standard-phases
+               ;; Copied from the original install phase, w/o byte-compiling.
+               ;; Since the same error in test occurs with that.
+               (replace 'install
+                 (lambda _
+                   (let ((params (list (string-append "--prefix=" #$output)
+                                       "--no-compile"
+                                       "--single-version-externally-managed"
+                                       "--root=/")))
+                     ((@@ (guix build python-build-system)
+                          call-setuppy) "install" params #t)))))))
     (home-page "https://github.com/hykilpikonna/HyFetch")
     (synopsis "@code{neofetch} with pride flags <3")
     (description "HyFetch is a command-line system information tool fork of

base-commit: b8f6ead5faac3c1b9a8fa6e060c00cf0917e884e
-- 
2.39.1




This bug report was last modified 2 years and 92 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.