mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
fix(ocrmypdf)
update libxml2 dep; convert to `bkpyvenv` closes #4703 closes #4587 closes #4524 closes #4520
This commit is contained in:
parent
e910345810
commit
72c63f9e96
1 changed files with 8 additions and 5 deletions
|
@ -10,19 +10,22 @@ versions:
|
||||||
# - linux/x86-64
|
# - linux/x86-64
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
python.org: ~3.11
|
pkgx.sh: ^1
|
||||||
qpdf.sourceforge.io: ^11
|
qpdf.sourceforge.io: ^11
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
python.org: ~3.11
|
||||||
openjpeg.org: '*'
|
openjpeg.org: '*'
|
||||||
gnome.org/libxml2: ~2.11
|
gnome.org/libxml2: ~2.12
|
||||||
gnome.org/libxslt: '*'
|
gnome.org/libxslt: '*'
|
||||||
script:
|
script:
|
||||||
- python-venv.sh {{prefix}}/bin/ocrmypdf
|
- bkpyvenv stage {{prefix}} {{version}}
|
||||||
- source <("{{prefix}}"/venv/bin/activate)
|
- ${{prefix}}/venv/bin/pip install .
|
||||||
# pikepdf libs are compiled for MACOSX_DEPLOYMENT_TARGET=12.0
|
# 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:
|
env:
|
||||||
# add any environment variables here
|
# add any environment variables here
|
||||||
ARGS:
|
ARGS:
|
||||||
|
|
Loading…
Reference in a new issue