summaryrefslogtreecommitdiff
path: root/gnu/packages/ruby.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-02-16 01:34:38 +0100
committerAndreas Enge <andreas@enge.fr>2025-06-20 20:40:01 +0200
commit959d66d85f802f9bd591254627e4b618974361b4 (patch)
tree549c25324169a0563bf339be6c7c3b0614b96ef1 /gnu/packages/ruby.scm
parentd529d7c5489a89aa8eb0449e0ef3a38cf71ef980 (diff)
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>
Diffstat (limited to 'gnu/packages/ruby.scm')
-rw-r--r--gnu/packages/ruby.scm15
1 files changed, 5 insertions, 10 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index f1043fa6a71..c125813383f 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -2511,7 +2511,7 @@ web pages.")
2511(define-public ruby-asciidoctor-pdf 2511(define-public ruby-asciidoctor-pdf
2512 (package 2512 (package
2513 (name "ruby-asciidoctor-pdf") 2513 (name "ruby-asciidoctor-pdf")
2514 (version "2.3.4") 2514 (version "2.3.19")
2515 (source 2515 (source
2516 (origin 2516 (origin
2517 (method git-fetch) ;no test suite in the distributed gem 2517 (method git-fetch) ;no test suite in the distributed gem
@@ -2521,18 +2521,16 @@ web pages.")
2521 (file-name (git-file-name name version)) 2521 (file-name (git-file-name name version))
2522 (sha256 2522 (sha256
2523 (base32 2523 (base32
2524 "07krhpj2ylz7h7hy8vg0js8yv828qxh3mkhx0bsrfh0p24xwbjrm")))) 2524 "1l8my8jj4aww2yad80n6f7hs76lq5gicld8dy014pw90pk3x43mp"))
2525 (patches
2526 (search-patches
2527 "ruby-asciidoctor-pdf-support-prawn-svg-0_36.patch"))))
2525 (build-system ruby-build-system) 2528 (build-system ruby-build-system)
2526 (arguments 2529 (arguments
2527 (list 2530 (list
2528 #:test-target "spec" 2531 #:test-target "spec"
2529 #:phases 2532 #:phases
2530 #~(modify-phases %standard-phases 2533 #~(modify-phases %standard-phases
2531 (add-after 'extract-gemspec 'strip-version-requirements
2532 (lambda _
2533 (substitute* "asciidoctor-pdf.gemspec"
2534 (("(.*add_.*dependency '[_A-Za-z0-9-]+').*" _ stripped)
2535 (string-append stripped "\n")))))
2536 ;; The tests rely on the Gem being installed, so move the check 2534 ;; The tests rely on the Gem being installed, so move the check
2537 ;; phase after the install phase. 2535 ;; phase after the install phase.
2538 (delete 'check) 2536 (delete 'check)
@@ -2553,15 +2551,12 @@ web pages.")
2553 (propagated-inputs 2551 (propagated-inputs
2554 (list ruby-asciidoctor 2552 (list ruby-asciidoctor
2555 ruby-concurrent 2553 ruby-concurrent
2556 ruby-open-uri-cached
2557 ruby-prawn 2554 ruby-prawn
2558 ruby-prawn-icon 2555 ruby-prawn-icon
2559 ruby-prawn-svg 2556 ruby-prawn-svg
2560 ruby-prawn-table 2557 ruby-prawn-table
2561 ruby-prawn-templates 2558 ruby-prawn-templates
2562 ruby-safe-yaml
2563 ruby-text-hyphen 2559 ruby-text-hyphen
2564 ruby-thread-safe
2565 ruby-treetop 2560 ruby-treetop
2566 ruby-ttfunk)) 2561 ruby-ttfunk))
2567 (synopsis"AsciiDoc to Portable Document Format (PDF)} converter") 2562 (synopsis"AsciiDoc to Portable Document Format (PDF)} converter")