From 72c63f9e966c2ac08ad40127fd3c59aa93a9dafa Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Thu, 4 Jan 2024 14:19:36 -0500 Subject: [PATCH] fix(ocrmypdf) update libxml2 dep; convert to `bkpyvenv` closes #4703 closes #4587 closes #4524 closes #4520 --- projects/github.com/ocrmypdf/OCRmyPDF/package.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/projects/github.com/ocrmypdf/OCRmyPDF/package.yml b/projects/github.com/ocrmypdf/OCRmyPDF/package.yml index f5f90b4c..a545dad5 100644 --- a/projects/github.com/ocrmypdf/OCRmyPDF/package.yml +++ b/projects/github.com/ocrmypdf/OCRmyPDF/package.yml @@ -10,19 +10,22 @@ versions: # - linux/x86-64 dependencies: - python.org: ~3.11 + pkgx.sh: ^1 qpdf.sourceforge.io: ^11 build: dependencies: + python.org: ~3.11 openjpeg.org: '*' - gnome.org/libxml2: ~2.11 + gnome.org/libxml2: ~2.12 gnome.org/libxslt: '*' script: - - python-venv.sh {{prefix}}/bin/ocrmypdf - - source <("{{prefix}}"/venv/bin/activate) + - bkpyvenv stage {{prefix}} {{version}} + - ${{prefix}}/venv/bin/pip install . # pikepdf libs are compiled for MACOSX_DEPLOYMENT_TARGET=12.0 - - 'pip install --no-cache-dir --force-reinstall --no-binary :all: pikepdf' + - run: '{{prefix}}/venv/bin/pip install --no-cache-dir --force-reinstall --no-binary :all: pikepdf' + if: darwin + - bkpyvenv seal {{prefix}} ocrmypdf env: # add any environment variables here ARGS: