mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: ruby-pandoc-ruby: Disable tests.
* gnu/packages/ruby.scm (ruby-pandoc-ruby) [arguments]: Disable tests, remove obsolete phase.
This commit is contained in:
parent
2a1b6c0dbf
commit
4e8d27ef52
1 changed files with 3 additions and 11 deletions
|
@ -1149,18 +1149,10 @@ structure. Supports custom object formatting via plugins.")
|
||||||
"03a11clhycyn0jhc7g9davpqd83sn60jqwjy1y145ag9sq6sp935"))))
|
"03a11clhycyn0jhc7g9davpqd83sn60jqwjy1y145ag9sq6sp935"))))
|
||||||
(build-system ruby-build-system)
|
(build-system ruby-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:tests? #f ; Disable tests since they depend on pandoc behavior
|
||||||
|
; and there are no upstream releases.
|
||||||
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'disable-failing-tests
|
|
||||||
;; TODO: Remove this phase after ghc-pandoc gets upgraded to 2.9.2+
|
|
||||||
;; (see: https://github.com/xwmx/pandoc-ruby/issues/39).
|
|
||||||
(lambda _
|
|
||||||
(substitute* "test/test_conversions.rb"
|
|
||||||
(("next if from == to.*" all)
|
|
||||||
(string-append
|
|
||||||
all
|
|
||||||
" next if ['plain', 'beamer'].include? to\n")))
|
|
||||||
#t))
|
|
||||||
(add-after 'unpack 'patch-pandoc-path
|
(add-after 'unpack 'patch-pandoc-path
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(let ((pandoc (string-append (assoc-ref inputs "pandoc")
|
(let ((pandoc (string-append (assoc-ref inputs "pandoc")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue