python311Packages.pikepdf: 8.13.0 -> 8.14.0
Diff: https://github.com/pikepdf/pikepdf/compare/v8.13.0...v8.14.0 Changelog: https://github.com/pikepdf/pikepdf/blob/v8.14.0/docs/releasenotes/version8.rst
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pikepdf";
|
||||
version = "8.13.0";
|
||||
version = "8.14.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -39,7 +39,7 @@ buildPythonPackage rec {
|
||||
postFetch = ''
|
||||
rm "$out/.git_archival.txt"
|
||||
'';
|
||||
hash = "sha256-6HCFPHIQ6+SHt4Zu6CZ0R2Ah+jFnztGOCMhQfvR6FxY=";
|
||||
hash = "sha256-3ORvbhO3eLu/NIE0Lwdf93QtUHUmyMf7LmdMBJpkYIg=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
||||
@@ -12,10 +12,10 @@ index da40043f..4f566f01 100644
|
||||
check=True,
|
||||
)
|
||||
diff --git a/src/pikepdf/jbig2.py b/src/pikepdf/jbig2.py
|
||||
index f89b4f90..f187ebdf 100644
|
||||
index 901f3b6f..45551820 100644
|
||||
--- a/src/pikepdf/jbig2.py
|
||||
+++ b/src/pikepdf/jbig2.py
|
||||
@@ -63,7 +63,7 @@ class JBIG2Decoder(JBIG2DecoderInterface):
|
||||
@@ -72,7 +72,7 @@ class JBIG2Decoder(JBIG2DecoderInterface):
|
||||
output_path = Path(tmpdir) / "outfile"
|
||||
|
||||
args = [
|
||||
@@ -24,12 +24,12 @@ index f89b4f90..f187ebdf 100644
|
||||
"--embedded",
|
||||
"--format",
|
||||
"png",
|
||||
@@ -90,7 +90,7 @@ class JBIG2Decoder(JBIG2DecoderInterface):
|
||||
@@ -101,7 +101,7 @@ class JBIG2Decoder(JBIG2DecoderInterface):
|
||||
def _version(self) -> Version:
|
||||
try:
|
||||
proc = self._run(
|
||||
- ['jbig2dec', '--version'], stdout=PIPE, check=True, encoding='ascii'
|
||||
+ ['@jbig2dec@', '--version'], stdout=PIPE, check=True, encoding='ascii'
|
||||
)
|
||||
except (CalledProcessError, FileNotFoundError) as e:
|
||||
raise DependencyError("jbig2dec - not installed or not found") from e
|
||||
- ['jbig2dec', '--version'],
|
||||
+ ['@jbig2dec@', '--version'],
|
||||
stdout=PIPE,
|
||||
check=True,
|
||||
encoding='ascii',
|
||||
|
||||
Reference in New Issue
Block a user