mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 14:07:01 +01:00
gnu: ruby-builder: Fix build.
* gnu/packages/ruby.scm (ruby-builder)[arguments]: Update style, patch rakelib/tags.rake and remove broken test. [home-page]: Update.
This commit is contained in:
parent
3842836220
commit
d426c5cd91
1 changed files with 18 additions and 8 deletions
|
@ -1184,18 +1184,28 @@ (define-public ruby-builder
|
||||||
"045wzckxpwcqzrjr353cxnyaxgf0qg22jh00dcx7z38cys5g1jlr"))))
|
"045wzckxpwcqzrjr353cxnyaxgf0qg22jh00dcx7z38cys5g1jlr"))))
|
||||||
(build-system ruby-build-system)
|
(build-system ruby-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
(list
|
||||||
(modify-phases %standard-phases
|
#:phases
|
||||||
(add-after 'unpack 'do-not-use-rvm
|
#~(modify-phases %standard-phases
|
||||||
(lambda _
|
(add-after 'unpack 'patch
|
||||||
(substitute* "rakelib/tags.rake"
|
(lambda _
|
||||||
(("RVM_GEMDIR = .*") "RVM_GEMDIR = 'no-rvm-please'\n"))
|
(substitute* "rakelib/tags.rake"
|
||||||
#t)))))
|
(("File\\.exists\\?") "File.exist?"))
|
||||||
|
|
||||||
|
;; TODO This test is broken
|
||||||
|
;; https://github.com/tenderlove/builder/issues/13
|
||||||
|
(substitute* "test/test_blankslate.rb"
|
||||||
|
(("test_late_included_module_in_kernel_is_ok")
|
||||||
|
"test_late_included_module_in_kernel_is_ok
|
||||||
|
skip(\"test expected to fail\")
|
||||||
|
"))
|
||||||
|
(substitute* "rakelib/tags.rake"
|
||||||
|
(("RVM_GEMDIR = .*") "RVM_GEMDIR = 'no-rvm-please'\n")))))))
|
||||||
(synopsis "Ruby library to create structured data")
|
(synopsis "Ruby library to create structured data")
|
||||||
(description "Builder provides a number of builder objects that make it
|
(description "Builder provides a number of builder objects that make it
|
||||||
easy to create structured data. Currently the following builder objects are
|
easy to create structured data. Currently the following builder objects are
|
||||||
supported: XML Markup and XML Events.")
|
supported: XML Markup and XML Events.")
|
||||||
(home-page "https://github.com/jimweirich/builder")
|
(home-page "https://github.com/tenderlove/builder")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public ruby-bump
|
(define-public ruby-bump
|
||||||
|
|
Loading…
Reference in a new issue