me
/
guix
Archived
1
0
Fork 0

gnu: ruby-ttfunk: Update to 1.5.1.

* gnu/packages/ruby.scm (ruby-ttfunk): Update to 1.5.1.
master
Julien Lepiller 2018-08-26 12:38:32 +02:00
parent ef381322d5
commit afb7a3e8d5
No known key found for this signature in database
GPG Key ID: 43111F4520086A0C
1 changed files with 10 additions and 3 deletions

View File

@ -4678,7 +4678,7 @@ binary-to-text encoding. The main modern use of Ascii85 is in PostScript and
(define-public ruby-ttfunk (define-public ruby-ttfunk
(package (package
(name "ruby-ttfunk") (name "ruby-ttfunk")
(version "1.4.0") (version "1.5.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -4689,12 +4689,18 @@ binary-to-text encoding. The main modern use of Ascii85 is in PostScript and
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1izq84pnm9niyvkzp8k0vl232q9zj41hwmp9na9fzycfh1pbnsl6")))) "1ymcn12n5iws401yz03zsj8rr653fdqq13czsrciq09phgh9jzc5"))))
(build-system ruby-build-system) (build-system ruby-build-system)
(arguments (arguments
`(#:test-target "spec" `(#:test-target "spec"
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-before 'build 'remove-ssh
(lambda _
;; remove dependency on an ssh key pair that doesn't exist
(substitute* "ttfunk.gemspec"
(("spec.signing_key.*") ""))
#t))
(add-before 'check 'remove-rubocop (add-before 'check 'remove-rubocop
(lambda _ (lambda _
;; remove rubocop as a dependency as not needed for testing ;; remove rubocop as a dependency as not needed for testing
@ -4702,10 +4708,11 @@ binary-to-text encoding. The main modern use of Ascii85 is in PostScript and
(("spec.add_development_dependency\\('rubocop'.*") "")) (("spec.add_development_dependency\\('rubocop'.*") ""))
(substitute* "Rakefile" (substitute* "Rakefile"
(("require 'rubocop/rake_task'") "") (("require 'rubocop/rake_task'") "")
(("Rubocop::RakeTask.new") "")) (("RuboCop::RakeTask.new") ""))
#t))))) #t)))))
(native-inputs (native-inputs
`(("ruby-rspec" ,ruby-rspec) `(("ruby-rspec" ,ruby-rspec)
("ruby-yard" ,ruby-yard)
("bundler" ,bundler))) ("bundler" ,bundler)))
(synopsis "Font metrics parser for the Prawn PDF generator") (synopsis "Font metrics parser for the Prawn PDF generator")
(description (description