guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/17: gnu: ruby-sinatra: Update to 2.0.8.1.


From: guix-commits
Subject: 05/17: gnu: ruby-sinatra: Update to 2.0.8.1.
Date: Sat, 11 Jul 2020 14:30:35 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit 7af929249da3687b30337b4e30a1596e6dc317dc
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Thu Jul 9 14:08:07 2020 -0400

    gnu: ruby-sinatra: Update to 2.0.8.1.
    
    * gnu/packages/ruby.scm (ruby-sinatra): Update to 2.0.8.1.
    [phases]{fix-slow-doc-generation}: Add phase.
---
 gnu/packages/ruby.scm | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 142b79f..685ee04 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -9961,15 +9961,25 @@ entities.")
 (define-public ruby-sinatra
   (package
     (name "ruby-sinatra")
-    (version "2.0.5")
+    (version "2.0.8.1")
     (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "sinatra" version))
        (sha256
         (base32
-         "1gasgn5f15myv08k10i16p326pchxjsy37pgqfw0xm66kcc5d7ry"))))
+         "0riy3hwjab1mr73jcqx3brmbmwspnw3d193j06a5f0fy1w35z15q"))))
     (build-system ruby-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         ;; See: https://github.com/sinatra/sinatra/issues/1578.
+         (add-after 'extract-gemspec 'fix-slow-doc-generation
+           (lambda _
+             (substitute* "sinatra.gemspec"
+               (("\"README.rdoc\"\\.freeze," all)
+                (string-append all " \"--exclude=.*\\.md\".freeze,")))
+             #t)))))
     (propagated-inputs
      `(("ruby-mustermann" ,ruby-mustermann)
        ("ruby-rack" ,ruby-rack)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]