From 2642a85802c6e8aae212b44aa9c35347463cb143 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Wed, 18 Jun 2025 16:27:52 +0200 Subject: [PATCH] gnu: ruby-ruby-prof: Update to 1.7.2. * gnu/packages/ruby-xyz.scm (ruby-ruby-prof): Update to 1.7.2. [arguments]{phases}: Refresh phase 'delete-flaky-test and rename it to delete-flaky-tests. [propagated-inputs]: Add ruby-base64. --- gnu/packages/ruby-xyz.scm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm index 69c63664c6..5690a896af 100644 --- a/gnu/packages/ruby-xyz.scm +++ b/gnu/packages/ruby-xyz.scm @@ -9322,14 +9322,14 @@ project later switched to the Hippocratic license, which is non-free. (define-public ruby-ruby-prof (package (name "ruby-ruby-prof") - (version "1.4.5") + (version "1.7.2") (source (origin (method url-fetch) (uri (rubygems-uri "ruby-prof" version)) (sha256 (base32 - "09n13bzm1p956z318xx1v7ikqdp2i971v7p3kwf3170axz368ccy")))) + "0h23zjwma8car8jpq7af8gw39qi88rn24mass7r13ripmky28117")))) (build-system ruby-build-system) (arguments ;; FIXME: Investigate why the tests fail on i686-linux. @@ -9342,12 +9342,15 @@ project later switched to the Hippocratic license, which is non-free. (add-after 'extract-gemspec 'delete-flaky-test (lambda _ (delete-file "test/line_number_test.rb") + (delete-file "test/measure_process_time_test.rb") (substitute* "ruby-prof.gemspec" - (("\"test/line_number_test\\.rb\"\\.freeze, ") "")))) + (("\"test/line_number_test\\.rb\"\\.freeze, ") "") + (("\"test/measure_process_time_test\\.rb\"\\.freeze, ") "")))) (add-before 'check 'compile (lambda _ (invoke "rake" "compile")))))) (native-inputs (list bundler ruby-minitest ruby-rake-compiler ruby-rdoc)) + (propagated-inputs (list ruby-base64)) (synopsis "Fast code profiler for Ruby") (description "RubyProf is a fast code profiler for Ruby. Its features include: