[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/17: gnu: ruby-prawn: Update to 2.4.0.
From: |
guix-commits |
Subject: |
07/17: gnu: ruby-prawn: Update to 2.4.0. |
Date: |
Sun, 8 Jan 2023 01:46:26 -0500 (EST) |
apteryx pushed a commit to branch master
in repository guix.
commit a0b73c4be5dcbcb228e7c80f0be368059c77126b
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Jan 6 12:51:16 2023 -0500
gnu: ruby-prawn: Update to 2.4.0.
* gnu/packages/ruby.scm (ruby-prawn): Update to 2.4.0.
[arguments]: Delete trailing #t and use gexps.
[propagated-inputs]: Add ruby-matrix.
[native-inputs]: Remove ruby-rspec, ruby-simplecov and ruby-yard. Add
ruby-prawn-dev.
---
gnu/packages/ruby.scm | 83 ++++++++++++++++++++++++++-------------------------
1 file changed, 42 insertions(+), 41 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 1d840ac1b9..4108bc177e 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -10914,47 +10914,48 @@ various Prawn projects.")
(define-public ruby-prawn
;; There hasn't been a new release since 2017/03/17.
- (let ((revision "1")
- (commit "d980247be8a00e7c59cd4e5785e3aa98f9856db1"))
- (package
- (name "ruby-prawn")
- (version (git-version "2.2.2" revision commit))
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/prawnpdf/prawn")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0mcmvf22h8il93yq48v9f31qpy27pvjxgv9172p0f4x9lqy0imwr"))))
- (build-system ruby-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-before 'build 'drop-signing-key-requirement
- (lambda _
- (substitute* "prawn.gemspec"
- (("spec.signing_key =.*")
- "spec.signing_key = nil"))
- #t))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- ;; The Prawn manual test fails (see:
- ;; https://github.com/prawnpdf/prawn/issues/1163), so exclude
- ;; it.
- (invoke "rspec" "--exclude-pattern" "prawn_manual_spec.rb"))
- #t)))))
- (propagated-inputs
- (list ruby-pdf-core ruby-ttfunk))
- (native-inputs
- (list ruby-pdf-inspector ruby-prawn-manual-builder ruby-rspec
- ruby-simplecov ruby-yard))
- (home-page "https://prawnpdf.org/api-docs/2.0/")
- (synopsis "PDF generation for Ruby")
- (description "Prawn is a pure Ruby PDF generation library.")
- (license %prawn-project-licenses))))
+ (package
+ (name "ruby-prawn")
+ (version "2.4.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/prawnpdf/prawn")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1h1gww12wcdscij0lnd21p9zcbwrwc3miini5ppannc2birmj9ja"))))
+ (build-system ruby-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'build 'drop-signing-key-requirement
+ (lambda _
+ (substitute* "prawn.gemspec"
+ (("spec.signing_key =.*")
+ "spec.signing_key = nil"))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ ;; The Prawn manual test fails (see:
+ ;; https://github.com/prawnpdf/prawn/issues/1163), so exclude
+ ;; it.
+ (invoke "rspec"
+ "--exclude-pattern" "prawn_manual_spec.rb")))))))
+ (propagated-inputs
+ (list ruby-matrix
+ ruby-pdf-core
+ ruby-ttfunk))
+ (native-inputs
+ (list ruby-pdf-inspector
+ ruby-prawn-manual-builder
+ ruby-prawn-dev))
+ (home-page "https://prawnpdf.org/api-docs/2.0/")
+ (synopsis "PDF generation for Ruby")
+ (description "Prawn is a pure Ruby PDF generation library.")
+ (license %prawn-project-licenses)))
(define-public ruby-prawn-table
(package
- branch master updated (db3fdbbdfe -> 17a672524e), guix-commits, 2023/01/08
- 02/17: gnu: ruby-open-uri-cached: Update to 1.0.0., guix-commits, 2023/01/08
- 04/17: gnu: ruby-ttfunk: Update to 1.7.0., guix-commits, 2023/01/08
- 06/17: gnu: ruby-pdf-core: Update to 0.9.0., guix-commits, 2023/01/08
- 07/17: gnu: ruby-prawn: Update to 2.4.0.,
guix-commits <=
- 08/17: gnu: ruby-asciidoctor-pdf: Update to 2.3.4., guix-commits, 2023/01/08
- 13/17: gnu: ruby-nokogiri: Make it reproducible., guix-commits, 2023/01/08
- 03/17: gnu: Add ruby-prawn-dev., guix-commits, 2023/01/08
- 05/17: gnu: Add ruby-matrix., guix-commits, 2023/01/08
- 01/17: gnu: ruby-asciidoctor-multipage: Update to 0.0.16., guix-commits, 2023/01/08
- 09/17: gnu: ruby-prawn-icon: Update to 3.1.0., guix-commits, 2023/01/08
- 10/17: gnu: ruby-prawn-svg: Update to 0.32.0., guix-commits, 2023/01/08
- 11/17: gnu: ruby-ruby-prof: Update to 1.4.5., guix-commits, 2023/01/08
- 15/17: gnu: ruby-html-proofer: Update to 5.0.3., guix-commits, 2023/01/08
- 17/17: gnu: castget: Update to 2.0.0-0.da9727d., guix-commits, 2023/01/08