Archived
1
0
Fork 0

gnu: ruby-method-source: Remove unnecessary dependency on git.

* gnu/packages/ruby.scm (ruby-method-source)[arguments]: Patch Rakefile to use
find rather than git.
[native-inputs]: Remove git.
This commit is contained in:
Christopher Baines 2021-01-16 10:46:02 +00:00
parent 74a83afdf5
commit b52bf66739
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -5020,10 +5020,16 @@ both CSS3 selector and XPath 1.0 support.")
"1pnyh44qycnf9mzi1j6fywd5fkskv3x7nmsqrrws0rjn5dd4ayfp")))) "1pnyh44qycnf9mzi1j6fywd5fkskv3x7nmsqrrws0rjn5dd4ayfp"))))
(build-system ruby-build-system) (build-system ruby-build-system)
(arguments (arguments
`(#:test-target "spec")) `(#:test-target "spec"
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'remove-git-ls-files
(lambda* (#:key outputs #:allow-other-keys)
(substitute* "Rakefile"
(("git ls-files") "find . -type f"))
#t)))))
(native-inputs (native-inputs
`(("ruby-rspec" ,ruby-rspec) `(("ruby-rspec" ,ruby-rspec)))
("git" ,git)))
(synopsis "Retrieve the source code for Ruby methods") (synopsis "Retrieve the source code for Ruby methods")
(description "Method_source retrieves the source code for Ruby methods. (description "Method_source retrieves the source code for Ruby methods.
Additionally, it can extract source code from Proc and Lambda objects or just Additionally, it can extract source code from Proc and Lambda objects or just