Commit da8d534c authored by Julien Muchembled's avatar Julien Muchembled

ocropy: make [ocropy-eng-traineddata] shared

parent 191256c5
...@@ -13,14 +13,14 @@ extends = ...@@ -13,14 +13,14 @@ extends =
parts = ocropy parts = ocropy
[ocropy-eng-traineddata] [ocropy-eng-traineddata]
recipe = hexagonit.recipe.download recipe = slapos.recipe.build:download
shared = true
filename = en-default.pyrnn.gz filename = en-default.pyrnn.gz
md5sum = cedd140c7d7650e910f0550ad0f04727 md5sum = cedd140c7d7650e910f0550ad0f04727
download-only = true url = https://raw.githubusercontent.com/zuphilip/ocropy-models/master/${:filename}
url = https://raw.githubusercontent.com/zuphilip/ocropy-models/master/en-default.pyrnn.gz
[ocropy-env] [ocropy-env]
OCROPY_MODEL_PATH = ${ocropy-eng-traineddata:location}/${ocropy-eng-traineddata:filename} OCROPY_MODEL_PATH = ${ocropy-eng-traineddata:target}
HOME = ${ocropy:egg} HOME = ${ocropy:egg}
[ocropy] [ocropy]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment