From: Hilton Chain via Guix-patches via <guix-patches@gnu.org>
To: 61397@debbugs.gnu.org
Subject: [bug#61397] [PATCH] gnu: hyfetch: Update to 1.4.6.
Date: Fri, 10 Feb 2023 14:22:20 +0800 [thread overview]
Message-ID: <874jru11lv.wl-hako@ultrarare.space> (raw)
* 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
next reply other threads:[~2023-02-10 6:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-10 6:22 Hilton Chain via Guix-patches via [this message]
2023-02-10 18:04 ` [bug#61397] [PATCH] gnu: hyfetch: Update to 1.4.6 Liliana Marie Prikler
2023-02-11 4:34 ` [bug#61397] [PATCH v2] " Hilton Chain via Guix-patches via
2023-02-19 7:31 ` bug#61397: " Liliana Marie Prikler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874jru11lv.wl-hako@ultrarare.space \
--to=guix-patches@gnu.org \
--cc=61397@debbugs.gnu.org \
--cc=hako@ultrarare.space \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).