about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGabriel Ebner <gebner@gebner.org>2019-06-01 12:47:36 +0200
committerGabriel Ebner <gebner@gebner.org>2019-06-01 12:57:07 +0200
commit09beefdfbfc0576a4a91ba723bc8111a9bccd76b (patch)
tree40f63be34dc46dd6477c724fa849c6c025696c63
parent366985e2a742dd6e975eb6499f8fdc0ffed9208c (diff)
downloadnixlib-09beefdfbfc0576a4a91ba723bc8111a9bccd76b.tar
nixlib-09beefdfbfc0576a4a91ba723bc8111a9bccd76b.tar.gz
nixlib-09beefdfbfc0576a4a91ba723bc8111a9bccd76b.tar.bz2
nixlib-09beefdfbfc0576a4a91ba723bc8111a9bccd76b.tar.lz
nixlib-09beefdfbfc0576a4a91ba723bc8111a9bccd76b.tar.xz
nixlib-09beefdfbfc0576a4a91ba723bc8111a9bccd76b.tar.zst
nixlib-09beefdfbfc0576a4a91ba723bc8111a9bccd76b.zip
pythonPackages.pelican: fix build
-rw-r--r--pkgs/development/python-modules/pelican/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pelican/default.nix b/pkgs/development/python-modules/pelican/default.nix
index 19d9b7853495..ee38d5a7a84c 100644
--- a/pkgs/development/python-modules/pelican/default.nix
+++ b/pkgs/development/python-modules/pelican/default.nix
@@ -42,6 +42,11 @@ buildPythonPackage rec {
   postPatch= ''
     substituteInPlace pelican/tests/test_pelican.py \
       --replace "'git'" "'${git}/bin/git'"
+
+    # Markdown-3.1 changed footnote separator to colon
+    # https://github.com/getpelican/pelican/issues/2493#issuecomment-491723744
+    sed -i '/test_article_with_footnote/i\
+        @unittest.skip("")' pelican/tests/test_readers.py
   '';
 
   LC_ALL="en_US.UTF-8";