[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/13: gnu: ruby-spec-its: Accept any version of ruby-ffi.
From: |
guix-commits |
Subject: |
03/13: gnu: ruby-spec-its: Accept any version of ruby-ffi. |
Date: |
Fri, 29 May 2020 09:42:26 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 7c8eb479a4be745deddce3cc651aeba0ba99050f
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Fri May 29 13:11:12 2020 +0200
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.
---
gnu/packages/ruby.scm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 82911a6..bc48bc1 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -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 _
- branch master updated (ebfe0e6 -> 1ca44ae), guix-commits, 2020/05/29
- 01/13: gnu: love: Remove unused input., guix-commits, 2020/05/29
- 02/13: gnu: physfs: Do not build the static library., guix-commits, 2020/05/29
- 04/13: gnu: ruby-ffi: Update to 1.12.2., guix-commits, 2020/05/29
- 03/13: gnu: ruby-spec-its: Accept any version of ruby-ffi.,
guix-commits <=
- 07/13: gnu: ruby-libffi: Enable tests and unbundle LibFFI., guix-commits, 2020/05/29
- 06/13: gnu: ruby-rubygems-tasks: Update to 0.2.5., guix-commits, 2020/05/29
- 08/13: gnu: ruby-crass: Update to 1.0.6., guix-commits, 2020/05/29
- 09/13: gnu: ruby-nokogiri: Update to 1.10.9., guix-commits, 2020/05/29
- 10/13: gnu: ruby-nokogumbo: Update to 2.0.2., guix-commits, 2020/05/29
- 11/13: gnu: ruby-sanitize: Update to 5.1.0., guix-commits, 2020/05/29
- 12/13: utils: Add 'cc-for-target'., guix-commits, 2020/05/29
- 05/13: gnu: ruby-rake-compiler: Update to 1.1.0., guix-commits, 2020/05/29
- 13/13: gnu: Use 'cc-for-target' instead of custom implementations., guix-commits, 2020/05/29