From: Troy Figiel <troy@troyfigiel.com>
To: 69113@debbugs.gnu.org
Subject: [bug#69113] [PATCH] gnu: go-github-com-schollz-progressbar-v3: Remove examples.
Date: Tue, 13 Feb 2024 20:47:14 +0100 [thread overview]
Message-ID: <87plx0asgg.fsf@troyfigiel.com> (raw)
* 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
next reply other threads:[~2024-02-13 22:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-13 19:47 Troy Figiel [this message]
2024-02-19 23:53 ` bug#69113: [PATCH] gnu: go-github-com-schollz-progressbar-v3: Remove examples Sharlatan Hellseher
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87plx0asgg.fsf@troyfigiel.com \
--to=troy@troyfigiel.com \
--cc=69113@debbugs.gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.