guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 30db9629e2e907a0d416534e3bc56612a6f99c2e
Author: Nicolas Graves <ngra...@ngraves.fr>
AuthorDate: Wed Jun 18 16:27:56 2025 +0200

    gnu: ruby-liquid-c-bootstrap: Update to 4.2.0.
    
    * gnu/packages/ruby-xyz.scm (ruby-liquid-c-bootstrap): Update to 4.2.0.
      [arguments]{phases}: Add phase 'pre-check.
---
 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 edced1b722..00180c761c 100644
--- a/gnu/packages/ruby-xyz.scm
+++ b/gnu/packages/ruby-xyz.scm
@@ -13637,13 +13637,13 @@ to load dynamic content on storefronts.")
 (define ruby-liquid-c-bootstrap
   (package
     (name "ruby-liquid-c-bootstrap")
-    (version "4.1.0")
+    (version "4.2.0")
     (source (origin
               (method url-fetch)
               (uri (rubygems-uri "liquid-c" version))
               (sha256
                (base32
-                "0jl37jz9hbfbhknryx4myxqx4n1f5dzyzmf1sapkcbw93xyrmkch"))))
+                "040qspl1x0pm5l3zwf90w02rcygbk0xl9bb1jgbszpj857pyqh8p"))))
     (build-system ruby-build-system)
     (arguments (list #:tests? #f))
     (native-inputs (list ruby-rake-compiler))
@@ -13677,7 +13677,15 @@ liquid ruby gem in C that makes it operate about three 
times faster.")
                 ((".*rubocop.*") "")
                 ;; Relax spy version specification.
                 (("gem \"spy\", \"0.4.1\"")
-                 "gem \"spy\", \">= 0.4.1\"")))))))
+                 "gem \"spy\", \">= 0.4.1\""))))
+          ;; XXX: Unclear if the binary_name has any influence on Memcheck.
+          ;; But the tests fail if it's unset.
+          (add-before 'check 'pre-check
+            (lambda _
+              (substitute* "Rakefile"
+                (("require \"ruby_memcheck\"" all)
+                 (string-append all "
+RubyMemcheck.config(binary_name: \"liquid_c.so\")"))))))))
     (native-inputs
      (list ruby-benchmark-ips
            ruby-rake-compiler

Reply via email to