gnu: r-antiword: Update to 1.3.2.
* gnu/packages/cran.scm (r-antiword): Update to 1.3.2. [source]: Simplify snippet. [arguments]: Remove trailing #T from build phase. [synopsis]: Change capitalization. [description]: Use complete sentences. Change-Id: I0cffbda247dd57462f89c20a94773f871a029b60master
parent
6f6cfb8365
commit
f0d8d59807
|
@ -38258,20 +38258,18 @@ or into raw bitmap vectors for further processing in R.")
|
||||||
(define-public r-antiword
|
(define-public r-antiword
|
||||||
(package
|
(package
|
||||||
(name "r-antiword")
|
(name "r-antiword")
|
||||||
(version "1.3.1")
|
(version "1.3.2")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (cran-uri "antiword" version))
|
(uri (cran-uri "antiword" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"123v8zlczwh6fr1v3x7dl3885xlmddq1bqlcxih8zh07w0hlk1k2"))
|
"1z1xfr2pb1k1k2v65l4bby4smkqg20i22jkvqzw4y2487gndx4cx"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
;; unvendor libantiword
|
||||||
'(begin
|
(snippet
|
||||||
;; unvendor libantiword
|
'(delete-file-recursively "src"))))
|
||||||
(delete-file-recursively "src")
|
|
||||||
#t))))
|
|
||||||
(properties `((upstream-name . "antiword")))
|
(properties `((upstream-name . "antiword")))
|
||||||
(build-system r-build-system)
|
(build-system r-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
|
@ -38279,21 +38277,18 @@ or into raw bitmap vectors for further processing in R.")
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'use-system-antiword
|
(add-after 'unpack 'use-system-antiword
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(substitute* "R/antiword.R"
|
(substitute* "R/antiword.R"
|
||||||
(("system.file\\(\"bin\", package = \"antiword\"\\)")
|
(("system.file\\(\"bin\", package = \"antiword\"\\)")
|
||||||
(string-append "\"" (assoc-ref inputs "antiword") "/bin\"")))
|
(string-append "\"" (assoc-ref inputs "antiword") "/bin\""))))))))
|
||||||
#t)))))
|
|
||||||
(inputs (list antiword))
|
(inputs (list antiword))
|
||||||
(propagated-inputs (list r-sys))
|
(propagated-inputs (list r-sys))
|
||||||
(home-page
|
(home-page "https://github.com/ropensci/antiword#readme")
|
||||||
"https://github.com/ropensci/antiword#readme")
|
(synopsis "Extract text from Microsoft Word documents")
|
||||||
(synopsis
|
|
||||||
"Extract Text from Microsoft Word Documents")
|
|
||||||
(description
|
(description
|
||||||
"Wraps the @code{AntiWord} utility to extract text from Microsoft Word
|
"This package wraps the @code{AntiWord} utility to extract text from
|
||||||
documents. The utility only supports the old @code{doc} format, not the new
|
Microsoft Word documents. The utility only supports the old @code{doc}
|
||||||
xml based @code{docx} format. Use the @code{xml2} package to read the
|
format, not the new XML based @code{docx} format. Use the @code{xml2} package
|
||||||
latter.")
|
to read the latter.")
|
||||||
(license license:gpl2)))
|
(license license:gpl2)))
|
||||||
|
|
||||||
(define-public r-readtext
|
(define-public r-readtext
|
||||||
|
|
Reference in New Issue