guix-commits
[Top][All Lists]
Advanced

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

19/36: gnu: ruby-mkmf-lite: Update to 0.5.2.


From: guix-commits
Subject: 19/36: gnu: ruby-mkmf-lite: Update to 0.5.2.
Date: Tue, 20 Jun 2023 17:19:24 -0400 (EDT)

cbaines pushed a commit to branch master
in repository guix.

commit b5cb477d9d37e449a02ae4a8abe57e3c1ff125a7
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Sun Jun 18 12:01:09 2023 +0100

    gnu: ruby-mkmf-lite: Update to 0.5.2.
    
    * gnu/packages/ruby.scm (ruby-mkmf-lite): Update to 0.5.2.
    [arguments]: Avoid the rubocop dependency.
    [native-inputs]: Add ruby-rspec.
---
 gnu/packages/ruby.scm | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 3c20146c0d..7f15217db1 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -4704,16 +4704,27 @@ objects.")
 (define-public ruby-mkmf-lite
   (package
     (name "ruby-mkmf-lite")
-    (version "0.3.2")
+    (version "0.5.2")
     (source (origin
               (method url-fetch)
               (uri (rubygems-uri "mkmf-lite" version))
               (sha256
                (base32
-                "0br9k6zijj1zc25n8p7f2j1mwl58nfgdknf3q13h9k156jvrir06"))))
+                "0rqa5kzswhqkj7r9mqrqz4mjd2vdxsblgybb52gj3mwr1gwvl4c5"))))
     (build-system ruby-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          ;; Avoid rubocop dependency
+          (replace 'check
+            (lambda* (#:key tests? #:allow-other-keys)
+              (when tests?
+                (invoke "rspec")))))))
     (propagated-inputs
      (list ruby-ptools))
+    (native-inputs
+     (list ruby-rspec))
     (synopsis "Lightweight alternative to @code{mkmf}")
     (description
      "@code{mkmf-lite} is a light version of Ruby's @code{mkmf.rb} designed



reply via email to

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