gnu: ruby-spec-its: Accept any version of ruby-ffi.
* gnu/packages/ruby.scm (ruby-rspec-its)[arguments]: Change Gemfile substitution so that any ffi gem is accepted. While at it, tighten the regex and rename the phase to be more accurate.master
parent
a904223ec5
commit
7c8eb479a4
|
@ -645,10 +645,12 @@ outcomes of a code example.")
|
|||
(("rspec rspec-core rspec-expectations rspec-mocks rspec-support")
|
||||
""))
|
||||
#t))
|
||||
(add-before 'build 'update-ffi-in-gemfile
|
||||
(add-before 'build 'loosen-ffi-requirement
|
||||
(lambda _
|
||||
;; Accept any version of ruby-ffi.
|
||||
(substitute* "Gemfile"
|
||||
((" gem 'ffi', '~> 1.9.25'") " gem 'ffi', '~> 1.10.0'"))
|
||||
((" gem 'ffi', '~> 1\\.9\\.25'")
|
||||
" gem 'ffi'"))
|
||||
#t))
|
||||
(add-before 'build 'remove-unnecessary-dependency-versions-from-gemfile
|
||||
(lambda _
|
||||
|
|
Reference in New Issue