guix-commits
[Top][All Lists]
Advanced

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

03/04: gnu: ruby-unf-ext: Update to 0.0.7.6.


From: guix-commits
Subject: 03/04: gnu: ruby-unf-ext: Update to 0.0.7.6.
Date: Thu, 30 Jan 2020 11:49:39 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit 14db8f192e974768d0608c2c5a95a4cfe595487e
Author: Marius Bakke <address@hidden>
AuthorDate: Thu Jan 30 16:40:42 2020 +0100

    gnu: ruby-unf-ext: Update to 0.0.7.6.
    
    * gnu/packages/ruby.scm (ruby-unf-ext): Update to 0.0.7.6.
    [arguments]: Add phase to avoid unnecessary dependency.
---
 gnu/packages/ruby.scm | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 445ec0e..98868cd 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -4955,19 +4955,26 @@ including comments and whitespace.")
 (define-public ruby-unf-ext
   (package
     (name "ruby-unf-ext")
-    (version "0.0.7.1")
+    (version "0.0.7.6")
     (source (origin
               (method url-fetch)
               (uri (rubygems-uri "unf_ext" version))
               (sha256
                (base32
-                "0ly2ms6c3irmbr1575ldyh52bz2v0lzzr2gagf0p526k12ld2n5b"))))
+                "1ll6w64ibh81qwvjx19h8nj7mngxgffg7aigjx11klvf5k2g4nxf"))))
     (build-system ruby-build-system)
     (arguments
      `(#:phases
        (modify-phases %standard-phases
          (add-after 'build 'build-ext
-           (lambda _ (invoke "rake" "compile:unf_ext"))))))
+           (lambda _ (invoke "rake" "compile:unf_ext")))
+         (add-before 'check 'lose-rake-compiler-dock-dependency
+           (lambda _
+             ;; rake-compiler-dock is listed in the gemspec, but only
+             ;; required when cross-compiling.
+             (substitute* "unf_ext.gemspec"
+               ((".*rake-compiler-dock.*") ""))
+             #t)))))
     (native-inputs
      `(("bundler" ,bundler)
        ("ruby-rake-compiler" ,ruby-rake-compiler)



reply via email to

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