[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
25/36: gnu: ruby-ptools: Update to 1.5.0.
From: |
guix-commits |
Subject: |
25/36: gnu: ruby-ptools: Update to 1.5.0. |
Date: |
Tue, 20 Jun 2023 17:19:26 -0400 (EDT) |
cbaines pushed a commit to branch master
in repository guix.
commit 53d80d04854f263e360d5f2b9e1d00ff5dad5227
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Tue Jun 20 15:55:17 2023 +0100
gnu: ruby-ptools: Update to 1.5.0.
* gnu/packages/ruby.scm (ruby-ptools): Update to 1.5.0.
[arguments]: Update style and adjust.
[native-inputs]: Add ruby-rspec.
---
gnu/packages/ruby.scm | 38 ++++++++++++++++++++++----------------
1 file changed, 22 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 3c27f1e6a1..8c0e19d015 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -3240,29 +3240,35 @@ and inspect the environment.")
(define-public ruby-ptools
(package
(name "ruby-ptools")
- (version "1.3.5")
+ (version "1.5.0")
(source (origin
(method url-fetch)
(uri (rubygems-uri "ptools" version))
(sha256
(base32
- "1jb1h1nsk9zwykpniw8filbsk26kjsdlpk5wz6w0zyamcd41h87j"))))
+ "0damllbshkxycrwjv80sz78h76dw7r9z54d17mb5cbha1daq9q2d"))))
(build-system ruby-build-system)
(arguments
- '(#:phases (modify-phases %standard-phases
- (add-after 'unpack 'patch-/bin/ls
- (lambda _
- (substitute* "test/test_binary.rb"
- (("/bin/ls")
- (which "ls")))
- #t))
- (add-before 'install 'create-gem
- (lambda _
- ;; Do not attempt to sign the gem.
- (substitute* "Rakefile"
- (("spec\\.signing_key = .*")
- ""))
- (invoke "rake" "gem:create"))))))
+ (list
+ #:test-target "spec:all"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch
+ (lambda _
+ (substitute* "Rakefile"
+ ;; Don't require rubocop
+ (("require 'rubocop/rake_task'") "")
+ (("RuboCop::RakeTask.new") "")
+ ;; Do not attempt to sign the gem.
+ (("spec\\.signing_key = .*") ""))
+
+ (substitute* "spec/binary_spec.rb"
+ (("/bin/ls") (which "ls"))
+ (("/bin/cat") (which "cat"))
+ (("/bin/chmod") (which "chmod"))
+ (("/bin/df") (which "df"))))))))
+ (native-inputs
+ (list ruby-rspec))
(synopsis "Extra methods for Ruby's @code{File} class")
(description
"The @dfn{ptools} (power tools) library extends Ruby's core @code{File}
- 10/36: gnu: ruby-yajl-ruby: Update to 1.4.3., (continued)
- 10/36: gnu: ruby-yajl-ruby: Update to 1.4.3., guix-commits, 2023/06/20
- 11/36: gnu: ruby-tzinfo: Update to 2.0.6., guix-commits, 2023/06/20
- 16/36: gnu: ruby-range-compressor: Update to 1.2.0., guix-commits, 2023/06/20
- 21/36: gnu: ruby-hocon: Update to 1.4.0., guix-commits, 2023/06/20
- 17/36: gnu: ruby-pry-doc: Update to 1.4.0., guix-commits, 2023/06/20
- 14/36: gnu: ruby-shindo: Update to 0.3.10., guix-commits, 2023/06/20
- 15/36: gnu: ruby-rjb: Update to 1.6.7., guix-commits, 2023/06/20
- 08/36: gnu: webkitgtk: Explicitly use ruby-2., guix-commits, 2023/06/20
- 22/36: gnu: ruby-debug-inspector: Update to 1.1.0., guix-commits, 2023/06/20
- 18/36: gnu: ruby-powerpack: Update to 0.1.3., guix-commits, 2023/06/20
- 25/36: gnu: ruby-ptools: Update to 1.5.0.,
guix-commits <=
- 19/36: gnu: ruby-mkmf-lite: Update to 0.5.2., guix-commits, 2023/06/20
- 20/36: gnu: ruby-memory-profiler: Update to 1.0.1., guix-commits, 2023/06/20
- 23/36: gnu: ruby-commander: Update to 4.6.0., guix-commits, 2023/06/20
- 28/36: gnu: ltris: Update to 1.2.6., guix-commits, 2023/06/20
- 31/36: gnu: batsignal: Update to 1.6.4., guix-commits, 2023/06/20
- 30/36: gnu: audacity: Update to 3.3.3., guix-commits, 2023/06/20
- 33/36: gnu: fnott: Update to 1.4.0., guix-commits, 2023/06/20
- 34/36: gnu: fvwm: Update to 2.7.0., guix-commits, 2023/06/20
- 35/36: gnu: recastnavigation: Update to 1.6.0., guix-commits, 2023/06/20
- 24/36: gnu: bioruby: Update to 2.0.4., guix-commits, 2023/06/20