From patchwork Thu Feb 8 09:35:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 59946 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 9120027BBEA; Thu, 8 Feb 2024 09:38:29 +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=-3.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS autolearn=unavailable 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 F20ED27BBE2 for ; Thu, 8 Feb 2024 09:38:27 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rY0px-0004dt-O8; Thu, 08 Feb 2024 04:36:53 -0500 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 1rY0pw-0004d0-E1 for guix-patches@gnu.org; Thu, 08 Feb 2024 04:36:52 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rY0pw-0001x2-5I for guix-patches@gnu.org; Thu, 08 Feb 2024 04:36:52 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rY0qA-0006KJ-DV for guix-patches@gnu.org; Thu, 08 Feb 2024 04:37:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68990] [PATCH 08/28] gnu: Add ruby-pairing-heap. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 08 Feb 2024 09:37:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68990 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68990@debbugs.gnu.org Received: via spool by 68990-submit@debbugs.gnu.org id=B68990.170738499324016 (code B ref 68990); Thu, 08 Feb 2024 09:37:06 +0000 Received: (at 68990) by debbugs.gnu.org; 8 Feb 2024 09:36:33 +0000 Received: from localhost ([127.0.0.1]:59052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rY0pd-0006FI-1R for submit@debbugs.gnu.org; Thu, 08 Feb 2024 04:36:33 -0500 Received: from mail03.noris.net ([62.128.1.223]:38279) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rY0pb-0006F1-1T for 68990@debbugs.gnu.org; Thu, 08 Feb 2024 04:36:31 -0500 Received: from p57b09e9c.dip0.t-ipconnect.de ([87.176.158.156] helo=hermia.goebel-consult.de) by mail03.noris.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim) (envelope-from ) id 1rY0pM-0002ig-5u for 68990@debbugs.gnu.org; Thu, 08 Feb 2024 10:36:16 +0100 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id D98D95F54E; Thu, 8 Feb 2024 10:35:59 +0100 (CET) From: Hartmut Goebel Date: Thu, 8 Feb 2024 10:35:38 +0100 Message-ID: <51bed2af7e2cb69241a365c461f6ce81c8ffbd98.1707383695.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-Noris-IP: 87.176.158.156 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-pairing-heap): New variable. --- gnu/packages/ruby.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 75b8f5854e..4812aa2571 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -12051,6 +12051,32 @@ (define-public ruby-queue-classic (home-page "https://github.com/QueueClassic/queue_classic") (license license:expat))) +(define-public ruby-pairing-heap + (package + (name "ruby-pairing-heap") + (version "3.0.1") + (source (origin + (method url-fetch) + (uri (rubygems-uri "pairing_heap" version)) + (sha256 + (base32 + "15c97yvzkfhy7glsdza48sswidjyjphdx62yjapbrs5fzf0089id")))) + (build-system ruby-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch + (lambda _ + (substitute* "Rakefile" + (("require \"standard/rake\"") "") + ((":\"standard:fix\",") ""))))))) + (synopsis "Priority queue in pure Ruby") + (description "This package provides a performant priority queue in pure +ruby with support for changing priority using pairing heap data structure") + (home-page "https://github.com/mhib/pairing_heap") + (license license:expat))) + (define-public ruby-ae (package (name "ruby-ae")