summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2021-09-30 09:29:51 +0200
committerLars-Dominik Braun <lars@6xq.net>2021-10-08 09:13:53 +0200
commit4e8d27ef527ba7666be75d353a7a0339251d4212 (patch)
tree08f6924d0165ed2a4ec63ba7f08d5e2dea5deb14
parent2a1b6c0dbf234161a860a2b5a916cf5ef9795b18 (diff)
gnu: ruby-pandoc-ruby: Disable tests.
* gnu/packages/ruby.scm (ruby-pandoc-ruby) [arguments]: Disable tests, remove obsolete phase.
-rw-r--r--gnu/packages/ruby.scm14
1 files changed, 3 insertions, 11 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 8db5bd9158..e9db2cfe31 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1149,18 +1149,10 @@ structure. Supports custom object formatting via plugins.")
"03a11clhycyn0jhc7g9davpqd83sn60jqwjy1y145ag9sq6sp935"))))
(build-system ruby-build-system)
(arguments
- `(#:phases
+ `(#:tests? #f ; Disable tests since they depend on pandoc behavior
+ ; and there are no upstream releases.
+ #: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
(lambda* (#:key inputs #:allow-other-keys)
(let ((pandoc (string-append (assoc-ref inputs "pandoc")