[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
79/100: gnu: ruby-byebug: Fix build.
From: |
guix-commits |
Subject: |
79/100: gnu: ruby-byebug: Fix build. |
Date: |
Mon, 10 Jul 2023 03:27:38 -0400 (EDT) |
cbaines pushed a commit to branch master
in repository guix.
commit 701608c496dda1d9b55737d91f23c1e11e4ed697
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Fri Jun 30 09:55:08 2023 +0100
gnu: ruby-byebug: Fix build.
* gnu/packages/ruby.scm (ruby-byebug)[arguments]: Update style and skip some
failing tests.
[native-inputs]: Use ruby-minitest rather than ruby-minitest-5.15.
---
gnu/packages/ruby.scm | 55 +++++++++++++++++++++++++--------------------------
1 file changed, 27 insertions(+), 28 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index acc26d4f81..9260de5964 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -8101,36 +8101,35 @@ with PostgreSQL 9.3 and later.")
(("require \"bundler/setup\".*") "")))))))
(build-system ruby-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'sanitize-dependencies
- (lambda _
- (substitute* "Rakefile"
- ((".*chandler/tasks.*") ""))))
- (add-after 'unpack 'skip-tmp-path-sensitive-test
- (lambda _
- (substitute* "test/commands/where_test.rb"
- (("unless /cygwin\\|mswin\\|mingw\\|darwin/.*")
- "unless true\n"))))
- (add-before 'build 'compile
- (lambda _
- (invoke "rake" "compile")))
- (add-before 'check 'disable-misbehaving-test
- ;; Expects 5, gets 162. From a file containing ~10 lines.
- (lambda _
- (substitute* "test/commands/finish_test.rb"
- (("test_finish_inside_autoloaded_files")
- "finish_inside_autoloaded_files"))))
- (add-before 'check 'set-home
- (lambda _
- (setenv "HOME" (getcwd)))))))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'sanitize-dependencies
+ (lambda _
+ (substitute* "Rakefile"
+ ((".*chandler/tasks.*") ""))))
+ (add-after 'unpack 'skip-tmp-path-sensitive-test
+ (lambda _
+ (substitute* "test/commands/where_test.rb"
+ (("unless /cygwin\\|mswin\\|mingw\\|darwin/.*")
+ "unless true\n"))))
+ (add-before 'build 'compile
+ (lambda _
+ (invoke "rake" "compile")))
+ (add-before 'check 'patch-tests
+ (lambda _
+ ;; srand': no implicit conversion of nil into Integer (TypeError)
+ (delete-file "test/minitest_runner_test.rb")
+ ;; Expects 5, gets 162. From a file containing ~10 lines.
+ (substitute* "test/commands/finish_test.rb"
+ (("test_finish_inside_autoloaded_files")
+ "finish_inside_autoloaded_files"))))
+ (add-before 'check 'set-home
+ (lambda _
+ (setenv "HOME" (getcwd)))))))
(native-inputs
(list bundler
- ;; Using minitest 5.17 would cause 5 new bug failures. This is
- ;; probably related to
- ;; https://github.com/deivid-rodriguez/byebug/pull/837. Use
- ;; minitest 5.15 until this is resolved and released.
- ruby-minitest-5.15
+ ruby-minitest
ruby-pry
ruby-rake-compiler
ruby-rubocop
- 37/100: gnu: Add ruby-http-accept-1., (continued)
- 37/100: gnu: Add ruby-http-accept-1., guix-commits, 2023/07/10
- 42/100: gnu: ruby-tilt: Update to 2.0.11., guix-commits, 2023/07/10
- 53/100: gnu: zsh-autosuggestions: Remove ruby-byebug dependency., guix-commits, 2023/07/10
- 57/100: gnu: ruby-wapiti: Update to 2.1.0., guix-commits, 2023/07/10
- 55/100: gnu: ruby-hydra: Fix build., guix-commits, 2023/07/10
- 59/100: gnu: ruby-rb-inotify: Update to 0.10.1., guix-commits, 2023/07/10
- 74/100: gnu: ruby-net-scp: Fix build., guix-commits, 2023/07/10
- 81/100: gnu: ruby-ruby-parser: Update to 3.20.2., guix-commits, 2023/07/10
- 69/100: gnu: ruby-language-server-protocol: Remove ruby-pry-byebug dependency., guix-commits, 2023/07/10
- 71/100: gnu: ruby-net-http-digest-auth: Fix build., guix-commits, 2023/07/10
- 79/100: gnu: ruby-byebug: Fix build.,
guix-commits <=
- 78/100: gnu: swagger-diff: Update to 2.0.0., guix-commits, 2023/07/10
- 80/100: gnu: Remove ruby-minitest-5.15., guix-commits, 2023/07/10
- 88/100: gnu: Add ruby-rubocop-packaging., guix-commits, 2023/07/10
- 87/100: gnu: ruby-hoe-git: Fix build., guix-commits, 2023/07/10
- 95/100: gnu: ruby-flores: Fix build., guix-commits, 2023/07/10
- 96/100: gnu: ruby-terminfo: Update to 0.2., guix-commits, 2023/07/10
- 100/100: gnu: ruby-ruby-memcheck: Update to 1.3.2., guix-commits, 2023/07/10
- 14/100: gnu: ruby-range-compressor: Add ruby-sorted-set as an input., guix-commits, 2023/07/10
- 29/100: gnu: ruby-thor: Update to 1.2.2., guix-commits, 2023/07/10
- 83/100: gnu: ruby-minitest-4: Fix build., guix-commits, 2023/07/10