[PATCH 0/2] gnu: go-github-com-signintech-gopdf: Remove examples.

  • Done
  • quality assurance status badge
Details
2 participants
  • Hilton Chain
  • Troy Figiel
Owner
unassigned
Submitted by
Troy Figiel
Severity
normal
T
T
Troy Figiel wrote on 26 Feb 08:52 +0100
(address . guix-patches@gnu.org)
87y1b78xuw.fsf@troyfigiel.com
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
T
T
Troy Figiel wrote on 26 Feb 08:48 +0100
[PATCH 1/2] gnu: go-github-com-signintech-gopdf: Update to 0.22.1.
(address . 69403@debbugs.gnu.org)
87wmqr8uvn.fsf@troyfigiel.com
* 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(-)

Toggle diff (24 lines)
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
T
T
Troy Figiel wrote on 26 Feb 08:51 +0100
[PATCH 2/2] gnu: go-github-com-signintech-gopdf: Remove examples.
(address . 69403@debbugs.gnu.org)
87v86b8uvd.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(-)

Toggle diff (22 lines)
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
H
H
Hilton Chain wrote on 1 Mar 07:25 +0100
Re: [bug#69403] [PATCH 0/2] gnu: go-github-com-signintech-gopdf: Remove examples.
(name . Troy Figiel)(address . troy@troyfigiel.com)(address . 69403-done@debbugs.gnu.org)
87o7by31vm.wl-hako@ultrarare.space
Hi Troy,

On Mon, 26 Feb 2024 15:52:53 +0800,
Troy Figiel wrote:
Toggle quote (16 lines)
>
> 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!
Closed
?