GNU bug report logs -
#78826
[PATCH ruby-team 00/88] Switch to ruby@3.3 and build -P1 ruby@3.3
Previous Next
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
Message #230 received at 78826 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/ruby-xyz.scm (ruby-regexp-parser): Update to 2.9.0.
[arguments]{phases}: Add phase 'find-ragel.
[native-inputs]: Add ruby-leto.
---
gnu/packages/ruby-xyz.scm | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm
index fddfa750a4..3c2f061466 100644
--- a/gnu/packages/ruby-xyz.scm
+++ b/gnu/packages/ruby-xyz.scm
@@ -8480,7 +8480,7 @@ (define-public ruby-regexp-property-values
(define-public ruby-regexp-parser
(package
(name "ruby-regexp-parser")
- (version "2.6.0")
+ (version "2.9.0")
(source
(origin
(method git-fetch) ;bin/test missing from gem
@@ -8489,13 +8489,18 @@ (define-public ruby-regexp-parser
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "07dx96gjvpa07dsdnzpwhhwc7qpxakjgws7d7wbnkbs20fyvx55x"))))
+ (base32 "108yjd737f7ky0acijqd5iydnia358szbyc8a80lab2v9dpqs9ax"))))
(build-system ruby-build-system)
(arguments
(list
#:test-target "default"
#:phases
#~(modify-phases %standard-phases
+ (add-after 'unpack 'find-ragel
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "tasks/ragel.rake"
+ (("command -v ragel")
+ (string-append (search-input-file inputs "bin/ragel") " -v")))))
(add-before 'build 'compile-scanner.rb
(lambda _
(invoke "rake" "build")
@@ -8503,7 +8508,10 @@ (define-public ruby-regexp-parser
;; phase fails to delete the installed cached
;; gem file.
(delete-file-recursively "pkg"))))))
- (native-inputs (list ragel ruby-ice-nine ruby-regexp-property-values
+ (native-inputs (list ragel
+ ruby-ice-nine
+ ruby-leto
+ ruby-regexp-property-values
ruby-rspec))
(synopsis "Regular expression parser library for Ruby")
(description "A Ruby gem for tokenizing, parsing, and transforming regular
--
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.