From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36626) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g6EAH-0005mI-JS for guix-patches@gnu.org; Sat, 29 Sep 2018 08:16:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g6EAE-0004Rj-FY for guix-patches@gnu.org; Sat, 29 Sep 2018 08:16:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:54122) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g6EAE-0004RY-BR for guix-patches@gnu.org; Sat, 29 Sep 2018 08:16:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g6EAE-0005CE-5T for guix-patches@gnu.org; Sat, 29 Sep 2018 08:16:02 -0400 Subject: [bug#32870] [PATCH 4/6] gnu: ruby-sass-spec: Fix spec expectation. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36484) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g6E9h-0005jq-Mp for guix-patches@gnu.org; Sat, 29 Sep 2018 08:15:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g6E9d-000493-DH for guix-patches@gnu.org; Sat, 29 Sep 2018 08:15:29 -0400 Received: from lepiller.eu ([2a00:5884:8208::1]:45378) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g6E9d-00047E-47 for guix-patches@gnu.org; Sat, 29 Sep 2018 08:15:25 -0400 Received: from localhost (static-176-182-42-79.ncc.abo.bbox.fr [176.182.42.79]) by lepiller.eu (OpenSMTPD) with ESMTPSA id 0ff5b407 (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256:NO) for ; Sat, 29 Sep 2018 12:17:07 +0000 (UTC) Date: Sat, 29 Sep 2018 14:15:09 +0200 From: Julien Lepiller Message-ID: <20180929141509.769b45d6@lepiller.eu> In-Reply-To: <20180929104502.8536-4-mail@cbaines.net> References: <20180929104502.8536-1-mail@cbaines.net> <20180929104502.8536-4-mail@cbaines.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 32870@debbugs.gnu.org Le Sat, 29 Sep 2018 11:45:00 +0100, Christopher Baines a =C3=A9crit : > This fixes building ruby-sass with Ruby 2.5. >=20 > * gnu/packages/ruby.scm (ruby-sass-spec)[arguments]: Add patch-test > phase to fix the expectation of one of the tests. > --- > gnu/packages/ruby.scm | 9 ++++++++- > 1 file changed, 8 insertions(+), 1 deletion(-) >=20 > diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm > index c039df1559..a7dd82cf02 100644 > --- a/gnu/packages/ruby.scm > +++ b/gnu/packages/ruby.scm > @@ -5457,7 +5457,14 @@ strings or files.") > ("ruby-terminfo" ,ruby-terminfo))) > (arguments > ;; No Rakefile > - `(#:tests? #f)) > + `(#: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 If you don't enable tests, why bother fixing them?