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.
This commit is contained in:
parent
39ecb977d3
commit
2c7cb711e9
|
@ -5456,8 +5456,16 @@ strings or files.")
|
||||||
("ruby-diffy" ,ruby-diffy)
|
("ruby-diffy" ,ruby-diffy)
|
||||||
("ruby-terminfo" ,ruby-terminfo)))
|
("ruby-terminfo" ,ruby-terminfo)))
|
||||||
(arguments
|
(arguments
|
||||||
;; No Rakefile
|
`(;; This package contains tests for a sass implementation, and the to
|
||||||
`(#:tests? #f))
|
;; 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")
|
(home-page "https://github.com/sass/sass-spec")
|
||||||
(synopsis "Test suite for Sass")
|
(synopsis "Test suite for Sass")
|
||||||
(description "Sass Spec is a test suite for Sass. Test cases are all in
|
(description "Sass Spec is a test suite for Sass. Test cases are all in
|
||||||
|
|
Loading…
Reference in New Issue