GNU bug report logs - #76314
[PATCH ruby-team 00/71] Update ruby.

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Sun, 16 Feb 2025 00:29:01 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #128 received at 76314 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 76314 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH ruby-team 47/71] gnu: ruby-tilt: Update to 2.2.0.
Date: Sun, 16 Feb 2025 01:34:15 +0100
* gnu/packages/ruby.scm (ruby-tilt): Update to 2.2.0.
[arguments]<#:phases>: Remove uneeded phase 'remove-some-dependencies.
---
 gnu/packages/ruby.scm | 27 ++-------------------------
 1 file changed, 2 insertions(+), 25 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index d446fa3190..a350232f18 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -7512,7 +7512,7 @@ intended for use with event loops such as async.")
 (define-public ruby-tilt
   (package
     (name "ruby-tilt")
-    (version "2.1.0")
+    (version "2.2.0")
     (source
      (origin
        (method git-fetch)               ;the distributed gem lacks tests
@@ -7521,35 +7521,12 @@ intended for use with event loops such as async.")
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0v7s38r86ammqpqm1diyk0yqz1k285argkpy5c8s1vq46983m9lv"))))
+        (base32 "056zm4vzx9xjwl7zgmb17hzb91qx5cvzk60wvsxchfybvl03gn5d"))))
     (build-system ruby-build-system)
     (arguments
      (list
       #:phases
       #~(modify-phases %standard-phases
-          (add-after 'unpack 'remove-some-dependencies
-            (lambda _
-              (substitute* "Gemfile"
-                (("gem 'less'") "\n")
-                (("gem 'coffee-script'") "\n")
-                (("gem 'livescript'") "\n")
-                (("gem 'babel-transpiler'") "\n")
-                (("gem 'typescript-node'") "\n")
-                (("gem 'typescript-node'") "\n")
-                (("gem 'duktape'.*") "\n")
-                ;; TODO ronn is used for generating the manual
-                (("gem 'ronn'.*") "\n")
-                ;; ruby-haml has a runtime dependency on ruby-tilt, so don't
-                ;; pass it in as a native-input
-                (("gem 'haml'.*") "\n")
-                ;; TODO Not all of these gems are packaged for Guix yet:
-                ;; less, coffee-script, livescript, babel-transpiler,
-                ;; typescript-node
-                (("if can_execjs") "if false")
-                ;; Disable the secondary group to reduce the number of
-                ;; dependencies. None of the normal approaches work, so patch
-                ;; the Gemfile instead.
-                (("group :secondary") "[].each"))))
           (add-before 'check 'set-SASS_IMPLEMENTATION
             (lambda _
               (setenv "SASS_IMPLEMENTATION" "sassc"))))))
-- 
2.48.1





This bug report was last modified 89 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.