From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 wCAkFD6rGGT/GwAASxT56A (envelope-from ) for ; Mon, 20 Mar 2023 19:51:42 +0100 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 6GY5Ez6rGGRrRAEAG6o9tA (envelope-from ) for ; Mon, 20 Mar 2023 19:51:42 +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 154B33779A for ; Mon, 20 Mar 2023 19:51:42 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1peJLc-0002TE-Vv; Mon, 20 Mar 2023 13:31:05 -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 1peJLb-0002RL-FM for guix-patches@gnu.org; Mon, 20 Mar 2023 13:31: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 1peJLa-0007z4-Sv for guix-patches@gnu.org; Mon, 20 Mar 2023 13:31:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1peJLa-0004rR-Na for guix-patches@gnu.org; Mon, 20 Mar 2023 13:31:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62196] [PATCH 182/223] gnu: ruby-temple: Update to 0.10.0. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 20 Mar 2023 17:31: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.167933345718645 (code B ref 62196); Mon, 20 Mar 2023 17:31:02 +0000 Received: (at 62196) by debbugs.gnu.org; 20 Mar 2023 17:30:57 +0000 Received: from localhost ([127.0.0.1]:56429 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peJLV-0004qe-AZ for submit@debbugs.gnu.org; Mon, 20 Mar 2023 13:30:57 -0400 Received: from mail-yw1-f176.google.com ([209.85.128.176]:47034) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peJLR-0004qB-Ce for 62196@debbugs.gnu.org; Mon, 20 Mar 2023 13:30:53 -0400 Received: by mail-yw1-f176.google.com with SMTP id 00721157ae682-544787916d9so236489437b3.13 for <62196@debbugs.gnu.org>; Mon, 20 Mar 2023 10:30:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679333447; 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=YQxSkNsWfGXXGsmpf8bOTz7FugrNLtJjjjXS0CCT48U=; b=GvNO5vpwB5sXQlkcgaQBX0RBwoBto6edpY76/9CVb15iqMDJfnQdpPbI7Bjghnk9Bu jYFQ4v+YcGqrfdgoZD+G3ADhuNu1pCvxRZxi+Xrxx5dXjDPh6/bAVY2efBwp5S5g1M1j ZHWMQCe7yB6fmQh0qyUPkVBz4oXdnafEzEDospIoaxhk1kH5UNUPglQDJ36xwX99ycJo hIGKKlMM3NpHN0qPJl/hVUfMrhR9RtFaZAQQRy1J+3Bj4nr/qT47j6FFLye0v9M8w3IN 3sd1tq777GYDX6nxDasVTYoas9F8D8bB04/IuZnC8wsNKzR5KAZEV6iMGuv6Iufb0MwK lwcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679333447; 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=YQxSkNsWfGXXGsmpf8bOTz7FugrNLtJjjjXS0CCT48U=; b=b6dW/OFnlj4x+UH+QN6MAi3jZ6/ijqrV4qLMU+agT4BYIHjKCH2PvkS0WTnsrU4wAu ub+D+CrueUWJm+MK0pgv/sFqwFQR5ogdP5XamHs4X86sSBIAGAvLVNrIt4+i5VFRBaKz d+69XBdMzp2vaBeMfH3/QX4DEUMNIJsqhQ/Yi9v7wzyuirFLhLItZHi1BtbGbSflrh41 kAgXntCU4uZB4Pf4mLWr326WnMryBUR93jsBL3QukW1AB+W9OBSHGoPi45g/6ftgVg3H vDA2KJYolR7D9PTb0cuPHS60fzYvjpum+Wy1Lm7YgmqtiA3XMqo8zssT5+uBSMvxQ/Fz jtgA== X-Gm-Message-State: AO0yUKUgRfzraFHUGIyQFiZs67Bl+kcwZGYKVAXc7K2+0jD7xYbCaAPZ NtDCcccMbYRLjQYy5lzE/0l0WtrJWo8= X-Google-Smtp-Source: AK7set9gV6jOFoT/DqVjyo7GBzuo/xa8resqJ/ZPgQW3ajtrCiFgQrR1vj0c3298vWapOzH+GB4ljg== X-Received: by 2002:a05:622a:60b:b0:3bf:d258:4a85 with SMTP id z11-20020a05622a060b00b003bfd2584a85mr28350949qta.66.1679333110807; Mon, 20 Mar 2023 10:25:10 -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.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Mar 2023 10:25:10 -0700 (PDT) From: Maxim Cournoyer Date: Mon, 20 Mar 2023 13:23:08 -0400 Message-Id: <20230320172349.12752-81-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=1679338302; a=rsa-sha256; cv=none; b=SYgpgT5dWriEtCpY5X1L150w8SlGz6lW5saAJ31dZ2np+nvzCtKneTon6NZ9lEjLSO4Q3W gaeeFy1aVLzsovf2XX3vFALla0xQaU7CGzNMl23pJeMASamBI8oXMxDqF4azqNY51PPbk2 sAyqPq0s4FASCM8ZgnF2K30Q75Ird0k/iyqaVvplmCAnlscZ/R4F4XkFCNPhBCm1WnvIVE b0xnXWyezeDzO+cg0Ryk5seUR/95p8LFLBGDWmOVXcJ5VldeWZ2xmuB+ykL5eoEpkyY+z+ PEfwJaBmilTMIJMAQegPj933BcpkWbSkGvmplccDGJ0MMt2iJngc6WfM7Fno7w== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=GvNO5vpw; 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=1679338302; 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=YQxSkNsWfGXXGsmpf8bOTz7FugrNLtJjjjXS0CCT48U=; b=sH3lUsb4W3KSXI6h43QOF39sPJ7R3d84Bas7rCDZyrQ7bf0NqebtfHk1iLFFtlIy8YoIl0 koPq7XbgPAP+Hwm+0kh0b1DPyubXs6J3Sg0oKOAttir5CGxgKl/GWKbArh3p7jlQa+KNrZ Jxo+a9jn6hOKD4ld9NzomW265Jn5u1U944ZjL6nwMt0qlUVSyV0hOnD4GxQxRNE93i8f6i 1jAGL7I0US5JdJXhBsDB+8whceY+dEzzq1eIuQCFw0b3tWP/dy2yaMm3mbZBcY9q29gKzb D71YUK5kMoSuzRF0obixmWn1wdthC5eTOL9r5UUoQh30yJPrD45vaF/hele5Ug== X-Migadu-Spam-Score: 6.25 X-Spam-Score: 6.25 X-Migadu-Queue-Id: 154B33779A Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=GvNO5vpw; 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: ZzTl7YdK8V/q * gnu/packages/ruby.scm (ruby-temple): Update to 0.10.0. [source]: Fetch via git. [arguments]: New field. [native-inputs]: Replace ruby-erubis with ruby-erubi. Add ruby-rspec. --- gnu/packages/ruby.scm | 43 ++++++++++++++++++++++++++++++------------- 1 file changed, 30 insertions(+), 13 deletions(-) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 1905ef0b9b..f26988d830 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -4233,21 +4233,38 @@ (define-public ruby-locale (define-public ruby-temple (package (name "ruby-temple") - (version "0.8.2") - (source - (origin - (method url-fetch) - (uri (rubygems-uri "temple" version)) - (sha256 - (base32 - "060zzj7c2kicdfk6cpnn40n9yjnhfrr13d0rsbdhdij68chp2861")))) + (version "0.10.0") + (source (origin + (method git-fetch) ;for tests + (uri (git-reference + (url "https://github.com/judofyr/temple") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0rr9fnlcgj9nm3b6hzzjsvcw8x3y7z48j7slk7xxff2mh8s7y3y0")))) (build-system ruby-build-system) - (native-inputs - (list ruby-tilt ruby-bacon ruby-erubis)) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (add-after 'replace-git-ls-files 'replace-more-git-ls-files + (lambda _ + (substitute* "temple.gemspec" + ;; There no longer are test, spec or features + ;; directories. + ((".*`git ls-files -- \\{test,spec,features}/\\*`.*") + "") + ;; There isn't any bin directory either. + ((".*`git ls-files -- bin/\\*`.*") + "")))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "rspec"))))))) + (native-inputs (list ruby-bacon ruby-erubi ruby-rspec ruby-tilt)) (synopsis "Template compilation framework in Ruby") - (description - "Temple is an abstraction and framework for compiling templates to pure -Ruby.") + (description "Temple is an abstraction and framework for compiling +templates to pure Ruby.") (home-page "https://github.com/judofyr/temple") (license license:expat))) -- 2.39.1