1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-13 18:40:57 +02:00

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.
This commit is contained in:
Nicolas Graves 2025-06-18 16:27:52 +02:00 committed by Andreas Enge
parent 74a14f3f56
commit 2642a85802
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -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: