[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/06: gnu: ruby-sass-spec: Fix spec expectation.
From: |
Christopher Baines |
Subject: |
04/06: gnu: ruby-sass-spec: Fix spec expectation. |
Date: |
Fri, 5 Oct 2018 16:28:14 -0400 (EDT) |
cbaines pushed a commit to branch master
in repository guix.
commit 2c7cb711e938ff9e358ffb274ea2f96ae84fc1e9
Author: Christopher Baines <address@hidden>
Date: Sat Sep 29 11:18:54 2018 +0100
gnu: ruby-sass-spec: Fix spec expectation.
This fixes building ruby-sass with Ruby 2.5.
* gnu/packages/ruby.scm (ruby-sass-spec)[arguments]: Add patch-test phase to
fix the expectation of one of the tests. Also change the comment regarding
the
tests not being run.
---
gnu/packages/ruby.scm | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index c039df1..a0fe0c2 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -5456,8 +5456,16 @@ strings or files.")
("ruby-diffy" ,ruby-diffy)
("ruby-terminfo" ,ruby-terminfo)))
(arguments
- ;; No Rakefile
- `(#:tests? #f))
+ `(;; This package contains tests for a sass implementation, and the to
+ ;; avoid any circular dependencies, the tests are not run here
+ #:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-test
+ (lambda _
+ (delete-file "spec/values/colors/alpha_hex-3.5/error")
+ (substitute*
"spec/values/colors/alpha_hex-3.5/expected_output.css"
+ (("string") "color")))))))
(home-page "https://github.com/sass/sass-spec")
(synopsis "Test suite for Sass")
(description "Sass Spec is a test suite for Sass. Test cases are all in
- branch master updated (b0e829c -> 11ff2ad), Christopher Baines, 2018/10/05
- 02/06: gnu: ruby-shindo: Remove -rubygems flags., Christopher Baines, 2018/10/05
- 01/06: gnu: bioruby: Update to 1.5.2., Christopher Baines, 2018/10/05
- 03/06: gnu: ruby-term-ansicolor: Fix test for Ruby 2.5., Christopher Baines, 2018/10/05
- 05/06: gnu: Add ruby-mathn., Christopher Baines, 2018/10/05
- 06/06: gnu: ruby-sass: Update to 3.6.0., Christopher Baines, 2018/10/05
- 04/06: gnu: ruby-sass-spec: Fix spec expectation.,
Christopher Baines <=