mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-16 20:10:39 +02:00
gnu: emacs-webfeeder: Fix tests.
* gnu/packages/emacs-xyz.scm (emacs-webfeeder) [source]<snippet>: Reset timestamps for testdata. [arguments]<emacs>: Use emacs to ensure libxml is available. Signed-off-by: Ian Eure <ian@retrospec.tv>
This commit is contained in:
parent
335d73e9bf
commit
84dddc5fb8
1 changed files with 20 additions and 9 deletions
|
@ -37040,16 +37040,27 @@ and article extracts for Wikipedia.")
|
|||
(name "emacs-webfeeder")
|
||||
(version "1.1.2")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"https://elpa.gnu.org/packages/webfeeder-"
|
||||
version
|
||||
".tar"))
|
||||
(sha256
|
||||
(base32
|
||||
"1l128q424qsq9jv2wk8cv4zli71rk34q5kgwa9axdz0d27p9l6v4"))))
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"https://elpa.gnu.org/packages/webfeeder-" version ".tar"))
|
||||
(sha256
|
||||
(base32 "1l128q424qsq9jv2wk8cv4zli71rk34q5kgwa9axdz0d27p9l6v4"))
|
||||
;; Reset some timestamps for testdata.
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
#~(substitute* (find-files "testdata")
|
||||
(("01:00:00 \\+0100")
|
||||
"00:00:00 +0000")
|
||||
(("01:00:00\\+01:00")
|
||||
"00:00:00+00:00")
|
||||
(("\\+0100")
|
||||
"+0000")
|
||||
(("\\+01:00")
|
||||
"+00:00")))))
|
||||
(build-system emacs-build-system)
|
||||
(arguments
|
||||
`(#:emacs ,emacs)) ;tests require libxml
|
||||
(home-page "https://gitlab.com/Ambrevar/emacs-webfeeder")
|
||||
(synopsis "Build RSS and Atom webfeeds from HTML files")
|
||||
(description
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue