[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch core-updates updated: gnu: cmark: Fix test failure with Python 3.
From: |
guix-commits |
Subject: |
branch core-updates updated: gnu: cmark: Fix test failure with Python 3.8. |
Date: |
Mon, 04 May 2020 18:37:28 -0400 |
This is an automated email from the git hooks/post-receive script.
mbakke pushed a commit to branch core-updates
in repository guix.
The following commit(s) were added to refs/heads/core-updates by this push:
new 4927934 gnu: cmark: Fix test failure with Python 3.8.
4927934 is described below
commit 49279343acb25ec93cbb33649d7126b3757e228f
Author: Marius Bakke <address@hidden>
AuthorDate: Tue May 5 00:36:39 2020 +0200
gnu: cmark: Fix test failure with Python 3.8.
* gnu/packages/markup.scm (cmark)[source](modules, snippet): New fields.
---
gnu/packages/markup.scm | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/markup.scm b/gnu/packages/markup.scm
index c1fc71b..240bb9e 100644
--- a/gnu/packages/markup.scm
+++ b/gnu/packages/markup.scm
@@ -4,6 +4,7 @@
;;; Copyright © 2016, 2019 Efraim Flashner <address@hidden>
;;; Copyright © 2017 ng0 <address@hidden>
;;; Copyright © 2017, 2018, 2019 Tobias Geerinckx-Rice <address@hidden>
+;;; Copyright © 2020 Marius Bakke <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -205,7 +206,16 @@ implementation.
(file-name (git-file-name name version))
(sha256
(base32
- "0r7jpqhgnssq444i8pwji2g36058vfzwkl70wbiwj13h4w5rfc8f"))))
+ "0r7jpqhgnssq444i8pwji2g36058vfzwkl70wbiwj13h4w5rfc8f"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; Mimic upstream commit 68c3a91166347 to fix a test failure
+ ;; when using Python 3.8. Remove for versions > 0.29.
+ ;; See <https://github.com/commonmark/cmark/issues/313>.
+ (substitute* "test/normalize.py"
+ (("cgi") "html"))
+ #t))))
(build-system cmake-build-system)
(arguments
'(#:test-target "test"))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch core-updates updated: gnu: cmark: Fix test failure with Python 3.8.,
guix-commits <=