mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: ruby-hoe-markdown: Update to 1.7.0.
* gnu/packages/ruby-xyz.scm (ruby-hoe-markdown): Update to 1.7.0. [arguments]{phases}: Adapt phase 'disable-bundler-dependency.
This commit is contained in:
parent
e97db82012
commit
8d433d92f6
1 changed files with 7 additions and 4 deletions
|
@ -11693,7 +11693,7 @@ generation.")
|
||||||
(define-public ruby-hoe-markdown
|
(define-public ruby-hoe-markdown
|
||||||
(package
|
(package
|
||||||
(name "ruby-hoe-markdown")
|
(name "ruby-hoe-markdown")
|
||||||
(version "1.4.0")
|
(version "1.7.0")
|
||||||
(home-page "https://github.com/flavorjones/hoe-markdown")
|
(home-page "https://github.com/flavorjones/hoe-markdown")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
|
@ -11703,18 +11703,21 @@ generation.")
|
||||||
(commit (string-append "v" version))))
|
(commit (string-append "v" version))))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0wb0yjdx9gx9r0cahpx42pblvglgh1i9pdfxjavq7f40nan2g076"))))
|
(base32 "1hkligky33b3rgcsx5qzvackgw6ghln4yp0lpw9wxy0lp14n0vr9"))))
|
||||||
(build-system ruby-build-system)
|
(build-system ruby-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:test-target "spec"
|
#:test-target "spec"
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-before 'check 'disable-bundler-dependency
|
(add-after 'unpack 'disable-bundler-dependency
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "spec/spec_helper.rb"
|
(substitute* "spec/spec_helper.rb"
|
||||||
(("require.*bundler/setup.*")
|
(("require.*bundler/setup.*")
|
||||||
"")))))))
|
""))
|
||||||
|
(substitute* "lib/hoe/markdown/standalone.rb"
|
||||||
|
(("Bundler\\.load_gemspec")
|
||||||
|
"Gem::Specification.load")))))))
|
||||||
(native-inputs (list ruby-rspec))
|
(native-inputs (list ruby-rspec))
|
||||||
(propagated-inputs (list ruby-rake))
|
(propagated-inputs (list ruby-rake))
|
||||||
(synopsis "Hoe plugin with Markdown helpers")
|
(synopsis "Hoe plugin with Markdown helpers")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue