GNU bug report logs - #69403
[PATCH 0/2] gnu: go-github-com-signintech-gopdf: Remove examples.

Previous Next

Package: guix-patches;

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

Date: Mon, 26 Feb 2024 08:13:03 UTC

Severity: normal

Tags: patch

Done: Hilton Chain <hako <at> ultrarare.space>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 69403 in the body.
You can then email your comments to 69403 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#69403; Package guix-patches. (Mon, 26 Feb 2024 08:13:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Troy Figiel <troy <at> troyfigiel.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 26 Feb 2024 08:13:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Troy Figiel <troy <at> troyfigiel.com>
To: guix-patches <at> gnu.org
Subject: [PATCH 0/2] gnu: go-github-com-signintech-gopdf: Remove examples.
Date: Mon, 26 Feb 2024 08:52:53 +0100
This patch series updates go-github-com-signintech-gopdf to 0.22.1 and adds a remove-examples phase.

Troy Figiel (2):
  gnu: go-github-com-signintech-gopdf: Update to 0.22.1.
  gnu: go-github-com-signintech-gopdf: Remove examples.

 gnu/packages/golang.scm | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)


base-commit: b25b94335a3ee8d68d2145da8e5ea0325ecea451
-- 
2.42.0





Information forwarded to guix-patches <at> gnu.org:
bug#69403; Package guix-patches. (Mon, 26 Feb 2024 09:00:02 GMT) Full text and rfc822 format available.

Message #8 received at 69403 <at> debbugs.gnu.org (full text, mbox):

From: Troy Figiel <troy <at> troyfigiel.com>
To: 69403 <at> debbugs.gnu.org
Subject: [PATCH 1/2] gnu: go-github-com-signintech-gopdf: Update to 0.22.1.
Date: Mon, 26 Feb 2024 08:48:13 +0100
* gnu/packages/golang.scm (go-github-com-signintech-gopdf): Update to 0.22.1.
---
 gnu/packages/golang.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index e8abaffb56..ac500b58af 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -2238,7 +2238,7 @@ (define-public go-github-com-phpdave11-gofpdi
 (define-public go-github-com-signintech-gopdf
   (package
     (name "go-github-com-signintech-gopdf")
-    (version "0.18.0")
+    (version "0.22.1")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -2247,7 +2247,7 @@ (define-public go-github-com-signintech-gopdf
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "1jf8a896qh871mdr1i7f0fdpqki5pkk1sp6p5dq404zqxpd7lq5l"))))
+                "1h6cslvid5v8fiymydj4irrzi8f91knsx8rgbzp2b8favclhwxxg"))))
     (build-system go-build-system)
     (arguments
      '(#:import-path "github.com/signintech/gopdf"))
-- 
2.42.0





Information forwarded to guix-patches <at> gnu.org:
bug#69403; Package guix-patches. (Mon, 26 Feb 2024 09:11:02 GMT) Full text and rfc822 format available.

Message #11 received at 69403 <at> debbugs.gnu.org (full text, mbox):

From: Troy Figiel <troy <at> troyfigiel.com>
To: 69403 <at> debbugs.gnu.org
Subject: [PATCH 2/2] gnu: go-github-com-signintech-gopdf: Remove examples.
Date: Mon, 26 Feb 2024 08:51:00 +0100
* 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





Reply sent to Hilton Chain <hako <at> ultrarare.space>:
You have taken responsibility. (Fri, 01 Mar 2024 06:27:05 GMT) Full text and rfc822 format available.

Notification sent to Troy Figiel <troy <at> troyfigiel.com>:
bug acknowledged by developer. (Fri, 01 Mar 2024 06:27:05 GMT) Full text and rfc822 format available.

Message #16 received at 69403-done <at> debbugs.gnu.org (full text, mbox):

From: Hilton Chain <hako <at> ultrarare.space>
To: Troy Figiel <troy <at> troyfigiel.com>
Cc: 69403-done <at> debbugs.gnu.org
Subject: Re: [bug#69403] [PATCH 0/2] gnu: go-github-com-signintech-gopdf:
 Remove examples.
Date: Fri, 01 Mar 2024 14:25:01 +0800
Hi Troy,

On Mon, 26 Feb 2024 15:52:53 +0800,
Troy Figiel wrote:
>
> This patch series updates go-github-com-signintech-gopdf to 0.22.1 and adds a
> remove-examples phase.
>
> Troy Figiel (2):
>   gnu: go-github-com-signintech-gopdf: Update to 0.22.1.
>   gnu: go-github-com-signintech-gopdf: Remove examples.
>
>  gnu/packages/golang.scm | 13 ++++++++++---
>  1 file changed, 10 insertions(+), 3 deletions(-)
>
>
> base-commit: b25b94335a3ee8d68d2145da8e5ea0325ecea451
> --
> 2.42.0

Applied as 33dc981d2750ce34e72da883c8329f7296515918 and
9a47afb3de7a9845a1a7a1264a2068cf6f3a8617, thanks!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 29 Mar 2024 11:24:06 GMT) Full text and rfc822 format available.

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

Previous Next


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