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 kFwaMJKkGGTm7QAASxT56A (envelope-from ) for ; Mon, 20 Mar 2023 19:23:14 +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 iGkfMJKkGGQFYAEA9RJhRA (envelope-from ) for ; Mon, 20 Mar 2023 19:23:14 +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 70D6236F79 for ; Mon, 20 Mar 2023 19:23:14 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1peJHb-00053x-Tj; Mon, 20 Mar 2023 13:26:55 -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 1peJHD-0004dl-5r for guix-patches@gnu.org; Mon, 20 Mar 2023 13:26:33 -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 1peJHC-0005XD-Qp for guix-patches@gnu.org; Mon, 20 Mar 2023 13:26:30 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1peJHC-00045R-N6 for guix-patches@gnu.org; Mon, 20 Mar 2023 13:26:30 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62196] [PATCH 173/223] gnu: Add ruby-pleaserun. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 20 Mar 2023 17:26:30 +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.167933315615022 (code B ref 62196); Mon, 20 Mar 2023 17:26:30 +0000 Received: (at 62196) by debbugs.gnu.org; 20 Mar 2023 17:25:56 +0000 Received: from localhost ([127.0.0.1]:56183 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peJGd-0003u8-Mn for submit@debbugs.gnu.org; Mon, 20 Mar 2023 13:25:56 -0400 Received: from mail-qt1-f182.google.com ([209.85.160.182]:44776) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peJFn-0003fz-8j for 62196@debbugs.gnu.org; Mon, 20 Mar 2023 13:25:04 -0400 Received: by mail-qt1-f182.google.com with SMTP id s12so13942925qtq.11 for <62196@debbugs.gnu.org>; Mon, 20 Mar 2023 10:25:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679333103; 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=BsOGWYm66IW3MRkQD/EqoD6f5stIlSGoHsdoxcCJUPE=; b=JTKWEecAwBokNI0q0p9o0NZHBf8KzJYPlf4lbj4uUF1a331s5TYNL/wLJKUnJyNrfn szAutNCQilQ3FBO1/Bx70Yr167l/b1P7dYk4SaatQ3E3av8rbnbWwej8wR6OrcoWc3yh bUpx9jDMooRN13qarBUPbhgiJulEUB1gpK+U1HXp6ESJjRw9npwXchvcExXfsjtQsafM bWtNs+Tlf87OV9dX+OoIhwz82PLVRBYahyBUGd1I2r+HS88vEP06ESecLMFJOqrcEcDW jwOuBJ641FBs1wJxY3/gZx4jpXleGfv+OsUM3JMgR+KZBCtONoR6hjl3zeSk0vDJ0NfB QNHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679333103; 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=BsOGWYm66IW3MRkQD/EqoD6f5stIlSGoHsdoxcCJUPE=; b=XRLJpkholwODqJY5uFNwOyXHlyizRCLe9ggcMWwYd4M5QE/b2/cyMWhkYN/ifTjdHn Glx6QDwuBpoSNdruPNAuY4TbPxbjvOtsOv/aa5171wo3CR4afhmiHSxEj0Ve0Dt+loPl ehPRCC7xUEroslFfwaLirCEZJlQ1QTbBxe5V3NLIIX6cGhMTMqJVTkr2Ry4GJff6hTmY 9q0bvsgFWmAYl4DPg/AkwpSe/S5HbeOJpzR1AHyCEyPsOHO2JNpJ2+L5dIbo477OY+EX 0eIdiWntOQI5nnj2oI0wCPVsyMiBKyD0ftrb8qfb6WXQzKLPMkNCusz1BxFuwvNaxsKb OUxw== X-Gm-Message-State: AO0yUKVjzt0vkq7Xpig2hA4xav9cXUtSE8ORLEwznPKeROc0q1YCI7hU C9uwZmEFeLrtt0iasTLHHISQ3cK9pOY= X-Google-Smtp-Source: AK7set8y7zQJgGix6eEl94GVikcbCfIaBMbA1ZOjfjzJk9ZRL7dcaR4emuLdTWrYgbYLS0KQ9q1E5g== X-Received: by 2002:ac8:5c8a:0:b0:3d4:6185:72e8 with SMTP id r10-20020ac85c8a000000b003d4618572e8mr11919qta.1.1679333102773; Mon, 20 Mar 2023 10:25:02 -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.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Mar 2023 10:25:02 -0700 (PDT) From: Maxim Cournoyer Date: Mon, 20 Mar 2023 13:22:59 -0400 Message-Id: <20230320172349.12752-72-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=1679336594; a=rsa-sha256; cv=none; b=tnK4GEL7puEuweJwEfz4GdL1uZcH7z99rTknkwn1JooWNoAAcB0gVuh5/81MZzXTjdV8Kl K2assXDvsfe3+JOlZpk1wcFqkI999FQJj8Rm+0twForN3ct6ugD2hOQxmdNkuAmBDEap1q IZ9BVG0GsYMY0vzPm7BuxvkYzsSdzF+G4XCeuUkjHm/Cds6XUfYjx/mql9ETt07rBeceHy MGVTGUAKtPbYPDiq0S6Z1JpyIK52naBxr/Q2wwTr4BSitHqTQylIF+L6zniZMr0/PA2jek 8P5F0pMHFOJDv7cCnADOYZ6+f/7OvJPmc0gyFSyMclsjvgxcg9yKSdYySaBcmg== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=JTKWEecA; 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=1679336594; 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=BsOGWYm66IW3MRkQD/EqoD6f5stIlSGoHsdoxcCJUPE=; b=M+C0A0lnJdZhBqP7g9sGs25n4gOfgogEK8dlVb16UJ0UL4Th5NBLe9FMOHPJUqLAzU0C/C lL30dE3De71Rah/Y8BAOjI/2WTVjm/du3zoJna7WN3uSdCdYGxYeOtwRH0v0Hkj07WWKVG jpqQ2nNY+heg5wTwSusFS+/Z5nRi2XLvkOvzOzloLbsil0ihdTIm0wEvSTsJyzOpYkAkBZ FzWJf/Bc5xuK7007Mt0Wz+0hF7k0GfD1G9Q7PE9KLb8HnWRp7ZidAYLS+ZNzYFDoMsvfOj DH25JuJ2XjISeNVKtf7bVW8zdbDH9WC7hIKd5wd2Rl1fKaHLKuLiEKIM8i1j7A== X-Migadu-Spam-Score: 6.25 X-Spam-Score: 6.25 X-Migadu-Queue-Id: 70D6236F79 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=JTKWEecA; 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: 9QUjYY3J3K8+ * gnu/packages/ruby.scm (ruby-pleaserun): New variable. --- gnu/packages/ruby.scm | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 4707002fe7..1d1eba741c 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -4119,6 +4119,48 @@ (define-public ruby-net-smtp (home-page "https://github.com/ruby/net-smtp") (license license:bsd-2))) +(define-public ruby-pleaserun + (package + (name "ruby-pleaserun") + (version "0.0.32") + (source (origin + (method url-fetch) + (uri (rubygems-uri "pleaserun" version)) + (sha256 + (base32 + "1aykf0l8327bqkkf5xd9jcglsib973zpy37cfnlf4j0vp0cdpn2d")))) + (build-system ruby-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (add-after 'extract-gemspec 'relax-requirements + (lambda _ + (substitute* "pleaserun.gemspec" + ;; Mustache is pinned at 0.99.8, for portability with + ;; older Rubies. + (("dependency\\(%q.freeze.*") + "dependency(%q.freeze)\n")))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + ;; The cli_spec.rb test fails non-deterministically with + ;; a Errno::EISDIR error (see: + ;; https://github.com/jordansissel/pleaserun/issues/155) + (invoke "rspec" "--exclude-pattern" "cli_spec.rb"))))))) + (native-inputs (list ruby-flores ruby-rspec)) + (propagated-inputs (list ruby-cabin + ruby-clamp + ruby-dotenv + ruby-insist + ruby-mustache + ruby-stud)) + (synopsis "Init scripts and service definitions generation tool") + (description "Pleaserun is a tool to generate startup scripts and service +definitions. It targets service managers such as systemd, Upstart, launchd, +sysv init, and runit.") + (home-page "https://github.com/jordansissel/pleaserun") + (license license:asl2.0))) + (define-public ruby-power-assert (package (name "ruby-power-assert") -- 2.39.1