mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-01 07:16:39 +01:00
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.
This commit is contained in:
parent
2af45e5025
commit
9019b37fb7
1 changed files with 9 additions and 4 deletions
|
@ -4125,12 +4125,17 @@ (define-public ruby-concurrent
|
||||||
(add-before 'check 'rake-compile
|
(add-before 'check 'rake-compile
|
||||||
;; Fix the test error described at
|
;; Fix the test error described at
|
||||||
;; https://github.com/ruby-concurrency/concurrent-ruby/pull/408
|
;; 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
|
(native-inputs
|
||||||
`(("ruby-rake-compiler" ,ruby-rake-compiler)
|
`(("ruby-rake-compiler" ,ruby-rake-compiler)
|
||||||
("ruby-yard" ,ruby-yard)
|
("ruby-rspec" ,ruby-rspec)))
|
||||||
("ruby-rspec" ,ruby-rspec)
|
|
||||||
("ruby-timecop" ,ruby-timecop)))
|
|
||||||
(synopsis "Concurrency tools for Ruby")
|
(synopsis "Concurrency tools for Ruby")
|
||||||
(description
|
(description
|
||||||
"This library provides modern concurrency tools including agents,
|
"This library provides modern concurrency tools including agents,
|
||||||
|
|
Loading…
Reference in a new issue