gnu: ruby-braintree: Update to 4.12.0.
* gnu/packages/ruby.scm (ruby-braintree): Update to 4.12.0. [arguments]: Tweak relax-requirements phase and update style.
This commit is contained in:
parent
6937663eaa
commit
ecd9d36a33
1 changed files with 23 additions and 20 deletions
|
@ -16102,7 +16102,7 @@ any unhandled exceptions.")
|
||||||
(define-public ruby-braintree
|
(define-public ruby-braintree
|
||||||
(package
|
(package
|
||||||
(name "ruby-braintree")
|
(name "ruby-braintree")
|
||||||
(version "4.10.0")
|
(version "4.12.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch) ;for tests
|
(method git-fetch) ;for tests
|
||||||
|
@ -16111,27 +16111,30 @@ any unhandled exceptions.")
|
||||||
(commit version)))
|
(commit version)))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "01b5bp8q038ray5wwg3qhg4hj3r5a48vnfzs3gxkdjm5ky6bmn4p"))))
|
(base32 "0gfgkymy3655drwgs42bj9ap9qib1l30sajxmypmp6s75m9w3gsh"))))
|
||||||
(build-system ruby-build-system)
|
(build-system ruby-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:test-target "test:unit"
|
(list
|
||||||
#:phases
|
#:test-target "test:unit"
|
||||||
(modify-phases %standard-phases
|
#:phases
|
||||||
(add-after 'unpack 'disable-rubocop
|
#~(modify-phases %standard-phases
|
||||||
(lambda _
|
(add-after 'unpack 'disable-rubocop
|
||||||
(substitute* "Rakefile"
|
(lambda _
|
||||||
(("sh \"rubocop\"") ""))))
|
(substitute* "Rakefile"
|
||||||
(add-after 'unpack 'relax-requirements
|
(("sh \"rubocop\"") ""))))
|
||||||
(lambda _
|
(add-after 'unpack 'relax-requirements
|
||||||
(substitute* "Gemfile"
|
(lambda _
|
||||||
(("gem \"libxml-ruby\", \"3.2.0\"")
|
(substitute* "Gemfile"
|
||||||
"gem \"libxml-ruby\", \"~> 3.0.0\"")
|
(("gem \"pry\".*") "gem 'pry'\n")
|
||||||
(("gem \"rspec\", \"3.9.0\"")
|
(("gem \"rake\".*") "gem 'rake'\n")
|
||||||
"gem \"rspec\", \">= 3.9.0\"")
|
(("gem \"libxml-ruby\", \"3.2.0\"")
|
||||||
(("gem \"webrick\", \"~>1.7.0\"")
|
"gem \"libxml-ruby\", \"~> 3.0.0\"")
|
||||||
"gem \"webrick\", \">=1.7.0\"")
|
(("gem \"rspec\", \"3.9.0\"")
|
||||||
((".*gem \"rubocop\".*") "")
|
"gem \"rspec\", \">= 3.9.0\"")
|
||||||
((".*gem \"rspec_junit_formatter\".*") "")))))))
|
(("gem \"webrick\", \"~>1.7.0\"")
|
||||||
|
"gem \"webrick\", \">=1.7.0\"")
|
||||||
|
((".*gem \"rubocop\".*") "")
|
||||||
|
((".*gem \"rspec_junit_formatter\".*") "")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list ruby-libxml
|
(list ruby-libxml
|
||||||
ruby-pry
|
ruby-pry
|
||||||
|
|
Reference in a new issue