python3Packages.pypandoc: 1.7.5 -> 1.8.1
This commit is contained in:
parent
c8dc821a4f
commit
3721bfc5a0
3 changed files with 13 additions and 10 deletions
|
@ -1,14 +1,16 @@
|
|||
{ lib, substituteAll, buildPythonPackage, fetchPypi
|
||||
{ lib, substituteAll, buildPythonPackage, fetchFromGitHub
|
||||
, pandoc, texlive
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pypandoc";
|
||||
version = "1.7.5";
|
||||
version = "1.8.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-gCwmquF7ZBNsbQBpSdjOGDp9TZ+9Ty0FHmb0+59FylA=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "NicklasTegner";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-1vQmONQFJrjptwVVjw25Wyt59loatjScsdnSax+q/f8=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
diff --git a/tests.py b/tests.py
|
||||
index deb50e0..aede281 100755
|
||||
index 704f049..ef68728 100755
|
||||
--- a/tests.py
|
||||
+++ b/tests.py
|
||||
@@ -179,6 +179,7 @@ class TestPypandoc(unittest.TestCase):
|
||||
@@ -225,6 +225,7 @@ class TestPypandoc(unittest.TestCase):
|
||||
received = pypandoc.convert_file(file_url, 'rst')
|
||||
self.assertEqualExceptForNewlineEnd(expected, received)
|
||||
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
diff --git a/pypandoc/__init__.py b/pypandoc/__init__.py
|
||||
index 6d5b79b..65437aa 100644
|
||||
index b8f4e9a..295e182 100644
|
||||
--- a/pypandoc/__init__.py
|
||||
+++ b/pypandoc/__init__.py
|
||||
@@ -582,4 +582,4 @@ def clean_pandocpath_cache():
|
||||
@@ -771,5 +771,5 @@ def clean_pandocpath_cache():
|
||||
__pandoc_path = None
|
||||
|
||||
|
||||
-__version = None
|
||||
+__version = "@pandocVersion@"
|
||||
-__pandoc_path = None
|
||||
+__version = "@pandocVersion@"
|
||||
+__pandoc_path = "@pandoc@"
|
||||
|
|
Loading…
Reference in a new issue