[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/06: gnu: ruby-shindo: Remove -rubygems flags.
From: |
Christopher Baines |
Subject: |
02/06: gnu: ruby-shindo: Remove -rubygems flags. |
Date: |
Fri, 5 Oct 2018 16:28:13 -0400 (EDT) |
cbaines pushed a commit to branch master
in repository guix.
commit 0b060e3486afdefdf5a5f474518b2a6bfae405d9
Author: Christopher Baines <address@hidden>
Date: Sat Sep 29 11:15:36 2018 +0100
gnu: ruby-shindo: Remove -rubygems flags.
These have been removed in Ruby 2.5.
* gnu/packages/ruby.scm (ruby-shindo)[arguments]: Change fix-tests phase to
also remove the -rubygems flags.
---
gnu/packages/ruby.scm | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 3673bf2..b216f3f 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1211,12 +1211,15 @@ standard output stream.")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'fix-tests
- (lambda _
- (substitute* "Rakefile"
- (("system \"shindo") "system \"./bin/shindo")
- ;; This test doesn't work, so we disable it.
- (("fail \"The build_error test should fail") "#"))
- #t)))))
+ (lambda _
+ (substitute* "tests/tests_helper.rb"
+ (("-rubygems") ""))
+ (substitute* "Rakefile"
+ (("system \"shindo") "system \"./bin/shindo")
+ ;; This test doesn't work, so we disable it.
+ (("fail \"The build_error test should fail") "#")
+ ((" -rubygems") ""))
+ #t)))))
(propagated-inputs
`(("ruby-formatador" ,ruby-formatador)))
(synopsis "Simple depth first Ruby testing")
- branch master updated (b0e829c -> 11ff2ad), Christopher Baines, 2018/10/05
- 02/06: gnu: ruby-shindo: Remove -rubygems flags.,
Christopher Baines <=
- 01/06: gnu: bioruby: Update to 1.5.2., Christopher Baines, 2018/10/05
- 03/06: gnu: ruby-term-ansicolor: Fix test for Ruby 2.5., Christopher Baines, 2018/10/05
- 05/06: gnu: Add ruby-mathn., Christopher Baines, 2018/10/05
- 06/06: gnu: ruby-sass: Update to 3.6.0., Christopher Baines, 2018/10/05
- 04/06: gnu: ruby-sass-spec: Fix spec expectation., Christopher Baines, 2018/10/05