mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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.
This commit is contained in:
parent
912b06840e
commit
30db9629e2
1 changed files with 11 additions and 3 deletions
|
@ -13637,13 +13637,13 @@ to load dynamic content on storefronts.")
|
||||||
(define ruby-liquid-c-bootstrap
|
(define ruby-liquid-c-bootstrap
|
||||||
(package
|
(package
|
||||||
(name "ruby-liquid-c-bootstrap")
|
(name "ruby-liquid-c-bootstrap")
|
||||||
(version "4.1.0")
|
(version "4.2.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (rubygems-uri "liquid-c" version))
|
(uri (rubygems-uri "liquid-c" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0jl37jz9hbfbhknryx4myxqx4n1f5dzyzmf1sapkcbw93xyrmkch"))))
|
"040qspl1x0pm5l3zwf90w02rcygbk0xl9bb1jgbszpj857pyqh8p"))))
|
||||||
(build-system ruby-build-system)
|
(build-system ruby-build-system)
|
||||||
(arguments (list #:tests? #f))
|
(arguments (list #:tests? #f))
|
||||||
(native-inputs (list ruby-rake-compiler))
|
(native-inputs (list ruby-rake-compiler))
|
||||||
|
@ -13677,7 +13677,15 @@ liquid ruby gem in C that makes it operate about three times faster.")
|
||||||
((".*rubocop.*") "")
|
((".*rubocop.*") "")
|
||||||
;; Relax spy version specification.
|
;; Relax spy version specification.
|
||||||
(("gem \"spy\", \"0.4.1\"")
|
(("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
|
(native-inputs
|
||||||
(list ruby-benchmark-ips
|
(list ruby-benchmark-ips
|
||||||
ruby-rake-compiler
|
ruby-rake-compiler
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue