From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id MCezDmhJgmSzWgEASxT56A (envelope-from ) for ; Thu, 08 Jun 2023 23:34:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id VwqtDmhJgmT/YAEA9RJhRA (envelope-from ) for ; Thu, 08 Jun 2023 23:34:32 +0200 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 aspmx1.migadu.com (Postfix) with ESMTPS id 04030F675 for ; Thu, 8 Jun 2023 23:34:32 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q7NGe-0000wr-Ef; Thu, 08 Jun 2023 17:34:04 -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 1q7NGc-0000vj-ND for guix-patches@gnu.org; Thu, 08 Jun 2023 17:34:02 -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 1q7NGc-00020O-Ej for guix-patches@gnu.org; Thu, 08 Jun 2023 17:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q7NGc-0006kL-AW for guix-patches@gnu.org; Thu, 08 Jun 2023 17:34:02 -0400 Subject: bug#61799: [PATCH] gnu: Add ruby-minima. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Thu, 08 Jun 2023 21:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 61799 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: gemmaro Cc: 61799-done@debbugs.gnu.org Mail-Followup-To: 61799@debbugs.gnu.org, ludo@gnu.org, gemmaro.dev@gmail.com Received: via spool by 61799-done@debbugs.gnu.org id=D61799.168626001925888 (code D ref 61799); Thu, 08 Jun 2023 21:34:02 +0000 Received: (at 61799-done) by debbugs.gnu.org; 8 Jun 2023 21:33:39 +0000 Received: from localhost ([127.0.0.1]:57776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q7NGF-0006jT-6U for submit@debbugs.gnu.org; Thu, 08 Jun 2023 17:33:39 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54118) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q7NGC-0006j4-KZ for 61799-done@debbugs.gnu.org; Thu, 08 Jun 2023 17:33:37 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q7NG7-0001wa-Du; Thu, 08 Jun 2023 17:33:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=hLPDtK+6Rs8OY7E5FrfaUVlefQ2FgzlsUZfvCImuZ14=; b=dBDr2g34dXK/s1FzLp0g WLXU1KyeR5oiu8MaYqyLL8P9J2aZIFZ+I7Ev6NauydbmF6/perzV3k7iFG4ryEN3vEu1k6tXZy7Pr ipI195UT/3Lx1kezki0Gh5VjxTP8ckFfmMUqR07HJzMrZWaMTZCM/yPl91MBVAVLE2dpDVvh4fUg3 rsFumUTbml+kd0VLQuTYByobZn3/d4Ku/QeAwZyu/2ZHfoXk9NHZWuMx9F59rYyZreTssSP/LA7hm Jbc+Xkpl/tASRIrHCCFD/nU4BCNHkanNDEZsWsmPHvydb8MaBgKaXoTgoRc1FtGvk3xPVXmmnEO0h KJaCRzSeXb0ejA==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q7NG7-0000rw-1L; Thu, 08 Jun 2023 17:33:31 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: Date: Thu, 08 Jun 2023 23:33:29 +0200 In-Reply-To: (gemmaro's message of "Mon, 17 Apr 2023 21:44:10 +0900") Message-ID: <87a5x9zljq.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1686260072; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-to: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=hLPDtK+6Rs8OY7E5FrfaUVlefQ2FgzlsUZfvCImuZ14=; b=iRgwm0Gc4AGQ/XABj2iqEdjJjBnYi5gifvbRJ6DLol9qc+1yPtvWhi54fZFSdqQEX301W7 4Fj7734qWP1iTBc+Y2rnXg5ad9HrJkzHoz5ztcQ9Kd7/65vcZvFC1JZcbSNWrOpGqxY1xp Vx+IZGn2KBpEKWY8bFjk4XVoT7ddjZmezW1j33L2BLc5PanX0K/Bh9mmkpS1tMEbOzwMxX 6gPaJglmRWWanWpL//Edg0Bi+ldPUIZunPIxRnmKz0+QVv+eBIHbfaHKnt6X9RBkKTIR5y 2pzafz6tqe/A/2AINMNcYKc8JtlrG7LFpiylnEKmzFMtOvcmFHOFWay43WtNUg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=dBDr2g34; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.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=1686260072; a=rsa-sha256; cv=none; b=T/nOA4qH157lk2ksG54TFPTLdJT32kbJEZ5wvTbz9apLL8xZr+X3wedFSyO6Lb4L5lXZOT UqArR44uMG+RYTKsynFqyYSILK2HyyZeSYkW4aGPBL/7R4jH5Z1uSWL1VkP7neWnqdapAz mMlUXUtpXLNq1CkyiNxGqhjzRDKWQaCsblO6Zo7cm36LsJESU11PRFP9TPi5dOSS8fmDnC m74YstdHZMpzzo9D2M0mqdn2QEj4KwUvTwsw5YI4J5Zi5EG0vPD1AD6hak8PRvmX3D+BzU YYz8TJfgHMPVWESGcwUDLTs8kdPGvMk0rznMH5kB+Bgj0XSZQYh5D7k1Q0XASA== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -1.61 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=dBDr2g34; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.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-Queue-Id: 04030F675 X-Spam-Score: -1.61 X-TUID: MFwX45HsqYFT --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, gemmaro skribis: > I added a test by `jekyll build`. > > * gnu/packages/ruby.scm (ruby-minima): New variable. Applied with the changes below. Thanks! Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index bdd2686016..f28ad97e11 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -5270,15 +5270,16 @@ (define-public ruby-minima (base32 "1gk7jmriiswda1ykjzpsw9cpiya4m9n0yrh0h6xnrc8zcfy543jj")))) (arguments - `(#:phases (modify-phases %standard-phases - (replace 'check - (lambda _ - (invoke "jekyll" "build") - ;; Without the following, an attempt to remove - ;; minima-.gem is made during installation, - ;; which will fail. - (delete-file ,(string-append "_site/minima-" version - ".gem"))))))) + (list #:phases #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "jekyll" "build")) + ;; Without the following, an attempt to remove + ;; minima-.gem is made during installation, + ;; which will fail. + (delete-file #$(string-append "_site/minima-" + version ".gem"))))))) (build-system ruby-build-system) (propagated-inputs (list jekyll ruby-jekyll-feed ruby-jekyll-seo-tag)) (synopsis "Beautiful, minimal theme for Jekyll") --=-=-=--