From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id QM9ZD4aeGGSIdwEASxT56A (envelope-from ) for ; Mon, 20 Mar 2023 18:57:26 +0100 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id mE9eD4aeGGQNHgEA9RJhRA (envelope-from ) for ; Mon, 20 Mar 2023 18:57:26 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx2.migadu.com (Postfix) with ESMTPS id 14A9436B5D for ; Mon, 20 Mar 2023 18:57:26 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1peJHR-0004pQ-18; Mon, 20 Mar 2023 13:26:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1peJHH-0004hv-9K for guix-patches@gnu.org; Mon, 20 Mar 2023 13:26:35 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1peJHH-0005Yn-18 for guix-patches@gnu.org; Mon, 20 Mar 2023 13:26:35 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1peJHG-00046e-Ti for guix-patches@gnu.org; Mon, 20 Mar 2023 13:26:34 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62196] [PATCH 184/223] gnu: ruby-prawn-svg: Fix build. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 20 Mar 2023 17:26:34 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62196 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62196@debbugs.gnu.org Cc: Maxim Cournoyer Received: via spool by 62196-submit@debbugs.gnu.org id=B62196.167933315915096 (code B ref 62196); Mon, 20 Mar 2023 17:26:34 +0000 Received: (at 62196) by debbugs.gnu.org; 20 Mar 2023 17:25:59 +0000 Received: from localhost ([127.0.0.1]:56203 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peJGh-0003vK-36 for submit@debbugs.gnu.org; Mon, 20 Mar 2023 13:25:59 -0400 Received: from mail-qv1-f48.google.com ([209.85.219.48]:38898) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peJFw-0003g9-PC for 62196@debbugs.gnu.org; Mon, 20 Mar 2023 13:25:13 -0400 Received: by mail-qv1-f48.google.com with SMTP id c26so2215751qvz.5 for <62196@debbugs.gnu.org>; Mon, 20 Mar 2023 10:25:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679333112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=+f0HXNJ0p9t1gMlkYqCx572mLAr4/78CFHuDriHG0yw=; b=jSt0ysAduRUhKCLZKv6Rf2jWCOyh+iXQRIcGB7C+Tb+PGDyHd2wTIhG9HgmDg0+FVj LSJmc8Ye0/KDRIf6CNIFQm2nT8iQWrZEPYUI/95cLKxIQVf260xuv/KDifXwzgV7wk+5 UVP1USe7mpeUNHdGBnpJTf85OilaJcSYtYfNF65X4TtTRAgNz5w3ikuk3J4o5Tcr2OYF 5FWKMZOw5+nTyZ4QkUdjj0ICEvzVaDdQuo57z7G8XF2xNz4ai8Zy8qzFh3DUeJUJvxr1 /+Pc6W4HUPY6X8IiaOV2CVhfPyTUCOPAsMg77aAe5V0KNSp74GdT+sZr3OEo19hqf3Zr YS/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679333112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+f0HXNJ0p9t1gMlkYqCx572mLAr4/78CFHuDriHG0yw=; b=eJ+Tq61g77UbyRMAn8ru+HosVJJkBMbEDqEMdH8bNLG4+8htDuUU6Hh1mdQHf5ci/t oMOz+P8v93G9urRy3EGXBisQ4jacC3Z74TwzeSgKjYzqIwaslh0QUu7KrkKdD0to570X JfcdHCf+9/TUw0D0yyrlKzgIuCCmnBK6KwhU70KM2bMtfd+oD4/ALxjMdoWzWC9uvmQF DdVvY251djG9zhpHU/doC4hb3sfFd99RBP67gxWFYIgL057ciZ1eNIjfXAwZypb3e3Gu lFA5Ma8ryq8LAp6nFP1K8f7SAGGDQzRDQx4hbBHM2HunK0NhO/GbnH8Bniv59Y2tOa/6 bPgQ== X-Gm-Message-State: AO0yUKV7V6c7iUTagMSZaiNrLajXz6TuoIlZwFtw7WcYmNwitS7adN57 YocWoze6WGj4I9IT4kz3bfNonk/VlQE= X-Google-Smtp-Source: AK7set+z9TyNqq4bHZVU2L1vOQlNBpSTDOF785qMpGpFACIOxCIiPIujl9epMB4iRXDWKxwN+JT15w== X-Received: by 2002:a05:6214:da5:b0:5a6:1571:1eb with SMTP id h5-20020a0562140da500b005a6157101ebmr47421058qvh.27.1679333112311; Mon, 20 Mar 2023 10:25:12 -0700 (PDT) Received: from localhost.localdomain (dsl-10-128-46.b2b2c.ca. [72.10.128.46]) by smtp.gmail.com with ESMTPSA id i7-20020a378607000000b007422eee8058sm7769352qkd.125.2023.03.20.10.25.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Mar 2023 10:25:12 -0700 (PDT) From: Maxim Cournoyer Date: Mon, 20 Mar 2023 13:23:10 -0400 Message-Id: <20230320172349.12752-83-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230320172349.12752-1-maxim.cournoyer@gmail.com> References: <20230320172349.12752-1-maxim.cournoyer@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679335046; a=rsa-sha256; cv=none; b=SktSWcpZTNZXhJybfvpaOTlbvF8C+paBdZDpnSLhPtHOz6O98E44D8VzC5rg46VKmdYvA4 ahmGRT8SDkteysN9Blv6p0JQdJybuY+TNbR1RM51FEl4CY3nrT15+ZUHrFvPx1UnIjS9VU oCXiv/p+f0dYcvDWKFTZNzDfCHbebEgYiRSMubnJ0RadV8/hPdeg2rcZ4hcx2S2MCJFQpd XemyVZfB40YwNPZbKsUERWwjsQZPEmlN2/OOcO5YyXcpqsDw3zCPBRvvkMS17hchjmp2wZ TW1SQtuGXQyjJxsLpQlIyhRkSM97EvrJ++xKC4U6eFeUzoYtWhJ6znxG25khSQ== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=jSt0ysAd; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx2.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679335046; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=+f0HXNJ0p9t1gMlkYqCx572mLAr4/78CFHuDriHG0yw=; b=E+ngrPMyYYnGY5xY/JMwT7MzXc4js2BfFOvF1m8IQfXYh3hisgVHGbZ4te2wNN4ss8mk0I KlAK1AMDPDRRyj/ToRW3ulkvrhw5Wj0UhAhnatn+1RZwztjBgCk+yIooho2nHUMe2gN4uJ 6mjOSMdbClc9ZFDRKDmoUJopzB00jlLW+p6OTFzeJP251KBB4Ki68fc3ADl87C8295+sUY EJCtFMU56hxXtK8EUub6r9z4/lO26vql07znusGoiSAF68NjhcTGQAGtfsy5JEqrsyjB77 1oPs/MHl247s5+LeWD3xY+/6wjxKuwAsNlZOlnMmKB1nylv2shXZZOgItdfBRQ== X-Migadu-Spam-Score: 6.25 X-Spam-Score: 6.25 X-Migadu-Queue-Id: 14A9436B5D Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=jSt0ysAd; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx2.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn1.migadu.com X-TUID: kdvHYHE4cGxK The test suite fails two tests when using a newer rspec version. * gnu/packages/ruby.scm (ruby-prawn-svg) [arguments]: Delete the interface_spec.rb test suite in the check phase. --- gnu/packages/ruby.scm | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 607fefb9af..fb85b4dde3 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -1529,15 +1529,19 @@ (define-public ruby-prawn-svg "0mbxzw7r7hv43db9422flc24ib9d8bdy1nasbni2h998jc5a5lb6")))) (build-system ruby-build-system) (arguments - `(#:phases (modify-phases %standard-phases - (add-after 'unpack 'do-not-use-bundler - (lambda _ - (substitute* "spec/spec_helper.rb" - ((".*[Bb]undler.*") "")))) - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "rspec" "-Ilib" "-rprawn-svg"))))))) + (list #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'do-not-use-bundler + (lambda _ + (substitute* "spec/spec_helper.rb" + ((".*[Bb]undler.*") "")))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + ;; This test fails due to the recent rspec 3.12 used + ;; (see: https://github.com/mogest/prawn-svg/issues/151). + (delete-file "spec/prawn/svg/interface_spec.rb") + (invoke "rspec" "-Ilib" "-rprawn-svg"))))))) (native-inputs (list ruby-rspec)) (propagated-inputs (list ruby-css-parser ruby-prawn)) (synopsis "SVG renderer for the Prawn PDF library") -- 2.39.1