From: Troy Figiel <troy@troyfigiel.com>
To: 69403@debbugs.gnu.org
Subject: [bug#69403] [PATCH 2/2] gnu: go-github-com-signintech-gopdf: Remove examples.
Date: Mon, 26 Feb 2024 08:51:00 +0100 [thread overview]
Message-ID: <87v86b8uvd.fsf@troyfigiel.com> (raw)
In-Reply-To: <87y1b78xuw.fsf@troyfigiel.com>
* gnu/packages/golang.scm (go-github-com-signintech-gopdf): Remove examples.
[arguments] <#:phases>: Add remove-examples phase.
---
gnu/packages/golang.scm | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index ac500b58af..609a14ec61 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -2250,7 +2250,14 @@ (define-public go-github-com-signintech-gopdf
"1h6cslvid5v8fiymydj4irrzi8f91knsx8rgbzp2b8favclhwxxg"))))
(build-system go-build-system)
(arguments
- '(#:import-path "github.com/signintech/gopdf"))
+ (list
+ #:import-path "github.com/signintech/gopdf"
+ #: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")))))))
(propagated-inputs (list go-github-com-pkg-errors
go-github-com-phpdave11-gofpdi))
(home-page "https://github.com/signintech/gopdf")
--
2.42.0
next prev parent reply other threads:[~2024-02-26 9:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-26 7:52 [bug#69403] [PATCH 0/2] gnu: go-github-com-signintech-gopdf: Remove examples Troy Figiel
2024-02-26 7:48 ` [bug#69403] [PATCH 1/2] gnu: go-github-com-signintech-gopdf: Update to 0.22.1 Troy Figiel
2024-02-26 7:51 ` Troy Figiel [this message]
2024-03-01 6:25 ` bug#69403: [PATCH 0/2] gnu: go-github-com-signintech-gopdf: Remove examples Hilton Chain via Guix-patches via
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=87v86b8uvd.fsf@troyfigiel.com \
--to=troy@troyfigiel.com \
--cc=69403@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 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).