[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
51/100: gnu: ruby-marcel: Fix build.
From: |
guix-commits |
Subject: |
51/100: gnu: ruby-marcel: Fix build. |
Date: |
Mon, 10 Jul 2023 03:27:33 -0400 (EDT) |
cbaines pushed a commit to branch master
in repository guix.
commit 158b3dc693c8991caac85945f861f74f47274e71
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Wed Jun 28 08:41:22 2023 +0100
gnu: ruby-marcel: Fix build.
* gnu/packages/rails.scm (ruby-marcel)[arguments]: Remove the byebug
dependency.
[native-inputs]: Remove ruby-byebug.
---
gnu/packages/rails.scm | 31 +++++++++++++++++++------------
1 file changed, 19 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm
index fc9a8f04e6..de0e17440e 100644
--- a/gnu/packages/rails.scm
+++ b/gnu/packages/rails.scm
@@ -977,18 +977,25 @@ already included in Rails.")
"1i1x24afmn09n48fj4yz2pdm6vlfnq14gism0cgxsyqmlrvsxajn"))))
(build-system ruby-build-system)
(arguments
- (list #:test-target "default"
- #:phases #~(modify-phases %standard-phases
- (add-before 'check 'disable-problematic-tests
- (lambda _
- (substitute* "test/mime_type_test.rb"
- ;; One test fails because of the newer rack
- ;; version used (see:
- ;; https://github.com/rails/marcel/issues/91).
- (("test \"gets content type.*" all)
- (string-append
- all " skip('fails on guix')\n"))))))))
- (native-inputs (list ruby-byebug ruby-nokogiri ruby-rack))
+ (list
+ #:test-target "default"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch
+ (lambda _
+ ;; Remove byebug dependency
+ (substitute* "test/test_helper.rb"
+ (("require 'byebug'") ""))))
+ (add-before 'check 'disable-problematic-tests
+ (lambda _
+ (substitute* "test/mime_type_test.rb"
+ ;; One test fails because of the newer rack
+ ;; version used (see:
+ ;; https://github.com/rails/marcel/issues/91).
+ (("test \"gets content type.*" all)
+ (string-append
+ all " skip('fails on guix')\n"))))))))
+ (native-inputs (list ruby-nokogiri ruby-rack))
(propagated-inputs (list ruby-mimemagic))
(synopsis "MIME type detection using magic numbers, filenames and
extensions")
(description
- 90/100: gnu: ruby-fast-gettext: Update to 2.3.0., (continued)
- 90/100: gnu: ruby-fast-gettext: Update to 2.3.0., guix-commits, 2023/07/10
- 94/100: gnu: ruby-yard: Refactor package and some dependencies., guix-commits, 2023/07/10
- 85/100: gnu: Add ruby-hoe-3., guix-commits, 2023/07/10
- 08/100: gnu: ruby-contracts: Update to 0.17., guix-commits, 2023/07/10
- 21/100: gnu: ruby-stackprof: Update to 0.2.25., guix-commits, 2023/07/10
- 16/100: gnu: Remove ruby-instantiator., guix-commits, 2023/07/10
- 17/100: gnu: Add ruby-psych., guix-commits, 2023/07/10
- 97/100: gnu: ruby-sass-spec: Remove ruby-terminfo input., guix-commits, 2023/07/10
- 33/100: gnu: ruby-listen: Update to 3.8.0., guix-commits, 2023/07/10
- 30/100: gnu: ruby-minitest-focus: Update to 1.3.1., guix-commits, 2023/07/10
- 51/100: gnu: ruby-marcel: Fix build.,
guix-commits <=
- 46/100: gnu: ruby-timecop: Update to 0.9.6., guix-commits, 2023/07/10
- 58/100: gnu: ruby-bibtex-ruby: Remove ruby-byebug dependency., guix-commits, 2023/07/10
- 64/100: gnu: ruby-braintree: Update to 4.12.0., guix-commits, 2023/07/10
- 65/100: gnu: ruby-multi-json: Fix build., guix-commits, 2023/07/10
- 63/100: gnu: ruby-benchmark-ips: Update to 2.12.0., guix-commits, 2023/07/10
- 60/100: gnu: facter: Update to 4.4.1., guix-commits, 2023/07/10
- 91/100: gnu: ruby-minitest-tu-shim: Fix build., guix-commits, 2023/07/10
- 82/100: gnu: ruby-stackprof: Always skip the GC test., guix-commits, 2023/07/10
- 92/100: gnu: ruby-rspec-block-is-expected: Update to 1.0.5., guix-commits, 2023/07/10
- 84/100: gnu: ruby-mapping: Fix build., guix-commits, 2023/07/10