diff options
| author | Ben Woodcroft <donttrustben@gmail.com> | 2016-07-19 22:36:30 +1000 |
|---|---|---|
| committer | Ben Woodcroft <donttrustben@gmail.com> | 2016-08-10 15:36:33 +1000 |
| commit | 9019b37fb77ba215504f03aca4497ec148e928e6 (patch) | |
| tree | 42b893ac6e2e89b19b986f61eb1d19c99effb911 /gnu/packages/ruby.scm | |
| parent | 2af45e5025300f97f4451f75f40ec6a0e34a797f (diff) | |
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.scm | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index fed46ab7486..fbf8d982cac 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm | |||
| @@ -4125,12 +4125,17 @@ call.") | |||
| 4125 | (add-before 'check 'rake-compile | 4125 | (add-before 'check 'rake-compile |
| 4126 | ;; Fix the test error described at | 4126 | ;; Fix the test error described at |
| 4127 | ;; https://github.com/ruby-concurrency/concurrent-ruby/pull/408 | 4127 | ;; https://github.com/ruby-concurrency/concurrent-ruby/pull/408 |
| 4128 | (lambda _ (zero? (system* "rake" "compile"))))))) | 4128 | (lambda _ (zero? (system* "rake" "compile")))) |
| 4129 | (add-before 'check 'remove-timecop-dependency | ||
| 4130 | ;; Remove timecop-dependent tests as having timecop as a depedency | ||
| 4131 | ;; causes circular depedencies. | ||
| 4132 | (lambda _ | ||
| 4133 | (delete-file "spec/concurrent/executor/timer_set_spec.rb") | ||
| 4134 | (delete-file "spec/concurrent/scheduled_task_spec.rb") | ||
| 4135 | #t))))) | ||
| 4129 | (native-inputs | 4136 | (native-inputs |
| 4130 | `(("ruby-rake-compiler" ,ruby-rake-compiler) | 4137 | `(("ruby-rake-compiler" ,ruby-rake-compiler) |
| 4131 | ("ruby-yard" ,ruby-yard) | 4138 | ("ruby-rspec" ,ruby-rspec))) |
| 4132 | ("ruby-rspec" ,ruby-rspec) | ||
| 4133 | ("ruby-timecop" ,ruby-timecop))) | ||
| 4134 | (synopsis "Concurrency tools for Ruby") | 4139 | (synopsis "Concurrency tools for Ruby") |
| 4135 | (description | 4140 | (description |
| 4136 | "This library provides modern concurrency tools including agents, | 4141 | "This library provides modern concurrency tools including agents, |
