From 79a37a8a71790fdc82f4c3184c93ac1a19deb164 Mon Sep 17 00:00:00 2001 From: Morgan Smith Date: Wed, 11 Jan 2023 14:01:06 -0500 Subject: gnu: rss2email: Update to 3.14. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/mail.scm (rss2email): Update to 3.14. [arguments]: Use gexps. Add install-documentation phase. Signed-off-by: 宋文武 --- gnu/packages/mail.scm | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) (limited to 'gnu/packages/mail.scm') diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 2db1fb3743..80e2ce2a9b 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -4684,7 +4684,7 @@ means--it's all programmable).") (define-public rss2email (package (name "rss2email") - (version "3.13.1") + (version "3.14") (source (origin (method git-fetch) (uri (git-reference @@ -4693,21 +4693,26 @@ means--it's all programmable).") (file-name (git-file-name name version)) (sha256 (base32 - "0g1yr3v3ibdh2jqil64fbdbplx5m2yzxr893fqfkwcc5c7fbwl4d")))) + "0rmcwvf8whf49qq5rgp5hhmhfjli1vhjlc7fjhj24gyy1kkjir2k")))) (build-system python-build-system) (arguments - '(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (with-directory-excursion "test" - ;; Skip networking tests - (substitute* "test.py" - (("( *)class (:?TestSend|TestFetch).*" match indent) - (string-append indent "@unittest.skip(\"Networking stuff skipped\")\n" - indent match))) - (invoke "python" "-m" "unittest")))))))) + (list + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (with-directory-excursion "test" + ;; Skip networking tests + (substitute* "test.py" + (("( *)class (:?TestSend|TestFetch).*" match indent) + (string-append indent + "@unittest.skip(\"Networking stuff skipped\")\n" + indent match))) + (invoke "python" "-m" "unittest"))))) + (add-after 'install 'install-documentation + (lambda _ + (install-file "r2e.1" (string-append #$output "share/man/man1"))))))) (inputs (list python-feedparser python-html2text)) (home-page "https://github.com/rss2email/rss2email") -- cgit v1.2.3