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

* gnu/packages/ruby.scm (ruby-prawn-svg): Update to 0.32.0.
Delete trailing #t and re-indent inputs.
This commit is contained in:
Maxim Cournoyer 2023-01-06 13:12:42 -05:00
parent 7529d2b9c1
commit f7c803f998
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -1401,31 +1401,27 @@ (define-public ruby-css-parser
(define-public ruby-prawn-svg (define-public ruby-prawn-svg
(package (package
(name "ruby-prawn-svg") (name "ruby-prawn-svg")
(version "0.30.0") (version "0.32.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
"0df3l49cy3xpwi0b73hmi2ykbjg9kjwrvhk0k3z7qhh5ghmmrn77")))) "0mbxzw7r7hv43db9422flc24ib9d8bdy1nasbni2h998jc5a5lb6"))))
(build-system ruby-build-system) (build-system ruby-build-system)
(arguments (arguments
`(#:phases (modify-phases %standard-phases `(#:phases (modify-phases %standard-phases
(add-after 'unpack 'do-not-use-bundler (add-after 'unpack 'do-not-use-bundler
(lambda _ (lambda _
(substitute* "spec/spec_helper.rb" (substitute* "spec/spec_helper.rb"
((".*[Bb]undler.*") "")) ((".*[Bb]undler.*") ""))))
#t))
(replace 'check (replace 'check
(lambda* (#:key tests? #:allow-other-keys) (lambda* (#:key tests? #:allow-other-keys)
(when tests? (when tests?
(invoke "rspec" "-Ilib" "-rprawn-svg")) (invoke "rspec" "-Ilib" "-rprawn-svg")))))))
#t))))) (native-inputs (list ruby-rspec))
(native-inputs (propagated-inputs (list ruby-css-parser ruby-prawn))
(list ruby-rspec))
(propagated-inputs
(list ruby-css-parser ruby-prawn))
(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