summary refs log tree commit diff
diff options
context:
space:
mode:
authorBen Woodcroft <donttrustben@gmail.com>2016-12-09 19:27:12 +1000
committerBen Woodcroft <donttrustben@gmail.com>2016-12-10 07:51:47 +1000
commitfdf3a68d9e95ed1b70cc9751b9a2ce26babfce33 (patch)
treeca64bdaa1b3f1aa6e5ebbf6f0173c0b3ec53dfd4
parent71596c3ce66ef9269c21d85f815e2f473ab6c7a1 (diff)
downloadguix-fdf3a68d9e95ed1b70cc9751b9a2ce26babfce33.tar.gz
gnu: ruby-sdoc: Update to 0.4.2.
* gnu/packages/ruby.scm (ruby-sdoc): Update to 0.4.2.
[arguments]: Remove 'relax-minitest-requirement' phase, Add 'set-rubylib'
phase.
[native-inputs]: Add ruby-hoe.
-rw-r--r--gnu/packages/ruby.scm13
1 files changed, 6 insertions, 7 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index eb554c4d2f..c87f8b309f 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -2204,28 +2204,27 @@ current line in an external editor.")
 (define-public ruby-sdoc
   (package
     (name "ruby-sdoc")
-    (version "0.4.1")
+    (version "0.4.2")
     (source (origin
               (method url-fetch)
               (uri (rubygems-uri "sdoc" version))
               (sha256
                (base32
-                "16xyfair1j4irfkd6sxvmdcak957z71lwkvhglrznfpkalfnqyqp"))))
+                "0qhvy10vnmrqcgh8494m13kd5ag9c3sczzhfasv8j0294ylk679n"))))
     (build-system ruby-build-system)
     (arguments
      `(#:phases
        (modify-phases %standard-phases
-         (add-after 'build 'relax-minitest-requirement
+         (add-before 'check 'set-rubylib
           (lambda _
-            (substitute* "sdoc.gemspec"
-              (("<minitest>\\.freeze, \\[\"~> 4\\.0\"\\]")
-               "<minitest>.freeze, [\">= 4.0\"]"))
+            (setenv "RUBYLIB" "lib")
             #t)))))
     (propagated-inputs
      `(("ruby-json" ,ruby-json)))
     (native-inputs
      `(("bundler" ,bundler)
-       ("ruby-minitest" ,ruby-minitest)))
+       ("ruby-minitest" ,ruby-minitest)
+       ("ruby-hoe" ,ruby-hoe)))
     (synopsis "Generate searchable RDoc documentation")
     (description
      "SDoc is an RDoc documentation generator to build searchable HTML