From patchwork Mon Mar 20 17:14:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 48420 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 349B416F39; Mon, 20 Mar 2023 17:43:11 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4A09316EC7 for ; Mon, 20 Mar 2023 17:43:09 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1peJVa-0007ta-6w; Mon, 20 Mar 2023 13:41:22 -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 1peJVV-0007p5-I1 for guix-patches@gnu.org; Mon, 20 Mar 2023 13:41:17 -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 1peJVV-0005D8-9G for guix-patches@gnu.org; Mon, 20 Mar 2023 13:41:17 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1peJVV-0005OH-5P for guix-patches@gnu.org; Mon, 20 Mar 2023 13:41:17 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62196] [PATCH 093/223] gnu: Add ruby-concurrent-ruby-edge. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 20 Mar 2023 17:41:17 +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.167933402720316 (code B ref 62196); Mon, 20 Mar 2023 17:41:17 +0000 Received: (at 62196) by debbugs.gnu.org; 20 Mar 2023 17:40:27 +0000 Received: from localhost ([127.0.0.1]:56618 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peJUh-0005HW-6w for submit@debbugs.gnu.org; Mon, 20 Mar 2023 13:40:27 -0400 Received: from mail-qv1-f50.google.com ([209.85.219.50]:33541) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peJ90-0003Mp-4D for 62196@debbugs.gnu.org; Mon, 20 Mar 2023 13:18:02 -0400 Received: by mail-qv1-f50.google.com with SMTP id m6so8080033qvq.0 for <62196@debbugs.gnu.org>; Mon, 20 Mar 2023 10:18:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679332681; 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=0qEx54oTAg7mrkdgtN8GjJILimV7nr8vpW+oVG3Rx6A=; b=iejwrOFEaw15dC7mDojs3j1uEi2KHMV29BlMJuNUooTmIe3OEz4dGyJSph0K7/NqVA +z4mi57kW2ejZUGIcEaS4FOBqUL0E7r5PpxSNMu+iaibpaEWaatYAFJO2QuYfhw9nFa5 YZYJhFNJum4EzVZYQw+8+VMIx5jXgmXNYl/kqtf8jqWc5aG8qmR2xuFCyAjVX/26r//i vaBLzQE3kNnyFtvB2Fmk8HxW0IZE0J0GicUCVU4AfeFurI+nK7bDGzurL5IG6Y7HlGMQ h/2yYlvvEAz1GJrEOd0OpfgpH2YrTi4UCpZRJ4e1uUfRJrKtL66AxXv2hfvVmMjLOR0K I5og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679332681; 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=0qEx54oTAg7mrkdgtN8GjJILimV7nr8vpW+oVG3Rx6A=; b=ae2LKaouI6EoDcrnVgxhicP/n97CqqA6GfhwB0W8QWGmZGLSm8jCqLFHf2KOTctlq/ BFjCv6j8ifqazxSiiGDegEfgTLUa6TgdHqONVfTK9gRARuRZ9TuNdjZ1ettJ6/jxCNwR 4T5PFqgUL9FC1LYTWNrigGkVLUr7Njwl+bFkGSjvp29tZUxta41LfEFZeP2Bp24q2QQ1 v0h1fRvGIFgJnCFJqKK3pIvLInNb1vE6qqlrG0otzBpYMDtpaslgH4+oAIejvyN2uk4D igdjAeLGhesM8uM6QVXc3ivMXNmB/nOwGEel4FMHDSBP040pOkn8ZdF2KGMZUlBe2iuf fLsw== X-Gm-Message-State: AO0yUKXEK6sKlg8l8ASvt+hKYeifvyCYNqu+CMZccJdUaeKllHqN+iWT a29ZREXfXsA5//bu0Mk4YhQ+3ZRhMPo= X-Google-Smtp-Source: AK7set9UkUwHT8zu1BMtcU0In5aLQ2BNZE6LrLTckIqTvSePtrSb3nn1dKw/Ovs2IJylw+kCrRZh4Q== X-Received: by 2002:a05:6214:1cce:b0:579:5dbc:ab6e with SMTP id g14-20020a0562141cce00b005795dbcab6emr51086993qvd.3.1679332681636; Mon, 20 Mar 2023 10:18:01 -0700 (PDT) Received: from localhost.localdomain (dsl-10-128-46.b2b2c.ca. [72.10.128.46]) by smtp.gmail.com with ESMTPSA id p17-20020a374211000000b007428e743508sm7673809qka.70.2023.03.20.10.18.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Mar 2023 10:18:01 -0700 (PDT) From: Maxim Cournoyer Date: Mon, 20 Mar 2023 13:14:25 -0400 Message-Id: <20230320171635.11184-93-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230320171635.11184-1-maxim.cournoyer@gmail.com> References: <20230320171635.11184-1-maxim.cournoyer@gmail.com> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ruby.scm (ruby-concurrent-ruby-edge): New variable. --- gnu/packages/ruby.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index d8ec2dd39f..8d69a69f7b 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -10468,6 +10468,45 @@ (define-public ruby-concurrent-ruby-ext concurrent-ruby gem when running under the Matz's Ruby Interpreter (MRI, also known as CRuby)."))) +(define-public ruby-concurrent-ruby-edge + (package + (inherit ruby-concurrent-ruby) + (name "ruby-concurrent-ruby-edge") + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'delete-unwanted-gemspecs + (lambda _ + (for-each delete-file + '("concurrent-ruby.gemspec" + "concurrent-ruby-ext.gemspec")))) + ;; The tests rely on the Gem being installed, so move the check + ;; phase after the install phase. + (delete 'check) + (add-after 'install 'check + (lambda* (#:key tests? #:allow-other-keys) + (setenv "GEM_PATH" (string-append + (getenv "GEM_PATH") ":" + #$output "/lib/ruby/vendor_ruby")) + (when tests? + (invoke "rake" "ci"))))))) + (native-inputs + (list ruby-rake-compiler + ruby-rake-compiler-dock + ruby-rspec + ruby-timecop + ruby-yard)) + (propagated-inputs + (list ruby-concurrent-ruby ruby-concurrent-ruby-ext)) + (synopsis "Edge features and additions to the @code{concurrent-ruby} gem") + (description "The @code{concurrent-ruby-edge} gem includes +@code{concurrent-ruby} features that are under active development and may +change frequently. They are expected not to keep backward +compatibility (there may also lack tests and documentation), although semantic +versions are obeyed though. Features developed in @code{concurrent-ruby-edge} +are expected to move to @code{concurrent-ruby} when final."))) + (define-public ruby-pkg-config (package (name "ruby-pkg-config")