Commit 98aae7c0 authored by Robert Schütz's avatar Robert Schütz
Browse files
parent dc25d174
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
+5 −5
Original line number Diff line number Diff line
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