Archived
1
0
Fork 0

gnu: ruby-listen: Update to 3.8.0.

* gnu/packages/ruby.scm (ruby-listen): Update to 3.8.0.
[arguments]: Update style.
This commit is contained in:
Christopher Baines 2023-06-27 12:08:57 +01:00
parent 058294caed
commit 64d72579d9
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -7742,7 +7742,7 @@ a native C extension.")
(define-public ruby-listen (define-public ruby-listen
(package (package
(name "ruby-listen") (name "ruby-listen")
(version "3.2.0") (version "3.8.0")
(source (source
(origin (origin
;; The gem does not include a Rakefile, so fetch from the Git ;; The gem does not include a Rakefile, so fetch from the Git
@ -7754,24 +7754,24 @@ a native C extension.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1hkp1g6hk5clsmbd001gkc12ma6s459x820piajyasv61m87if24")))) "1skkglml094dw1xr4742in1rwwa84ld0mz4nkw6qa8pwhx48x2n5"))))
(build-system ruby-build-system) (build-system ruby-build-system)
(arguments (arguments
`(#:test-target "spec" (list
#:phases #:test-target "spec"
(modify-phases %standard-phases #:phases
(add-after 'unpack 'fix-files-in-gemspec #~(modify-phases %standard-phases
(lambda _ (add-after 'unpack 'fix-files-in-gemspec
(substitute* "listen.gemspec" (lambda _
(("`git ls-files -z`") "`find . -type f -printf '%P\\\\0' |sort -z`")) (substitute* "listen.gemspec"
#t)) (("`git ls-files -z`")
(add-before 'check 'remove-unnecessary-dependencies' "`find . -type f -printf '%P\\\\0' |sort -z`"))))
(lambda _ (add-before 'check 'remove-unnecessary-dependencies'
(substitute* "Rakefile" (lambda _
;; Rubocop is for code linting, and is unnecessary for running (substitute* "Rakefile"
;; the tests. ;; Rubocop is for code linting, and is unnecessary for running
((".*rubocop.*") "")) ;; the tests.
#t))))) ((".*rubocop.*") "")))))))
(native-inputs (native-inputs
(list bundler ruby-rspec)) (list bundler ruby-rspec))
(inputs (inputs