GNU bug report logs - #69224
[PATCH] gnu: go-github-com-charmbracelet-harmonica: Remove examples.

Previous Next

Package: guix-patches;

Reported by: Troy Figiel <troy <at> troyfigiel.com>

Date: Sun, 18 Feb 2024 18:24:07 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <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: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#69224: closed ([PATCH] gnu: go-github-com-charmbracelet-harmonica:
 Remove examples.)
Date: Mon, 19 Feb 2024 23:48:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 19 Feb 2024 23:46:03 +0000
with message-id <87a5nwj9vo.fsf <at> gmail.com>
and subject line [PATCH] gnu: go-github-com-charmbracelet-harmonica: Remove examples.
has caused the debbugs.gnu.org bug report #69224,
regarding [PATCH] gnu: go-github-com-charmbracelet-harmonica: Remove examples.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
69224: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=69224
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Troy Figiel <troy <at> troyfigiel.com>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: go-github-com-charmbracelet-harmonica: Remove examples.
Date: Sat, 17 Feb 2024 11:17:46 +0100
* gnu/packages/golang.scm (go-github-com-charmbracelet-harmonica): Remove examples.
[arguments] <#:phases>: Add remove-examples phase.
---
 gnu/packages/golang.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 527b63d160..3394b8e127 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7872,7 +7872,13 @@ (define-public go-github-com-charmbracelet-harmonica
         (base32 "1aasg0c0xxhwav4ivm1mqmsqab6lk407xky8c19pb85r1hdbq0n7"))))
     (build-system go-build-system)
     (arguments
-     '(#:import-path "github.com/charmbracelet/harmonica"))
+     (list
+      #:import-path "github.com/charmbracelet/harmonica"
+      #:phases #~(modify-phases %standard-phases
+                   (add-after 'unpack 'remove-examples
+                     (lambda* (#:key import-path #:allow-other-keys)
+                       (delete-file-recursively
+                        (string-append "src/" import-path "/examples")))))))
     (home-page "https://github.com/charmbracelet/harmonica")
     (synopsis "Simple, physics-based animation library")
     (description

base-commit: 91d80460296e2d5a01704d0f34fb966a45a165ae
-- 
2.42.0



[Message part 3 (message/rfc822, inline)]
From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 69224-done <at> debbugs.gnu.org
Subject: [PATCH] gnu: go-github-com-charmbracelet-harmonica: Remove examples.
Date: Mon, 19 Feb 2024 23:46:03 +0000
[Message part 4 (text/plain, inline)]
Hi,

Pushed as 8abb1e59fd93b4ff81326aa18b5f309d87b0a200 to master.

--
Oleg
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 1 year and 144 days ago.

Previous Next


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