mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
Combine 2 into 1
+ocrmypdf remove foo.com from the test key
This commit is contained in:
parent
a2e48f99b5
commit
f37e1ab564
1 changed files with 30 additions and 0 deletions
30
projects/github.com/ocrmypdf/OCRmyPDF/package.yml
Normal file
30
projects/github.com/ocrmypdf/OCRmyPDF/package.yml
Normal file
|
@ -0,0 +1,30 @@
|
|||
distributable:
|
||||
url: https://github.com/ocrmypdf/OCRmyPDF/archive/refs/tags/v{{version}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
github: ocrmypdf/OCRmyPDF
|
||||
|
||||
platforms:
|
||||
- darwin
|
||||
- linux/x86-64
|
||||
|
||||
dependencies:
|
||||
python.org: ^3.11
|
||||
|
||||
build:
|
||||
script: |
|
||||
python-venv.sh {{prefix}}/bin/ocrmypdf
|
||||
env:
|
||||
# add any environment variables here
|
||||
ARGS:
|
||||
- --prefix="{{prefix}}"
|
||||
|
||||
|
||||
provides:
|
||||
- bin/ocrmypdf
|
||||
|
||||
test:
|
||||
script:
|
||||
test "$(ocrmypdf --version)" = {{version}}
|
||||
|
Loading…
Reference in a new issue