diff options
author | Patrick Northon | 2022-06-23 05:54:30 -0400 |
---|---|---|
committer | Patrick Northon | 2022-06-23 05:54:30 -0400 |
commit | 40c69c6d067dd98509ef376f330f70cbf18531e1 (patch) | |
tree | f392973b57376868d4fcc5fe6b2a60d0b9facc6a | |
parent | 27cc54f9c80ac66c1ddf6c09fc724bbf04299c57 (diff) | |
download | aur-40c69c6d067dd98509ef376f330f70cbf18531e1.tar.gz |
Update dependencies.
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 2 insertions, 9 deletions
@@ -6,10 +6,9 @@ pkgbase = ocropy-git arch = any license = APACHE makedepends = git - depends = python2-imaging + depends = python2-pillow depends = python2-scipy depends = python2-matplotlib - depends = python2-pytables depends = imagemagick depends = opencv depends = python2-lxml @@ -9,7 +9,7 @@ pkgdesc="Python-based OCR package using recurrent neural networks (formerly ocro arch=('any') url="https://github.com/ocropus/${_pkgname}" license=('APACHE') -depends=('python2-imaging' 'python2-scipy' 'python2-matplotlib' 'python2-pytables' +depends=('python2-pillow' 'python2-scipy' 'python2-matplotlib' 'imagemagick' 'opencv' 'python2-lxml') makedepends=('git') provides=("${_pkgname}") @@ -27,12 +27,6 @@ pkgver() { prepare() { cd "$srcdir/${_pkgname}" cp "$srcdir/en-default.pyrnn.gz" models - - #sed -i 's|numpy.fromstring|numpy.frombytes|' ocrolib/common.py - #sed -i 's|tostring|tobytes|' ocrolib/common.py - #sed -i 's|im.tobytes()|im.tostring()|' 'ocrolib/common.py' - #sed -i 's|PIL\.Image\.fromstring|PIL\.Image\.frombytes|' 'ocrolib/common.py' - sed -i 's|tobytes|tostring|' ocrolib/common.py } build() { |