gnu: ruby-prawn-svg: Update to 0.36.0.

* gnu/packages/ruby.scm (ruby-prawn-svg): Update to 0.36.0.
[arguments]<#:test-target>: Add spec configuration.
[propagated-inputs]: Add ruby-matrix, ruby-rexml.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-01-31 09:19:59 +01:00 committed by Andreas Enge
parent 4be10868d9
commit 2fca613022
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -1867,17 +1867,17 @@ written in C.")
(define-public ruby-prawn-svg (define-public ruby-prawn-svg
(package (package
(name "ruby-prawn-svg") (name "ruby-prawn-svg")
(version "0.32.0") (version "0.36.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (rubygems-uri "prawn-svg" version)) (uri (rubygems-uri "prawn-svg" version))
(sha256 (sha256
(base32 (base32 "008p1p334h3019x5w5bqvwgmly3g5n08s63va1261nwyvfb955jv"))))
"0mbxzw7r7hv43db9422flc24ib9d8bdy1nasbni2h998jc5a5lb6"))))
(build-system ruby-build-system) (build-system ruby-build-system)
(arguments (arguments
(list #:phases (list #:test-target "spec"
#:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'do-not-use-bundler (add-after 'unpack 'do-not-use-bundler
(lambda _ (lambda _
@ -1891,7 +1891,7 @@ written in C.")
(delete-file "spec/prawn/svg/interface_spec.rb") (delete-file "spec/prawn/svg/interface_spec.rb")
(invoke "rspec" "-Ilib" "-rprawn-svg"))))))) (invoke "rspec" "-Ilib" "-rprawn-svg")))))))
(native-inputs (list ruby-rspec)) (native-inputs (list ruby-rspec))
(propagated-inputs (list ruby-css-parser ruby-prawn)) (propagated-inputs (list ruby-css-parser ruby-matrix ruby-prawn ruby-rexml))
(synopsis "SVG renderer for the Prawn PDF library") (synopsis "SVG renderer for the Prawn PDF library")
(description "This library allows rendering Scalable Vector Graphics (SVG) (description "This library allows rendering Scalable Vector Graphics (SVG)
graphics directly into a Portable Document Format (PDF) document using the graphics directly into a Portable Document Format (PDF) document using the