me
/
guix
Archived
1
0
Fork 0

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: I0cffbda247dd57462f89c20a94773f871a029b60
master
Ricardo Wurmus 2024-01-23 08:22:36 +01:00
parent 6f6cfb8365
commit f0d8d59807
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 20 additions and 25 deletions

View File

@ -38258,20 +38258,18 @@ or into raw bitmap vectors for further processing in R.")
(define-public r-antiword
(package
(name "r-antiword")
(version "1.3.1")
(version "1.3.2")
(source
(origin
(method url-fetch)
(uri (cran-uri "antiword" version))
(sha256
(base32
"123v8zlczwh6fr1v3x7dl3885xlmddq1bqlcxih8zh07w0hlk1k2"))
"1z1xfr2pb1k1k2v65l4bby4smkqg20i22jkvqzw4y2487gndx4cx"))
(modules '((guix build utils)))
(snippet
'(begin
;; unvendor libantiword
(delete-file-recursively "src")
#t))))
(snippet
'(delete-file-recursively "src"))))
(properties `((upstream-name . "antiword")))
(build-system r-build-system)
(arguments
@ -38281,19 +38279,16 @@ or into raw bitmap vectors for further processing in R.")
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "R/antiword.R"
(("system.file\\(\"bin\", package = \"antiword\"\\)")
(string-append "\"" (assoc-ref inputs "antiword") "/bin\"")))
#t)))))
(string-append "\"" (assoc-ref inputs "antiword") "/bin\""))))))))
(inputs (list antiword))
(propagated-inputs (list r-sys))
(home-page
"https://github.com/ropensci/antiword#readme")
(synopsis
"Extract Text from Microsoft Word Documents")
(home-page "https://github.com/ropensci/antiword#readme")
(synopsis "Extract text from Microsoft Word documents")
(description
"Wraps the @code{AntiWord} utility to extract text from Microsoft Word
documents. The utility only supports the old @code{doc} format, not the new
xml based @code{docx} format. Use the @code{xml2} package to read the
latter.")
"This package wraps the @code{AntiWord} utility to extract text from
Microsoft Word documents. The utility only supports the old @code{doc}
format, not the new XML based @code{docx} format. Use the @code{xml2} package
to read the latter.")
(license license:gpl2)))
(define-public r-readtext