1
Fork 0
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:
Nicolas Graves 2025-05-18 10:16:02 +02:00 committed by Liliana Marie Prikler
parent 335d73e9bf
commit 84dddc5fb8
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -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