python311Packages.ocrmypdf: 15.4.0 -> 15.4.3
Diff: https://github.com/ocrmypdf/OCRmyPDF/compare/v15.4.0...v15.4.3 Changelog: https://github.com/ocrmypdf/OCRmyPDF/blob/v15.4.3/docs/release_notes.rst
This commit is contained in:
parent
dc25d1744f
commit
98aae7c031
2 changed files with 7 additions and 7 deletions
|
@ -31,7 +31,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "ocrmypdf";
|
||||
version = "15.4.0";
|
||||
version = "15.4.3";
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
|
@ -47,7 +47,7 @@ buildPythonPackage rec {
|
|||
postFetch = ''
|
||||
rm "$out/.git_archival.txt"
|
||||
'';
|
||||
hash = "sha256-cbKqisaRAeT8ljANbYiUDrptAoQmmIkMu1ya8O6nXvQ=";
|
||||
hash = "sha256-mMop5BpODzorRgvGbpHCR80uKYT/CE2VEX8RF4Dh1hw=";
|
||||
};
|
||||
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
diff --git a/src/ocrmypdf/_exec/ghostscript.py b/src/ocrmypdf/_exec/ghostscript.py
|
||||
index 92b73a0a..9f04555c 100644
|
||||
index 94eec244..4bb15db9 100644
|
||||
--- a/src/ocrmypdf/_exec/ghostscript.py
|
||||
+++ b/src/ocrmypdf/_exec/ghostscript.py
|
||||
@@ -58,7 +58,7 @@ log.addFilter(DuplicateFilter(log))
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ COLOR_CONVERSION_STRATEGIES = frozenset(
|
||||
]
|
||||
)
|
||||
# Ghostscript executable - gswin32c is not supported
|
||||
-GS = 'gswin64c' if os.name == 'nt' else 'gs'
|
||||
+GS = '@gs@'
|
||||
|
||||
|
||||
def version() -> Version:
|
||||
log = logging.getLogger(__name__)
|
||||
diff --git a/src/ocrmypdf/_exec/jbig2enc.py b/src/ocrmypdf/_exec/jbig2enc.py
|
||||
index 5a34a95a..5ee1b333 100644
|
||||
--- a/src/ocrmypdf/_exec/jbig2enc.py
|
||||
|
|
Loading…
Reference in a new issue