From 4e8d27ef527ba7666be75d353a7a0339251d4212 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Thu, 30 Sep 2021 09:29:51 +0200 Subject: gnu: ruby-pandoc-ruby: Disable tests. * gnu/packages/ruby.scm (ruby-pandoc-ruby) [arguments]: Disable tests, remove obsolete phase. --- gnu/packages/ruby.scm | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'gnu/packages/ruby.scm') 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") -- cgit v1.2.3