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 UEVQC1eiGGQ9qQAASxT56A (envelope-from ) for ; Mon, 20 Mar 2023 19:13:43 +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 AL1gCleiGGT87QAAG6o9tA (envelope-from ) for ; Mon, 20 Mar 2023 19:13:43 +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 CC7B036E74 for ; Mon, 20 Mar 2023 19:13:42 +0100 (CET) Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=HscuRwGQ; 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=1679336022; 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=ogYPqqUQ4tJC4jWacRfQglDNOR9S5qtx3Ap1Oen0sSA=; b=h45uKsUxdKokZjR+FqDXOmYaFh0pBXT+ZHY7+e0E5gb64dwsqk9PAf0tB5BJVXi6ndanwt tmZ/f2MZw73j4allb7IHXO3RizFQ2Lko9wGN1gkPHr92EYL2PoVPrEjoVIlZaVT+xBnW1S x09KT7DB5ryr8VkmWH/kX7FN7qSeDVhMkN3C+GJYVe898gpma6zzpYxkeRLIGCYwfdK0Tj QQ86NqxZPK8M2F0GzGhoLlbM3Ja9DEpy497WMzHO43Lo+47Za8z0zmgzmVicvckkryk5wh WdUGSnQXpA1GmrVLcxa1edpOtes9rMrpgrzAB9CQ3HWVUIWlepPgMLeOtxm1ow== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=HscuRwGQ; 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=1679336022; a=rsa-sha256; cv=none; b=VJgcWcN49/2cBjlZW7cjksb1uBNgilr8x9GyLmOYHKrpq1Wbdv5de05xwTZ8Zw62yXPzmA HizmIcFd/teaAu3RMxBaR9fdrGnd5dV7gSl5lxp7/OR9O7JRPZX2dQJNKlOH9H73KPnAI7 /MyEVKV9Gu5gnNEGTAAsHvQprMDOLJGJHHvVTr02fIyWpRoy/FPPKGaAIPs4TeCrYN5d94 ucimcvFzKEqMyBf7ZI03797m+3vz4+NhtnRNaJL3UFx5Djcr5rJD2kkLKjbMUN8E5ZtKD1 YbgvTnqVLQGqMXgjeMTw4fpzotFhffhlJBopRW2Wh8tNJ+oFCpLy9U4udwLJOw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1peJH8-0004Zo-Fc; Mon, 20 Mar 2023 13:26:26 -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 1peJGy-0004SF-Q3 for guix-patches@gnu.org; Mon, 20 Mar 2023 13:26:16 -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 1peJGy-0005Rs-Hl for guix-patches@gnu.org; Mon, 20 Mar 2023 13:26:16 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1peJGy-00041G-Dm for guix-patches@gnu.org; Mon, 20 Mar 2023 13:26:16 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62196] [PATCH 130/223] gnu: Add ruby-timers. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 20 Mar 2023 17:26:16 +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.167933312914718 (code B ref 62196); Mon, 20 Mar 2023 17:26:16 +0000 Received: (at 62196) by debbugs.gnu.org; 20 Mar 2023 17:25:29 +0000 Received: from localhost ([127.0.0.1]:56108 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peJGC-0003pE-Ns for submit@debbugs.gnu.org; Mon, 20 Mar 2023 13:25:29 -0400 Received: from mail-qt1-f173.google.com ([209.85.160.173]:38901) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peJFA-0003Yw-Cu for 62196@debbugs.gnu.org; Mon, 20 Mar 2023 13:24:24 -0400 Received: by mail-qt1-f173.google.com with SMTP id c18so13983165qte.5 for <62196@debbugs.gnu.org>; Mon, 20 Mar 2023 10:24:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679333064; 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=ogYPqqUQ4tJC4jWacRfQglDNOR9S5qtx3Ap1Oen0sSA=; b=HscuRwGQ8FGdN8ZcdYXyNRfZBE7R/7/zXqsH+kmCBv6TFTltlNHz3yytJUYlRxABtT 7SqZ46ssVd3T97vB3WFDw7Mj7GYKHvSSqmPz2dVl1fRnQ4Qo7HvsPZm/Kfz6FVf8o0C3 7HLQ6LY1hg5FmjbcUMv3dEtcn9mfonLNEViQMB2AV7YoYYhocccAz4XJfJCDCcOdnz/f z5MKDYruBAifWO40MfnVE0MuQiKpuz736YPfYCJVL5Y/Kxlfqs8mMmqtLiw2TqHdTmv7 DJROcy/JH2lauKgD/gEulWODWXwKuqNrjGO0dB6pplmRlBDYPgtoT8zYOVDUB0wSyA1L HBFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679333064; 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=ogYPqqUQ4tJC4jWacRfQglDNOR9S5qtx3Ap1Oen0sSA=; b=nc7C+VzTurAlUIIWJRqAZ9gJm93tqHI5xxSLmpNZJ1UyYoSwdwY7mjzHFTDw3tO/Ku 5LE79jeAk+0NkLDxlGcbB70CkdnBrDm7N2X18gptG4JF9v/yUsxYH9dtyKhSLFbF8kSa 5/L20/5Fy6BHvI9WumyRKuIjlWRyyHxqZhnqshOX01QV1dpjUhqhyYx8mkrq9w/KCDJM K4+/+W/w5i90RkB+mLqCmTgRitG4bhEDvKVlb1Q5NiH+HIUhu7+lY5da/YA6Q/07Y8ys BHUGRJHtcSuih5SZmwJyN2usJFR0sfD8ECalZQBZ/NH1dKqzBStx4BBTh8qE5aSkjEY9 WI/Q== X-Gm-Message-State: AO0yUKW92DnNi/t4YL+XtP5bRBjYQAEvEMW6M9afLlC6vX0bACS72AlA VWvXekpGFazH1+6cYhOzOm9S7rdX9ko= X-Google-Smtp-Source: AK7set8lew+NdMMKJC9NsvAvJ7dVA7NyjsS72Hj1XypzTfvMl4rOvDEio35HuRjXBuBNRQH/9CAJ7w== X-Received: by 2002:a05:622a:24d:b0:3e2:3ae2:790e with SMTP id c13-20020a05622a024d00b003e23ae2790emr5257280qtx.32.1679333063750; Mon, 20 Mar 2023 10:24:23 -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.24.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Mar 2023 10:24:23 -0700 (PDT) From: Maxim Cournoyer Date: Mon, 20 Mar 2023 13:22:16 -0400 Message-Id: <20230320172349.12752-29-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: X-Migadu-Queue-Id: CC7B036E74 X-Spam-Score: -1.95 X-Migadu-Spam-Score: -1.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: 0aTB3dj/39st * gnu/packages/ruby.scm (ruby-timers): New variable. --- gnu/packages/ruby.scm | 46 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index d63afbad2c..7fa86de56b 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -6370,6 +6370,52 @@ (define-public ruby-spinach define executable specifications of your code.") (license license:expat))) +(define-public ruby-timers + (package + (name "ruby-timers") + (version "4.3.5") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/socketry/timers") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1vvahlhk6i1xks1bsha6s64pjjxhagmzvvf1q9h6z3lpcba43rpx")))) + (build-system ruby-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (add-before 'build 'prune-gems.rb + (lambda _ + (substitute* "gems.rb" + ;; These are only required for maintenance. + ((".*gem \"bake-modernize\".*") "") + ((".*gem \"bake-gem\".*") "") + ;; Not actually required by the tests. + ((".*gem 'benchmark-ips'.*") "") + ((".*gem \"ruby-prof\".*") "")))) + (add-before 'build 'remove-missing-signing-key + (lambda _ + ;; Otherwise, the build fails with ENOENT. + (substitute* "timers.gemspec" + ((".*spec.signing_key.*") "")))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "bake" "test"))))))) + (native-inputs + (list ruby-covered + ruby-bake-test + ruby-bake-test-external + ruby-sus)) + (synopsis "Collection of Ruby timer classes") + (description "Timers offers a collections of one-shot and periodic timers, +intended for use with event loops such as async.") + (home-page "https://github.com/socketry/timers") + (license license:expat))) + (define-public ruby-tilt (package (name "ruby-tilt") -- 2.39.1