gnu: ruby-asciidoctor-pdf: Update to 2.3.19.

* gnu/packages/ruby.scm (ruby-asciidoctor-pdf): Update to 2.3.19.
[origin]<patches>: Record patch.
[arguments]<#:phases>: Remove 'strip-version-requirements phase.
[propagated-inputs]: Remove old dependencies ruby-open-uri-cached,
ruby-safe-yaml, ruby-thread-safe.
* gnu/packages/patches/ruby-asciidoctor-pdf-support-prawn-svg-0_36.patch:
Add patch.
* gnu/local.mk: Record patch.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-02-16 01:34:38 +01:00 committed by Andreas Enge
parent d529d7c548
commit 959d66d85f
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3
3 changed files with 113 additions and 10 deletions

View file

@ -2511,7 +2511,7 @@ web pages.")
(define-public ruby-asciidoctor-pdf
(package
(name "ruby-asciidoctor-pdf")
(version "2.3.4")
(version "2.3.19")
(source
(origin
(method git-fetch) ;no test suite in the distributed gem
@ -2521,18 +2521,16 @@ web pages.")
(file-name (git-file-name name version))
(sha256
(base32
"07krhpj2ylz7h7hy8vg0js8yv828qxh3mkhx0bsrfh0p24xwbjrm"))))
"1l8my8jj4aww2yad80n6f7hs76lq5gicld8dy014pw90pk3x43mp"))
(patches
(search-patches
"ruby-asciidoctor-pdf-support-prawn-svg-0_36.patch"))))
(build-system ruby-build-system)
(arguments
(list
#:test-target "spec"
#:phases
#~(modify-phases %standard-phases
(add-after 'extract-gemspec 'strip-version-requirements
(lambda _
(substitute* "asciidoctor-pdf.gemspec"
(("(.*add_.*dependency '[_A-Za-z0-9-]+').*" _ stripped)
(string-append stripped "\n")))))
;; The tests rely on the Gem being installed, so move the check
;; phase after the install phase.
(delete 'check)
@ -2553,15 +2551,12 @@ web pages.")
(propagated-inputs
(list ruby-asciidoctor
ruby-concurrent
ruby-open-uri-cached
ruby-prawn
ruby-prawn-icon
ruby-prawn-svg
ruby-prawn-table
ruby-prawn-templates
ruby-safe-yaml
ruby-text-hyphen
ruby-thread-safe
ruby-treetop
ruby-ttfunk))
(synopsis"AsciiDoc to Portable Document Format (PDF)} converter")