From patchwork Wed Jun 18 14:27:07 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 43145 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 A0E4827BC4D; Wed, 18 Jun 2025 15:33:53 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED 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 5AF4B27BC49 for ; Wed, 18 Jun 2025 15:33:52 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uRtpu-0007VO-RA; Wed, 18 Jun 2025 10:32: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 1uRtny-0006XA-MH for guix-patches@gnu.org; Wed, 18 Jun 2025 10:30:25 -0400 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 1uRtny-0004KC-Ba for guix-patches@gnu.org; Wed, 18 Jun 2025 10:30:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=yngN65do85SYu+6zmth9yAQMbRvRg697ZqMm2g4V1Vk=; b=U9J+BluUETJfM1wq3Rh9Au0jUJxLGozuXH3Qgc0m8OQq2BWu034GuV/6ub1G1u4uX+LzzTCwyZCbsSKoXUSkuxPikmKF/BK5qrAD5VXmJv0Di3YgZB7cGXvRZaKG36ur5S6cjdi19YFQaZx9J7FOC0yGonSmq/XQzBtqTfvILih/5qXfNV3wMVAGal7z3+0WaRL2pPjVxC9hjdoANd5qTRK61SzTiS5Elfc4je04eFfID18/iNo+NfbXPrmsYlhE2hkSgZ1why/elqt/64Ua3ci06RMKMnMy4HxIsopQ+h2pimppY3WwmmKWm6VrwcDe8Pnh/73gDH4RUwpAXt6biA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1uRtny-00070v-0m for guix-patches@gnu.org; Wed, 18 Jun 2025 10:30:22 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#78826] [PATCH 20/88] gnu: ruby-stackprof: Update to 0.2.27-0.5d83283. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 18 Jun 2025 14:30:21 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 78826 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 78826@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 78826-submit@debbugs.gnu.org id=B78826.175025701626882 (code B ref 78826); Wed, 18 Jun 2025 14:30:21 +0000 Received: (at 78826) by debbugs.gnu.org; 18 Jun 2025 14:30:16 +0000 Received: from localhost ([127.0.0.1]:51598 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uRtnr-0006zO-7t for submit@debbugs.gnu.org; Wed, 18 Jun 2025 10:30:16 -0400 Received: from 9.mo563.mail-out.ovh.net ([46.105.73.201]:54587) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uRtmQ-0006hH-7W for 78826@debbugs.gnu.org; Wed, 18 Jun 2025 10:28:50 -0400 Received: from director3.derp.mail-out.ovh.net (director3.derp.mail-out.ovh.net [152.228.215.222]) by mo563.mail-out.ovh.net (Postfix) with ESMTPS id 4bMmM02KDFz1h6v; Wed, 18 Jun 2025 14:28:44 +0000 (UTC) Received: from director3.derp.mail-out.ovh.net (director3.derp.mail-out.ovh.net. [127.0.0.1]) by director3.derp.mail-out.ovh.net (inspect_sender_mail_agent) with SMTP for <78826@debbugs.gnu.org>; Wed, 18 Jun 2025 14:28:44 +0000 (UTC) Received: from mta10.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.110.113.222]) by director3.derp.mail-out.ovh.net (Postfix) with ESMTPS id 4bMmM00lqBz5wDH; Wed, 18 Jun 2025 14:28:44 +0000 (UTC) Received: from ngraves.fr (unknown [10.1.6.4]) by mta10.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id BBF92DA3CA1; Wed, 18 Jun 2025 14:28:43 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-110S0046cafca85-8ad7-4acf-a78d-49a9670ae6e0, 6FDBBA6AF074F8A8A1368D92F187C7EF72285467) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Wed, 18 Jun 2025 16:27:07 +0200 Message-ID: <20250618142822.27945-20-ngraves@ngraves.fr> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250618142822.27945-1-ngraves@ngraves.fr> References: <20250618142822.27945-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 14779688077894214370 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeffedrtddvgddvkeejucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpledtrdelvddruddujedrudeggeenucevlhhushhtvghrufhiiigvpeefnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepjeekkedvieesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpoffvtefjohhsthepmhhoheeifegmpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=yngN65do85SYu+6zmth9yAQMbRvRg697ZqMm2g4V1Vk=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1750256924; v=1; b=dTQlmExYfx3T3MyHGxYCEMWXZOF/CeTdDip0McPIOkL/aTrhpMxpM4xqzYy7+GbqDTER6Hh2 5Aqy5oknJVhfhfOCxyNKb2+pV0vUBj3zESpbDTdWWAJXmFiQHc2HOKz5vdmrFGbFqQXi5Z46rpC nuJVjiao+IPb12xAyaNpSb45sLre/ElF7siXe3VO2zUBlFNuq2hqnvb4QoOsiGIs5ehXcPWEhPe ijn5cEnaZYXeL3C4A1POJmKeJQJlKxTUsi7hkqY6KWZNw4c0nuu4dVZ1GfCTCQbKgVh/+PTEcd/ hgzZ9eoPsAOmkAcVkMHyfogi7VFuhYRNa8W9jkKOgwtZA== 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: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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-xyz.scm (ruby-stackprof): Update to 0.2.27-0.5d83283. --- gnu/packages/ruby-xyz.scm | 95 ++++++++++++++++++++------------------- 1 file changed, 49 insertions(+), 46 deletions(-) diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm index cd8676ff56..1010687445 100644 --- a/gnu/packages/ruby-xyz.scm +++ b/gnu/packages/ruby-xyz.scm @@ -9011,53 +9011,56 @@ (define-public ruby-pry-byebug (license license:expat))) (define-public ruby-stackprof - (package - (name "ruby-stackprof") - (version "0.2.27") - (source - (origin - (method url-fetch) - (uri (rubygems-uri "stackprof" version)) - (sha256 - (base32 "03788mbipmihq2w7rznzvv0ks0s9z1321k1jyr6ffln8as3d5xmg")))) - (build-system ruby-build-system) - (arguments - (list - #:phases - #~(modify-phases %standard-phases - (add-before 'check 'patch-gemspec - (lambda _ - (substitute* "stackprof.gemspec" - (("rake-compiler.*") - "rake-compiler>.freeze, [\"> 0.9\"])\n") - (("mocha.*") - "mocha>.freeze, [\"> 0.14\"])\n")))) - (add-before 'check 'skip-dubious-test - (lambda _ - (substitute* "test/test_stackprof.rb" - ;; This unreliable test can fail with "Expected 0 to be >= 1." - (("def test_(cputime)" _ name) - (string-append "def skip_" name)) - ;; This test often fails - (("def test_gc") "def skip_test_gc") - ;; This test is known to fail on 32-bit systems. - ;; /gnu/store/...-stackprof-0.2.27.gem - (("def test_raw") "def skip_test_raw")))) - (add-before 'check 'build-tests - (lambda _ - (invoke "rake" "compile"))) - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "bundle" "exec" "rake" "default"))))))) - (native-inputs - (list bundler ruby-mocha-1 ruby-rake-compiler)) - (synopsis "Sampling profiler for Ruby code") - (description - "@code{stackprof} is a fast sampling profiler for Ruby code, with cpu, + (let ((commit "5d832832e4afcb88521292d6dfad4a9af760ef7c") + (revision "0")) + (package + (name "ruby-stackprof") + (version (git-version "0.2.27" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tmm1/stackprof") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "184n5lpsclrw5ypcskk3gxbg28acxr5jkjaxlxc3nl4jzsjrammw")))) + (build-system ruby-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'patch-gemspec + (lambda _ + (substitute* "stackprof.gemspec" + (("rake-compiler.*") + "rake-compiler', [\"> 0.9\"]\n")))) + (add-before 'check 'skip-dubious-test + (lambda _ + (substitute* "test/test_stackprof.rb" + ;; This unreliable test can fail with "Expected 0 to be >= 1." + (("def test_(cputime)" _ name) + (string-append "def skip_" name)) + ;; This test often fails + (("def test_gc") "def skip_test_gc") + ;; This test is known to fail on 32-bit systems. + ;; /gnu/store/...-stackprof-0.2.27.gem + (("def test_raw") "def skip_test_raw")))) + (add-before 'check 'build-tests + (lambda _ + (invoke "rake" "compile"))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "bundle" "exec" "rake" "default"))))))) + (native-inputs + (list bundler ruby-minitest ruby-rake-compiler)) + (synopsis "Sampling profiler for Ruby code") + (description + "@code{stackprof} is a fast sampling profiler for Ruby code, with cpu, wallclock and object allocation samplers.") - (home-page "https://github.com/tmm1/stackprof") - (license license:expat))) + (home-page "https://github.com/tmm1/stackprof") + (license license:expat)))) (define-public ruby-bindex (package