summaryrefslogtreecommitdiff
path: root/gnu/packages/ruby.scm
diff options
context:
space:
mode:
authorBen Woodcroft <donttrustben@gmail.com>2016-07-19 22:36:30 +1000
committerBen Woodcroft <donttrustben@gmail.com>2016-08-10 15:36:33 +1000
commit9019b37fb77ba215504f03aca4497ec148e928e6 (patch)
tree42b893ac6e2e89b19b986f61eb1d19c99effb911 /gnu/packages/ruby.scm
parent2af45e5025300f97f4451f75f40ec6a0e34a797f (diff)
downloadpatches-9019b37fb77ba215504f03aca4497ec148e928e6.tar
patches-9019b37fb77ba215504f03aca4497ec148e928e6.tar.gz
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.
Diffstat (limited to 'gnu/packages/ruby.scm')
-rw-r--r--gnu/packages/ruby.scm13
1 files changed, 9 insertions, 4 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index fed46ab748..fbf8d982ca 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,