GNU bug report logs - #78826
[PATCH ruby-team 00/88] Switch to ruby@3.3 and build -P1 ruby@3.3

Previous Next

Package: guix-patches;

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

Date: Wed, 18 Jun 2025 14:22:02 UTC

Severity: normal

Tags: patch

Done: Andreas Enge <andreas <at> enge.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 78826 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [bug#78826] [PATCH 04/88] gnu: ruby-regexp-parser: Improve style.
Date: Wed, 18 Jun 2025 16:26:51 +0200
* gnu/packages/ruby-xyz.scm (ruby-regexp-parser): Run guix style.
---
 gnu/packages/ruby-xyz.scm | 29 +++++++++++++++--------------
 1 file changed, 15 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm
index 461bd7e4ff..d04a3c9e0d 100644
--- a/gnu/packages/ruby-xyz.scm
+++ b/gnu/packages/ruby-xyz.scm
@@ -8455,27 +8455,28 @@ (define-public ruby-regexp-parser
     (version "2.6.0")
     (source
      (origin
-       (method git-fetch)               ;bin/test missing from gem
+       (method git-fetch) ;bin/test missing from gem
        (uri (git-reference
              (url "https://github.com/ammar/regexp_parser")
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32
-         "07dx96gjvpa07dsdnzpwhhwc7qpxakjgws7d7wbnkbs20fyvx55x"))))
+        (base32 "07dx96gjvpa07dsdnzpwhhwc7qpxakjgws7d7wbnkbs20fyvx55x"))))
     (build-system ruby-build-system)
     (arguments
-     '(#:test-target "default"
-       #:phases (modify-phases %standard-phases
-                  (add-before 'build 'compile-scanner.rb
-                    (lambda _
-                      (invoke "rake" "build")
-                      ;; XXX: This is needed otherwise the install
-                      ;; phase fails to delete the installed cached
-                      ;; gem file.
-                      (delete-file-recursively "pkg"))))))
-    (native-inputs
-     (list ragel ruby-ice-nine ruby-regexp-property-values ruby-rspec))
+     (list
+      #:test-target "default"
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'build 'compile-scanner.rb
+            (lambda _
+              (invoke "rake" "build")
+              ;; XXX: This is needed otherwise the install
+              ;; phase fails to delete the installed cached
+              ;; gem file.
+              (delete-file-recursively "pkg"))))))
+    (native-inputs (list ragel ruby-ice-nine ruby-regexp-property-values
+                         ruby-rspec))
     (synopsis "Regular expression parser library for Ruby")
     (description "A Ruby gem for tokenizing, parsing, and transforming regular
 expressions.  It comprises the following components:
-- 
2.49.0





This bug report was last modified 31 days ago.

Previous Next


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