[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/09: gnu: ruby-concurrent: Remove dependencies.
From: |
Ben Woodcroft |
Subject: |
03/09: gnu: ruby-concurrent: Remove dependencies. |
Date: |
Wed, 10 Aug 2016 05:37:28 +0000 (UTC) |
benwoodcroft pushed a commit to branch master
in repository guix.
commit 9019b37fb77ba215504f03aca4497ec148e928e6
Author: Ben Woodcroft <address@hidden>
Date: Tue Jul 19 22:36:30 2016 +1000
gnu: ruby-concurrent: Remove dependencies.
ruby-timecop and ruby-yard will links in a circular dependency chain after
ruby-rack is updated.
* gnu/packages/ruby.scm (ruby-concurrent)[arguments]: Remove
timecop-dependent tests.
[native-inputs]: Remove ruby-timecop, ruby-yard.
---
gnu/packages/ruby.scm | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index fed46ab..fbf8d98 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -4125,12 +4125,17 @@ call.")
(add-before 'check 'rake-compile
;; Fix the test error described at
;; https://github.com/ruby-concurrency/concurrent-ruby/pull/408
- (lambda _ (zero? (system* "rake" "compile")))))))
+ (lambda _ (zero? (system* "rake" "compile"))))
+ (add-before 'check 'remove-timecop-dependency
+ ;; Remove timecop-dependent tests as having timecop as a depedency
+ ;; causes circular depedencies.
+ (lambda _
+ (delete-file "spec/concurrent/executor/timer_set_spec.rb")
+ (delete-file "spec/concurrent/scheduled_task_spec.rb")
+ #t)))))
(native-inputs
`(("ruby-rake-compiler" ,ruby-rake-compiler)
- ("ruby-yard" ,ruby-yard)
- ("ruby-rspec" ,ruby-rspec)
- ("ruby-timecop" ,ruby-timecop)))
+ ("ruby-rspec" ,ruby-rspec)))
(synopsis "Concurrency tools for Ruby")
(description
"This library provides modern concurrency tools including agents,
- branch master updated (10fa1d9 -> f874481), Ben Woodcroft, 2016/08/10
- 02/09: gnu: ruby-activesupport: Update to 5.0.0., Ben Woodcroft, 2016/08/10
- 07/09: gnu: ruby-gherkin3: Rename to ruby-gherkin and update to 4.0.0., Ben Woodcroft, 2016/08/10
- 03/09: gnu: ruby-concurrent: Remove dependencies.,
Ben Woodcroft <=
- 05/09: gnu: ruby-rspec: Update to 3.5.0., Ben Woodcroft, 2016/08/10
- 01/09: gnu: ruby-puma: Update to 3.6.0., Ben Woodcroft, 2016/08/10
- 06/09: gnu: ruby-spring: Update to 1.7.2., Ben Woodcroft, 2016/08/10
- 09/09: gnu: ruby-arel: Update to 7.1.1., Ben Woodcroft, 2016/08/10
- 04/09: gnu: ruby-rack: Update to 2.0.1., Ben Woodcroft, 2016/08/10
- 08/09: gnu: ruby-simplecov: Update to 0.12.0., Ben Woodcroft, 2016/08/10