Logo
Explore Help
Sign In
public/nixpkgs
1
0
Fork 0
You've already forked nixpkgs
Code Issues Pull Requests Packages Projects Releases Wiki Activity
nixpkgs/pkgs/development/python-modules/pypandoc/static-pandoc-path.patch

11 lines
263 B
Diff
Raw Normal View History

python3Packages.pypandoc: vendor patches, test w/o pandoc-citeproc * Translate all seds in postPatch into patches (for setting the static path and skipping the test that needs network access) * The patch for the changed pandoc heading generation was simplified: Since we know our pandoc version is always that new, we can skip the version check. * Skip the test for pandoc-citeproc: pandoc-citeproc has been deprecated in favor of pandoc --citeproc by the upstream pandoc developer. pypandoc's testsuite doesn't reflect this yet (although it should support --citeproc theoretically) to avoid depending on pandoc-citeproc for the checkPhase (as we expect it to break again or continue to be broken) we skip the test requiring pandoc-citeproc. The breakage of pypandoc due to pandoc-citeproc was pointed out here: https://github.com/NixOS/nixpkgs/pull/116635#issuecomment-809258707 Thank you!
2021-03-29 15:40:30 +02:00
diff --git a/pypandoc/__init__.py b/pypandoc/__init__.py
index 6d5b79b..65437aa 100644
--- a/pypandoc/__init__.py
+++ b/pypandoc/__init__.py
@@ -582,4 +582,4 @@ def clean_pandocpath_cache():
__version = None
-__pandoc_path = None
+__pandoc_path = "@pandoc@"
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 396ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API