GNU bug report logs - #69113
[PATCH] gnu: go-github-com-schollz-progressbar-v3: Remove examples.

Previous Next

Package: guix-patches;

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

Date: Tue, 13 Feb 2024 22:52:02 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#69113: closed ([PATCH] gnu: go-github-com-schollz-progressbar-v3:
 Remove examples.)
Date: Mon, 19 Feb 2024 23:56:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 19 Feb 2024 23:53:53 +0000
with message-id <87ttm4huy6.fsf <at> gmail.com>
and subject line [PATCH] gnu: go-github-com-schollz-progressbar-v3: Remove examples. 
has caused the debbugs.gnu.org bug report #69113,
regarding [PATCH] gnu: go-github-com-schollz-progressbar-v3: Remove examples.
to be marked as done.

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


-- 
69113: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=69113
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-schollz-progressbar-v3: Remove examples.
Date: Tue, 13 Feb 2024 20:47:14 +0100
* gnu/packages/golang.scm (go-github-com-schollz-progressbar-v3): Remove
examples.
[arguments]<#:phases>: Add remove-examples phase.
---
 gnu/packages/golang.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 25e9715c79..c317e40979 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10227,6 +10227,10 @@ (define-public go-github-com-schollz-progressbar-v3
      (list #:import-path "github.com/schollz/progressbar/v3"
            #: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"))))
                (replace 'check
                  (lambda* (#:key tests? import-path #:allow-other-keys)
                    (when tests?

base-commit: ac470c516e19f194228edf9e348bdbc7fc10f97a
-- 
2.42.0



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

Pushed as d6cc85825feedba6a15717cc5e835b79aec5cb12 to master.

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

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

Previous Next


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