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 +D4wL2ChGGQ9qQAASxT56A (envelope-from ) for ; Mon, 20 Mar 2023 19:09:36 +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 iAk1L2ChGGTPnAAA9RJhRA (envelope-from ) for ; Mon, 20 Mar 2023 19:09:36 +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 8F38936E51 for ; Mon, 20 Mar 2023 19:09:36 +0100 (CET) Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=PEUm9m9L; 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=1679335776; 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=E6lI6DHwS1Vmw1MA3F8ml3ItQZVUV3mcRqdzHJH20IY=; b=reYdG20rccMigE0I7XpaEhekRWEVGp7SndldO8Gg0pTAdyJMGUEmYVmD9UgvL+DURTI14h 0AJtki7fr1miesZt8i3phMUgehi5v14eq4xIZGqE4Ytu0IQADWSSkcvpsgeIrYHocyMF62 TnrbauJ/afPaqVET4QQFHDR0WzwHxtn2ulkDe3tfkP5gpl5RibavfD9a0x06diRAHMSUhb RZh75Jq7Ch8Ciw1lyZIPvxx0Th1zakfq1/+FjJBIu8LqIJTXWEevlxaYlu8ETLLCvrinkl 6ARYF9Nmq93Zz7hkvoRgY/QIoc1hE6CTsNmccHtGfSHkjkfCrNq7FrdowNc1Kg== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=PEUm9m9L; 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-Seal: i=1; s=key1; d=yhetil.org; t=1679335776; a=rsa-sha256; cv=none; b=u6FdBBzC9W7maBZTbLMz0RgE4AFaOQO0vrldaGqwyAc5q85UGNKdkB1+nrDHOJ60A4P9Ny /6MCqOjkTQEohTYvRhBEUJUFalsQfMNwLYzT6MiEALZPcix538dDo+60sZaZu/UGKZING4 6GZLHDGughLdOAMUm7dDvsTc9NMt8syM9xxQl88ghtVc/JHJdF5rr6gQITwSD+882eSV23 ojY/44vuxqnDZNpFh4FTlo3EM4kF8Kh1+jnka5aLfQ8HXrUsUIIDyWLXPY5iyGKO8KIogS /VTXOhvyTzMymhmD/VGutETK8Xy72xUXan0FpEZFGrsWHqdtqFXm7Cr6zsrqPg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1peJRP-0006vB-Ss; Mon, 20 Mar 2023 13:37:03 -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 1peJRP-0006uq-AS for guix-patches@gnu.org; Mon, 20 Mar 2023 13:37:03 -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 1peJRP-0003Rl-0b for guix-patches@gnu.org; Mon, 20 Mar 2023 13:37:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1peJRO-00056W-Dt for guix-patches@gnu.org; Mon, 20 Mar 2023 13:37:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62196] [PATCH 222/223] gnu: Add ruby-liquid-c. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 20 Mar 2023 17:37:02 +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.167933378919577 (code B ref 62196); Mon, 20 Mar 2023 17:37:02 +0000 Received: (at 62196) by debbugs.gnu.org; 20 Mar 2023 17:36:29 +0000 Received: from localhost ([127.0.0.1]:56522 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peJQr-00055g-2d for submit@debbugs.gnu.org; Mon, 20 Mar 2023 13:36:29 -0400 Received: from mail-yw1-f175.google.com ([209.85.128.175]:42929) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peJQp-00055U-Cc for 62196@debbugs.gnu.org; Mon, 20 Mar 2023 13:36:27 -0400 Received: by mail-yw1-f175.google.com with SMTP id 00721157ae682-544f7c176easo92554357b3.9 for <62196@debbugs.gnu.org>; Mon, 20 Mar 2023 10:36:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679333781; 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=E6lI6DHwS1Vmw1MA3F8ml3ItQZVUV3mcRqdzHJH20IY=; b=PEUm9m9Lghb1S5HLZHjAfKtQ8JzwX6L+anCiKneJbuIxXim6ba4NzdhHOHiqF4/+45 TsHeLDolKx/BdDLgvSSXnZFKExBp4XykDnXQHxPDKCORKC5QnN1gGNrZM+dc7l5Mb6J1 PVEuCxESHfFpBSdPipqYWnIzATNeHlpsVE/onFl8om16wyUcPaRcM0MPO9l0kRVOblVp /xH0P8vLXV4r/PlQoCKwwPBMi6366NIQGoCUPGnaCIY8jOPuML0CNKLj6mSfrhvLff4z XtTkLoVnLGRTXN74yrys5DYVyhWP9Fw7YFdEoa5MFRomGoMtMtyWTlviVlx5m0UDI68B 44xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679333781; 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=E6lI6DHwS1Vmw1MA3F8ml3ItQZVUV3mcRqdzHJH20IY=; b=DvcSqEGJfdb/2Y824W7J8g5/yQRqQAByeD1F1HlhlK5C25mXEkSj6Hz7smJye4Ulc6 cJN0cmnQTB4FZ0zH9mBcKzQVL58u0ydm80q9c5eNkDLWcxYmEdkfhDXnu+FgHHk9alrj qDUsPx2lrrlFpdgzqJ6dqWRdYBtA5NdukzeUD54KNGcLLWOc0lO/FBrjdmd6yhTfWm7m AlNW3E1aTWqlofF6JeJOG8dAY5YXLmTiLbwm33J/uEphB/42BOZ60wfb7svSm3mEBzOA bQQajIb4FJfUG3a84K6iiJ5gK3e64YEoi4niTv6PLaP+lpXeUPxsU3uLK6gicAL9mgti PjaQ== X-Gm-Message-State: AO0yUKVO+we1A9B9CyWPVtIkua5oAskfQUYmdGnYWG0lFTOErAkWaJim k2kkNcgUVUITMUxxKFDl1hlQBzAmJ5c= X-Google-Smtp-Source: AK7set+KRkng/Fgl3Pw228n4tnbfF1cjbWPh0z5ZDFA7/RwPgFnjkrOhsqmHjS6WGsRc3MTeACvBPg== X-Received: by 2002:a05:622a:246:b0:3de:6d89:adb1 with SMTP id c6-20020a05622a024600b003de6d89adb1mr11093651qtx.20.1679333398327; Mon, 20 Mar 2023 10:29:58 -0700 (PDT) Received: from localhost.localdomain (dsl-10-128-46.b2b2c.ca. [72.10.128.46]) by smtp.gmail.com with ESMTPSA id g2-20020a37b602000000b0071aacb2c76asm7536708qkf.132.2023.03.20.10.29.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Mar 2023 10:29:58 -0700 (PDT) From: Maxim Cournoyer Date: Mon, 20 Mar 2023 13:29:32 -0400 Message-Id: <20230320172933.13101-21-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230320172933.13101-1-maxim.cournoyer@gmail.com> References: <20230320172933.13101-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: X-Migadu-Queue-Id: 8F38936E51 X-Spam-Score: -2.95 X-Migadu-Spam-Score: -2.95 X-Migadu-Scanner: scn0.migadu.com 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 X-TUID: aw8XPu4ZjoqI * gnu/packages/ruby.scm (ruby-liquid-c): New variable. --- gnu/packages/ruby.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 7daacd706e..eb2c062a89 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -13524,6 +13524,40 @@ (define ruby-liquid-c-bootstrap (home-page "https://github.com/shopify/liquid-c") (license license:expat))) +(define-public ruby-liquid-c + (package/inherit ruby-liquid-c-bootstrap + (name "ruby-liquid-c") + (arguments + (list + ;; Only run the unit tests, because the test:integration target fails + ;; with "File does not exist: test_helper" (see: + ;; https://github.com/Shopify/liquid-c/issues/188). + #:test-target "test:unit" + #:phases + #~(modify-phases %standard-phases + (add-after 'extract-gemspec 'relax-requirements + (lambda _ + (substitute* "Gemfile" + ;; Do not attempt to fetch a gem from git. + (("git_source\\(:github) do \\|repo_name\\|") + "if false") + ((", github: \"Shopify/liquid\", ref: \"master\"") + "") + ;; Remove extraneous dependencies. + ((".*byebug.*") "") + ((".*rubocop.*") "") + ;; Relax spy version specification. + (("gem \"spy\", \"0.4.1\"") + "gem \"spy\", \">= 0.4.1\""))))))) + (native-inputs + (list ruby-benchmark-ips + ruby-rake-compiler + ruby-ruby-memcheck + ruby-spy + ruby-stackprof)) + (propagated-inputs + (list ruby-liquid)))) + (define-public ruby-localhost (package (name "ruby-localhost") -- 2.39.1