mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00: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")
|
(name "emacs-webfeeder")
|
||||||
(version "1.1.2")
|
(version "1.1.2")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append
|
(uri (string-append
|
||||||
"https://elpa.gnu.org/packages/webfeeder-"
|
"https://elpa.gnu.org/packages/webfeeder-" version ".tar"))
|
||||||
version
|
(sha256
|
||||||
".tar"))
|
(base32 "1l128q424qsq9jv2wk8cv4zli71rk34q5kgwa9axdz0d27p9l6v4"))
|
||||||
(sha256
|
;; Reset some timestamps for testdata.
|
||||||
(base32
|
(modules '((guix build utils)))
|
||||||
"1l128q424qsq9jv2wk8cv4zli71rk34q5kgwa9axdz0d27p9l6v4"))))
|
(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)
|
(build-system emacs-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:emacs ,emacs)) ;tests require libxml
|
||||||
(home-page "https://gitlab.com/Ambrevar/emacs-webfeeder")
|
(home-page "https://gitlab.com/Ambrevar/emacs-webfeeder")
|
||||||
(synopsis "Build RSS and Atom webfeeds from HTML files")
|
(synopsis "Build RSS and Atom webfeeds from HTML files")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue